wok-next rev 12525
Up: xine-lib (1.2.1) Split fonts and clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:34:41 2012 +0200 (2012-04-25) |
parents | 3a88d3e7ea0c |
children | 044f7a53c852 |
files | xine-fonts/receipt xine-lib-dev/receipt xine-lib/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xine-fonts/receipt Wed Apr 25 00:34:41 2012 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xine-fonts" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Extra fonts for Xine video player." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="xine-lib" 1.12 +WEB_SITE="http://www.xinehq.de/" 1.13 +DEPENDS="xine" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/share/xine-lib 1.19 + cp -a $install/usr/share/xine-lib/fonts \ 1.20 + $fs/usr/share/xine-lib 1.21 +}
2.1 --- a/xine-lib-dev/receipt Wed Apr 25 00:33:33 2012 +0200 2.2 +++ b/xine-lib-dev/receipt Wed Apr 25 00:34:41 2012 +0200 2.3 @@ -1,11 +1,10 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="xine-lib-dev" 2.7 -VERSION="1.1.19" 2.8 +VERSION="1.2.1" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Xine video library." 2.11 MAINTAINER="pankso@slitaz.org" 2.12 -DEPENDS="xorg xine-lib zlib" 2.13 WANTED="xine-lib" 2.14 WEB_SITE="http://www.xinehq.de/" 2.15 2.16 @@ -13,10 +12,10 @@ 2.17 genpkg_rules() 2.18 { 2.19 mkdir -p $fs/usr/lib $fs/usr/share 2.20 - cp -a $_pkg/usr/bin $fs/usr 2.21 + cp -a $install/usr/bin $fs/usr 2.22 chmod 755 $fs/usr/bin/* 2.23 - cp -a $_pkg/usr/include $fs/usr 2.24 - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 2.25 - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 2.26 - cp -a $_pkg/usr/share/aclocal $fs/usr/share 2.27 + cp -a $install/usr/include $fs/usr 2.28 + cp -a $install/usr/lib/*.*a $fs/usr/lib 2.29 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.30 + cp -a $install/usr/share/aclocal $fs/usr/share 2.31 }
3.1 --- a/xine-lib/receipt Wed Apr 25 00:33:33 2012 +0200 3.2 +++ b/xine-lib/receipt Wed Apr 25 00:34:41 2012 +0200 3.3 @@ -1,40 +1,37 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="xine-lib" 3.7 -VERSION="1.1.19" 3.8 +VERSION="1.2.1" 3.9 CATEGORY="multimedia" 3.10 SHORT_DESC="Xine video library." 3.11 MAINTAINER="pankso@slitaz.org" 3.12 SUGGESTED="faad2" 3.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 3.15 WEB_SITE="http://www.xine-project.org/" 3.16 -WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" 3.17 +WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL" 3.18 +SUGGESTED="xine-fonts" 3.19 3.20 -DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ 3.21 -libtheora xorg-libXvMC xorg-libXv libmodplug libmng lcms" 3.22 +DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ 3.23 +libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg" 3.24 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \ 3.25 -alsa-lib-dev libogg-dev libmodplug-dev libvorbis-dev libtheora-dev freetype-dev \ 3.26 -faad2-dev perl pkg-config util-linux-uuid-dev libxcb-dev lcms-dev" 3.27 +alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \ 3.28 +pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev" 3.29 3.30 # Rules to configure and make the package. 3.31 -# 3.32 -# Using --with-external-ffmpeg will make package smaller, but it dont seems 3.33 -# to work properly. Last try with external ffmpeg make xine unable to read avi 3.34 -# and other video files. 3.35 -# 3.36 compile_rules() 3.37 { 3.38 cd $src 3.39 sed -i 's/grep -x/grep/' configure 3.40 - grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c || 3.41 - sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 3.42 - src/input/vcd/libcdio/_cdio_linux.c 3.43 - patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch 3.44 + #grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c || 3.45 + #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 3.46 + # src/input/vcd/libcdio/_cdio_linux.c 3.47 + #patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch 3.48 ./configure \ 3.49 --prefix=/usr \ 3.50 --infodir=/usr/share/info \ 3.51 --mandir=/usr/share/man \ 3.52 --with-freetype \ 3.53 + --with-xcb \ 3.54 --without-jack \ 3.55 --without-imagemagick \ 3.56 --without-sdl \ 3.57 @@ -46,22 +43,15 @@ 3.58 --disable-syncfb \ 3.59 --without-esound \ 3.60 --disable-vcd \ 3.61 + --disable-musepack \ 3.62 $CONFIGURE_ARGS && 3.63 - make $MAKEFLAGS && 3.64 - make DESTDIR=$PWD/_pkg install 3.65 + make && make install 3.66 } 3.67 3.68 # Rules to gen a SliTaz package suitable for Tazpkg. 3.69 genpkg_rules() 3.70 { 3.71 mkdir -p $fs/usr/lib $fs/usr/share 3.72 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 3.73 - cp -a $_pkg/usr/lib/xine $fs/usr/lib 3.74 - 3.75 - # Do we need extra Fonts for subtitle support? \ 3.76 - # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ 3.77 - # should we just ln DejavuSans as in mplayer? 3.78 - # lets keep sans font for extra support 3.79 - mkdir -p $fs/usr/share/xine/libxine1/fonts/ 3.80 - cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/ 3.81 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.82 + cp -a $install/usr/lib/xine $fs/usr/lib 3.83 }