wok-current view vlc/receipt @ rev 3835
Add: stoqlib (0.9.10)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Aug 07 00:03:35 2009 +0000 (2009-08-07) |
parents | b1826c18dfed |
children | 9fc3ddc15b30 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="0.9.9a"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG, VCD/DVD, and DivX player"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libmad libxml2 ffmpeg libdvdread libcddb libproxy taglib \
9 libQtCore libQtGui alsa-lib hal dbus \
10 fribidi speex libraw1394 libmodplug flac \
11 libmpeg2 libnotify libsdl-image libvorbis libgl libglu sysfsutils xorg-libXv"
12 BUILD_DEPENDS="libmad-dev libxml2-dev ffmpeg-dev libdvdread-dev libcddb-dev taglib-dev libproxy-dev Qt4-dev \
13 hal-dev dbus-dev alsa-lib-dev libgcrypt-dev libproxy expat-dev xorg-dev-proto zlib-dev \
14 taglib fribidi fribidi-dev speex speex-dev libraw1394 libraw1394-dev libmodplug libmodplug-dev flac flac-dev \
15 libmpeg2 libmpeg2-dev libogg-dev"
16 TARBALL="$PACKAGE-$VERSION.tar.bz2"
17 WEB_SITE="http://www.videolan.org/vlc/"
18 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
20 # Rules to configure and make the package.
21 # Use --enable-ffmpeg to build against shared ffmpeg
22 compile_rules()
23 {
24 cd $src
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
26 ./configure --prefix=/usr --enable-hal --enable-dbus --enable-dbus-control --disable-rpath --enable-release \
27 --enable-shared \
28 --enable-dvdread \
29 --enable-qt4 \
30 --enable-alsa --enable-taglib --enable-ogg \
31 --disable-lua --disable-live555 --disable-shout \
32 --disable-dvdnav --disable-fluidsynth --disable-a52 \
33 --disable-smb --disable-gnomevfs --disable-glx \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$PWD/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
46 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib/
47 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
48 #Remove extra icons
49 rm $fs/usr/share/$PACKAGE/*.png
50 rm $fs/usr/share/$PACKAGE/*.xpm
51 rm $fs/usr/share/$PACKAGE/*.ico
52 #copy vlc icon
53 cp -a $_pkg/usr/share/$PACKAGE/vlc16x16.png $fs/usr/share/pixmaps
54 mv $fs/usr/share/pixmaps/vlc16x16.png $fs/usr/share/pixmaps/vlc.png
55 # Remove libtool archives
56 rm $fs/usr/lib/$PACKAGE/*/*.la
57 #Remove unnecessary fonts
58 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
60 }