wok-4.x annotate vlc/receipt @ rev 5346

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