wok rev 4519

xine: dont use external ffmpeg
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 27 17:10:14 2009 +0100 (2009-11-27)
parents c42b0b06934d
children 3eb5f48c496d
files xine-lib/receipt xine-ui/receipt
line diff
     1.1 --- a/xine-lib/receipt	Thu Nov 26 12:12:54 2009 +0000
     1.2 +++ b/xine-lib/receipt	Fri Nov 27 17:10:14 2009 +0100
     1.3 @@ -6,8 +6,8 @@
     1.4  SHORT_DESC="Xine video library."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
     1.7 -libtheora ffmpeg xorg-libXvMC xorg-libXv freetype"
     1.8 -BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev ffmpeg-dev xorg-libXvMC-dev \
     1.9 +libtheora xorg-libXvMC xorg-libXv freetype"
    1.10 +BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \
    1.11  xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \
    1.12  libvorbis-dev libtheora-dev freetype-dev"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 @@ -15,6 +15,11 @@
    1.15  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18 +#
    1.19 +# Using --with-external-ffmpeg will make package smaller, but it dont seems
    1.20 +# to work properly. Last try with external ffmpeg make xine unable to read avi
    1.21 +# and other video files.
    1.22 +#
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26 @@ -23,7 +28,6 @@
    1.27  		--infodir=/usr/share/info \
    1.28  		--mandir=/usr/share/man \
    1.29  		--with-freetype \
    1.30 -		--with-external-ffmpeg \
    1.31  		--without-jack \
    1.32  		--without-imagemagick \
    1.33  		--without-sdl \
    1.34 @@ -42,8 +46,8 @@
    1.35  	cp -a $_pkg/usr/lib/xine $fs/usr/lib
    1.36  
    1.37  	# Do we need extra Fonts for subtitle support? \
    1.38 -	compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
    1.39 -	should we just ln DejavuSans as in mplayer?
    1.40 +	# compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
    1.41 +	# should we just ln DejavuSans as in mplayer?
    1.42  	# lets keep sans font for extra support
    1.43  	mkdir -p  $fs/usr/share/xine/libxine1/fonts/
    1.44  	cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
     2.1 --- a/xine-ui/receipt	Thu Nov 26 12:12:54 2009 +0000
     2.2 +++ b/xine-ui/receipt	Fri Nov 27 17:10:14 2009 +0100
     2.3 @@ -5,9 +5,10 @@
     2.4  CATEGORY="multimedia"
     2.5  SHORT_DESC="Xine media player user interface."
     2.6  MAINTAINER="pankso@slitaz.org"
     2.7 -DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv curl libldap cyrus-sasl \
     2.8 -openssl libpng ncurses readline xorg-libXft xorg-libXxf86vm"
     2.9 -BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev"
    2.10 +DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv openssl libpng \
    2.11 +ncurses readline xorg-libXft xorg-libXxf86vm"
    2.12 +BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev \
    2.13 +xorg-inputproto xorg-xf86vidmodeproto"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WEB_SITE="http://www.xine-project.org/"
    2.16  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
    2.17 @@ -16,8 +17,11 @@
    2.18  compile_rules()
    2.19  {
    2.20  	cd $src
    2.21 -	./configure --prefix=/usr \
    2.22 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.23 +	./configure \
    2.24 +		--prefix=/usr \
    2.25 +		--mandir=/usr/share/man \
    2.26 +		--without-curl \
    2.27 +		$CONFIGURE_ARGS &&
    2.28  	make &&
    2.29  	make DESTDIR=$PWD/_pkg install
    2.30  }
    2.31 @@ -28,8 +32,7 @@
    2.32  	mkdir -p $fs/usr/share
    2.33  	cp -a $_pkg/usr/bin $fs/usr
    2.34  	cp -a $_pkg/usr/share/xine $fs/usr/share
    2.35 -	
    2.36 +
    2.37  	# Remove the sample default.avi
    2.38  	rm $fs/usr/share/xine/visuals/*.avi
    2.39  }
    2.40 -