wok-6.x diff vlc/receipt @ rev 2944
Add: vlc media player
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 07 22:19:59 2009 +0000 (2009-05-07) |
parents | |
children | d24854ec2ce1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vlc/receipt Thu May 07 22:19:59 2009 +0000 1.3 @@ -0,0 +1,57 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="vlc" 1.7 +VERSION="0.9.9a" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="MPEG, VCD/DVD, and DivX player" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="libmad libxml2 ffmpeg libdvdread libcddb libproxy taglib libQtCore libQtGui alsa-lib hal dbus \ 1.12 +taglib fribidi speex libraw1394 libmodplug flac" 1.13 +BUILD_DEPENDS="libmad-dev libxml2-dev ffmpeg-dev libdvdread-dev libcddb-dev taglib-dev libproxy-dev Qt4-dev \ 1.14 +libiconv-dev libiconv hal-dev dbus-dev alsa-lib-dev libgcrypt-dev libproxy expat-dev xorg-dev-proto zlib-dev \ 1.15 +taglib fribidi fribidi-dev speex speex-dev libraw1394 libraw1394-dev libmodplug libmodplug-dev flac flac-dev \ 1.16 +libmpeg2 libmpeg2-dev libogg-dev" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 +WEB_SITE="http://www.videolan.org/vlc/" 1.19 +WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + sed -i -e 's:/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf:' modules/misc/freetype.c 1.26 + ./configure --prefix=/usr --enable-hal --enable-dbus --enable-dbus-control --disable-rpath --enable-release \ 1.27 + --enable-shared \ 1.28 + --enable-dvdread \ 1.29 + --enable-qt4 \ 1.30 + --enable-alsa --enable-taglib --enable-ogg --enable-ffmpeg \ 1.31 + --disable-lua --disable-live555 --disable-shout \ 1.32 + --disable-dvdnav --disable-fluidsynth --disable-a52 \ 1.33 + --disable-smb --disable-gnomevfs --disable-glx \ 1.34 + $CONFIGURE_ARGS && 1.35 + make && 1.36 + make DESTDIR=$PWD/_pkg install 1.37 + 1.38 +} 1.39 + 1.40 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 +genpkg_rules() 1.42 +{ 1.43 + mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps 1.44 + cp -a $_pkg/usr/bin $fs/usr 1.45 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ 1.46 + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib/ 1.47 + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.48 + #Remove extra icons 1.49 + rm $fs/usr/share/$PACKAGE/*.png 1.50 + rm $fs/usr/share/$PACKAGE/*.xpm 1.51 + rm $fs/usr/share/$PACKAGE/*.ico 1.52 + #copy vlc icon 1.53 + cp -a $_pkg/usr/share/$PACKAGE/vlc16x16.png $fs/usr/share/pixmaps 1.54 + mv $fs/usr/share/pixmaps/vlc16x16.png $fs/usr/share/pixmaps/vlc.png 1.55 + # Remove libtool archives 1.56 + rm $fs/usr/lib/$PACKAGE/*/*.la 1.57 + #Remove unnecessary fonts 1.58 + rm $fs/usr/share/$PACKAGE/skins2/fonts/* 1.59 + 1.60 +}