# HG changeset patch # User Christophe Lincoln # Date 1259338214 -3600 # Node ID 173ef2a8064d5990ce3ceb191684eaec3c1c84da # Parent c42b0b06934d0e1e69ec8250c0aeb4dd419ae505 xine: dont use external ffmpeg diff -r c42b0b06934d -r 173ef2a8064d xine-lib/receipt --- a/xine-lib/receipt Thu Nov 26 12:12:54 2009 +0000 +++ b/xine-lib/receipt Fri Nov 27 17:10:14 2009 +0100 @@ -6,8 +6,8 @@ SHORT_DESC="Xine video library." MAINTAINER="pankso@slitaz.org" DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ -libtheora ffmpeg xorg-libXvMC xorg-libXv freetype" -BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev ffmpeg-dev xorg-libXvMC-dev \ +libtheora xorg-libXvMC xorg-libXv freetype" +BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \ xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \ libvorbis-dev libtheora-dev freetype-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" @@ -15,6 +15,11 @@ WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" # Rules to configure and make the package. +# +# Using --with-external-ffmpeg will make package smaller, but it dont seems +# to work properly. Last try with external ffmpeg make xine unable to read avi +# and other video files. +# compile_rules() { cd $src @@ -23,7 +28,6 @@ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-freetype \ - --with-external-ffmpeg \ --without-jack \ --without-imagemagick \ --without-sdl \ @@ -42,8 +46,8 @@ cp -a $_pkg/usr/lib/xine $fs/usr/lib # Do we need extra Fonts for subtitle support? \ - compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ - should we just ln DejavuSans as in mplayer? + # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ + # should we just ln DejavuSans as in mplayer? # lets keep sans font for extra support mkdir -p $fs/usr/share/xine/libxine1/fonts/ cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/ diff -r c42b0b06934d -r 173ef2a8064d xine-ui/receipt --- a/xine-ui/receipt Thu Nov 26 12:12:54 2009 +0000 +++ b/xine-ui/receipt Fri Nov 27 17:10:14 2009 +0100 @@ -5,9 +5,10 @@ CATEGORY="multimedia" SHORT_DESC="Xine media player user interface." MAINTAINER="pankso@slitaz.org" -DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv curl libldap cyrus-sasl \ -openssl libpng ncurses readline xorg-libXft xorg-libXxf86vm" -BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev" +DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv openssl libpng \ +ncurses readline xorg-libXft xorg-libXxf86vm" +BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev \ +xorg-inputproto xorg-xf86vidmodeproto" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.xine-project.org/" WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" @@ -16,8 +17,11 @@ compile_rules() { cd $src - ./configure --prefix=/usr \ - --mandir=/usr/share/man $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --without-curl \ + $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } @@ -28,8 +32,7 @@ mkdir -p $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/xine $fs/usr/share - + # Remove the sample default.avi rm $fs/usr/share/xine/visuals/*.avi } -