wok-stable view vlc/receipt @ rev 5365

Up: xorg-xf86-video-geode (2.11.6) - I added xorg-server-dev to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 29 10:10:27 2010 +0000 (2010-04-29)
parents 30f4e3eb73ed
children 49935c37597c 0be5201ab431
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="1.0.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG, VCD/DVD, and DivX player"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libvlc libmad libxml2 ffmpeg-svn libdvdread libcddb libproxy taglib \
9 libQtCore libQtGui alsa-lib hal dbus \
10 fribidi speex libraw1394 libmodplug flac libavc1394 libupnp \
11 libmpeg2 libnotify libsdl-image libvorbis libgl libglu sysfsutils xorg-libXvfaad2 glibc-locale"
12 BUILD_DEPENDS="libmad-dev libxml2-dev ffmpeg-svn-dev libavc1394-dev libdvdread-dev libcddb-dev taglib-dev libproxy-dev Qt4-dev \
13 hal-dev dbus-dev alsa-lib-dev libgcrypt-dev libupnp-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 faad2 faad2-dev glibc-locale util-linux-ng-uuid-dev libsdl-image xorg-libXv-dev "
16 SUGGESTED="libvlc libvlc-dev"
17 TARBALL="$PACKAGE-$VERSION.tar.bz2"
18 WEB_SITE="http://www.videolan.org/vlc/"
19 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
20 TAGS="audio video multimedia movie player"
22 # Rules to configure and make the package.
23 # Use --enable-ffmpeg to build against shared ffmpeg
24 compile_rules()
25 {
26 cd $src
27 # Be busybox comptible...
28 sed -i 's/wc -m/wc -c/' configure*
29 sed -i 's/ImgReSampleContext/void/' modules/video_filter/imgresample.c
30 sed -i -e 's:/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf:' modules/misc/freetype.c
31 ./configure --prefix=/usr --enable-hal --enable-dbus \
32 --enable-dbus-control --disable-rpath --enable-release \
33 --enable-shared \
34 --enable-dvdread \
35 --enable-qt4 \
36 --enable-alsa --enable-taglib --enable-ogg --enable-faad \
37 --disable-lua --disable-live555 --disable-shout \
38 --disable-dvdnav --disable-fluidsynth --disable-a52 \
39 --disable-smb --disable-gnomevfs --disable-glx \
40 --disable-swscale \
41 $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$PWD/_pkg install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share/pixmaps
50 cp -a $_pkg/usr/bin $fs/usr
51 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
52 #Remove extra icons
53 rm $fs/usr/share/$PACKAGE/*.png
54 rm $fs/usr/share/$PACKAGE/*.xpm
55 rm $fs/usr/share/$PACKAGE/*.ico
56 #copy vlc icon
57 cp -a $_pkg/usr/share/$PACKAGE/vlc16x16.png $fs/usr/share/pixmaps
58 mv $fs/usr/share/pixmaps/vlc16x16.png $fs/usr/share/pixmaps/vlc.png
59 #Remove unnecessary fonts
60 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
62 }