wok-current annotate vlc/receipt @ rev 14987

Up: thunderbird-langpack-zh_TW (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:18 2013 +0200 (2013-08-08)
parents ba11b12589c9
children 380ffe05937a
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"
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 \
pascal@13898 14 libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-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
pascal@13863 20 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
domcox@12849 21 ./configure \
domcox@12849 22 --prefix=/usr \
domcox@12849 23 --disable-pulse \
domcox@12849 24 --disable-a52 \
domcox@12849 25 --disable-glx \
domcox@12849 26 --disable-portaudio \
domcox@12849 27 --disable-sout \
domcox@12849 28 --disable-httpd \
domcox@12849 29 --disable-libgcrypt \
slaxemulator@10101 30 $CONFIGURE_ARGS &&
jozee@2944 31 make &&
slaxemulator@9842 32 make install
pascal@13862 33 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
jozee@2944 34 }
jozee@2944 35
jozee@2944 36 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2944 37 genpkg_rules()
jozee@2944 38 {
pascal@4617 39 mkdir -p $fs/usr/share/pixmaps
pascal@13862 40 cp -a $install/usr/bin $fs/usr
pascal@13862 41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
domcox@12849 42 #Remove extra icons
jozee@2944 43 rm $fs/usr/share/$PACKAGE/*.ico
jozee@2944 44 #copy vlc icon
pascal@13862 45 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
jozee@2944 46 #Remove unnecessary fonts
jozee@2944 47 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
jozee@2944 48 }