wok-current view vlc/receipt @ rev 4611
add ln to coreutils-operations
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Dec 16 19:25:37 2009 +0000 (2009-12-16) |
parents | 861d7d713cfa |
children | 248448d3560d |
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="libvlc 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/share $fs/usr/share/pixmaps
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
46 #Remove extra icons
47 rm $fs/usr/share/$PACKAGE/*.png
48 rm $fs/usr/share/$PACKAGE/*.xpm
49 rm $fs/usr/share/$PACKAGE/*.ico
50 #copy vlc icon
51 cp -a $_pkg/usr/share/$PACKAGE/vlc16x16.png $fs/usr/share/pixmaps
52 mv $fs/usr/share/pixmaps/vlc16x16.png $fs/usr/share/pixmaps/vlc.png
53 #Remove unnecessary fonts
54 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
56 }