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