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