wok diff xine-lib/receipt @ rev 12782
Up gogglesmm (0.12.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 15 10:39:16 2012 +0200 (2012-05-15) |
parents | 73641efed1cc |
children | 4a2f9814b85c |
line diff
1.1 --- a/xine-lib/receipt Mon Apr 23 16:30:27 2012 +0200 1.2 +++ b/xine-lib/receipt Tue May 15 10:39:16 2012 +0200 1.3 @@ -1,40 +1,37 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="xine-lib" 1.7 -VERSION="1.1.19" 1.8 +VERSION="1.2.1" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="Xine video library." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 SUGGESTED="faad2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 WEB_SITE="http://www.xine-project.org/" 1.16 -WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" 1.17 +WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL" 1.18 +SUGGESTED="xine-fonts" 1.19 1.20 -DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ 1.21 -libtheora xorg-libXvMC xorg-libXv libmodplug libmng lcms" 1.22 +DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ 1.23 +libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg" 1.24 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \ 1.25 -alsa-lib-dev libogg-dev libmodplug-dev libvorbis-dev libtheora-dev freetype-dev \ 1.26 -faad2-dev perl pkg-config util-linux-uuid-dev libxcb-dev lcms-dev" 1.27 +alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \ 1.28 +pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 -# 1.32 -# Using --with-external-ffmpeg will make package smaller, but it dont seems 1.33 -# to work properly. Last try with external ffmpeg make xine unable to read avi 1.34 -# and other video files. 1.35 -# 1.36 compile_rules() 1.37 { 1.38 cd $src 1.39 sed -i 's/grep -x/grep/' configure 1.40 - grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c || 1.41 - sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 1.42 - src/input/vcd/libcdio/_cdio_linux.c 1.43 - patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch 1.44 + #grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c || 1.45 + #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 1.46 + # src/input/vcd/libcdio/_cdio_linux.c 1.47 + #patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch 1.48 ./configure \ 1.49 --prefix=/usr \ 1.50 --infodir=/usr/share/info \ 1.51 --mandir=/usr/share/man \ 1.52 --with-freetype \ 1.53 + --with-xcb \ 1.54 --without-jack \ 1.55 --without-imagemagick \ 1.56 --without-sdl \ 1.57 @@ -46,22 +43,15 @@ 1.58 --disable-syncfb \ 1.59 --without-esound \ 1.60 --disable-vcd \ 1.61 + --disable-musepack \ 1.62 $CONFIGURE_ARGS && 1.63 - make $MAKEFLAGS && 1.64 - make DESTDIR=$PWD/_pkg install 1.65 + make && make install 1.66 } 1.67 1.68 # Rules to gen a SliTaz package suitable for Tazpkg. 1.69 genpkg_rules() 1.70 { 1.71 mkdir -p $fs/usr/lib $fs/usr/share 1.72 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.73 - cp -a $_pkg/usr/lib/xine $fs/usr/lib 1.74 - 1.75 - # Do we need extra Fonts for subtitle support? \ 1.76 - # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ 1.77 - # should we just ln DejavuSans as in mplayer? 1.78 - # lets keep sans font for extra support 1.79 - mkdir -p $fs/usr/share/xine/libxine1/fonts/ 1.80 - cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/ 1.81 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.82 + cp -a $install/usr/lib/xine $fs/usr/lib 1.83 }