wok-current view vlc/receipt @ rev 15256

turnserver, mcrypt, cyrus-sasl: remove some error triggers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 24 09:41:08 2013 +0000 (2013-09-24)
parents a486220a9fec
children b67414949731
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.0.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG, VCD/DVD, and DivX player"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.videolan.org/vlc/"
11 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="audio video multimedia movie player"
14 DEPENDS="libQtCore libQtGui libvlc"
15 BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
16 libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-dev"
18 compile_rules()
19 {
20 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
21 cd $src
22 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
23 ./configure \
24 --prefix=/usr \
25 --disable-pulse \
26 --disable-a52 \
27 --disable-glx \
28 --disable-portaudio \
29 --disable-sout \
30 --disable-httpd \
31 --disable-libgcrypt \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/pixmaps
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 #Remove extra icons
45 rm $fs/usr/share/$PACKAGE/*.ico
46 #copy vlc icon
47 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
48 #Remove unnecessary fonts
49 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
50 }