wok-next rev 12849

Up: vlc (2.0.1)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:01:53 2012 +0200 (2012-05-23)
parents 6b4a3a3d3dbb
children deda49b1a8ba
files vlc/receipt
line diff
     1.1 --- a/vlc/receipt	Wed May 23 13:01:12 2012 +0200
     1.2 +++ b/vlc/receipt	Wed May 23 13:01:53 2012 +0200
     1.3 @@ -1,49 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="vlc"
     1.7 -VERSION="1.1.13"
     1.8 +VERSION="2.0.1"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="MPEG, VCD/DVD, and DivX player"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 -WEB_SITE="http://www.videolan.org/vlc/" 
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15 +WEB_SITE="http://www.videolan.org/vlc/"
    1.16  WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
    1.17  TAGS="audio video multimedia movie player"
    1.18 +DEPENDS="libQtCore libQtGui libvlc"
    1.19 +BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
    1.20 +libmad-dev lua-dev tar xcb-util-dev yasm expat-dev"
    1.21  
    1.22 -DEPENDS="libvlc libmad libxml2 ffmpeg libdvdread libcddb libproxy taglib \
    1.23 -libQtCore libQtGui alsa-lib hal dbus fribidi speex libraw1394 libmodplug \
    1.24 -flac libavc1394 libmpeg2 libnotify libsdl-image libvorbis mesa \
    1.25 -libglu-mesa sysfsutils zvbi libass xorg-libXv faad2 glibc-locale \
    1.26 -jack-audio-connection-kit"
    1.27 -BUILD_DEPENDS="libmtp-dev librsvg-dev Qt4-dev libgcrypt-dev expat \
    1.28 -expat-dev xorg-dev-proto zlib zlib-dev libogg libogg-dev \
    1.29 -util-linux-uuid-dev pkg-config libxcb-dev dbus-dev \
    1.30 -libdvdread-dev libmad-dev ffmpeg-dev faad2-dev fribidi-dev portaudio-dev \
    1.31 -alsa-lib-dev libcroco-dev jack-audio-connection-kit-dev tar pango-dev \
    1.32 -libxml2-dev"
    1.33 -
    1.34 -# Rules to configure and make the package.
    1.35 -# Use --enable-ffmpeg to build against shared ffmpeg
    1.36  compile_rules()
    1.37  {
    1.38 +	[ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
    1.39  	cd $src
    1.40 -	[ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
    1.41 -	# Be busybox comptible...
    1.42 -	sed -i 's/wc -m/wc -c/' configure*
    1.43 -	#sed -i 's/ImgReSampleContext/void/' modules/video_filter/imgresample.c
    1.44 -	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.45 -	grep -qs 'define u8' src/interface/intf_eject.c ||
    1.46 -	sed -i 's|# *include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.47 -		src/interface/intf_eject.c
    1.48 -	./configure --prefix=/usr --enable-hal --enable-dbus \
    1.49 -		--enable-dbus-control --disable-rpath --enable-release \
    1.50 -		--enable-shared \
    1.51 -	        --enable-dvdread \
    1.52 -		--enable-qt4  \
    1.53 -		--enable-alsa --enable-taglib --enable-ogg --enable-faad \
    1.54 -		--disable-lua --disable-live555   --disable-shout  \
    1.55 -		--disable-dvdnav --disable-fluidsynth --disable-a52 \
    1.56 -		--disable-smb --disable-gnomevfs --disable-glx --disable-upnp \
    1.57 +	./configure \
    1.58 +		--prefix=/usr \
    1.59 +		--disable-pulse \
    1.60 +		--disable-a52 \
    1.61 +		--disable-glx \
    1.62 +		--disable-portaudio \
    1.63 +		--disable-sout \
    1.64 +		--disable-httpd \
    1.65 +		--disable-libgcrypt \
    1.66  		$CONFIGURE_ARGS &&
    1.67  	make &&
    1.68  	make install
    1.69 @@ -55,13 +37,10 @@
    1.70  	mkdir -p $fs/usr/share/pixmaps
    1.71  	cp -a $_pkg/usr/bin $fs/usr
    1.72  	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.73 -	#Remove extra icons	
    1.74 -	#rm $fs/usr/share/$PACKAGE/*.png
    1.75 -	#rm $fs/usr/share/$PACKAGE/*.xpm
    1.76 +	#Remove extra icons
    1.77  	rm $fs/usr/share/$PACKAGE/*.ico
    1.78  	#copy vlc icon
    1.79  	cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
    1.80  	#Remove unnecessary fonts
    1.81  	rm $fs/usr/share/$PACKAGE/skins2/fonts/*
    1.82 -
    1.83  }