wok-current annotate xine-lib/receipt @ rev 4498
gtkmm-dev: add DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 20 20:43:27 2009 +0100 (2009-11-20) |
parents | e8024c01fc47 |
children | 173ef2a8064d |
rev | line source |
---|---|
pankso@33 | 1 # SliTaz package receipt. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-lib" |
jozee@2976 | 4 VERSION="1.1.16.3" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@33 | 6 SHORT_DESC="Xine video library." |
pankso@33 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4461 | 8 DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ |
pankso@4461 | 9 libtheora ffmpeg xorg-libXvMC xorg-libXv freetype" |
pankso@4461 | 10 BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev ffmpeg-dev xorg-libXvMC-dev \ |
pankso@4461 | 11 xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \ |
pankso@4461 | 12 libvorbis-dev libtheora-dev freetype-dev" |
pankso@33 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2976 | 14 WEB_SITE="http://www.xine-project.org/" |
pankso@33 | 15 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pankso@33 | 16 |
pankso@33 | 17 # Rules to configure and make the package. |
pankso@33 | 18 compile_rules() |
pankso@33 | 19 { |
pankso@33 | 20 cd $src |
pankso@499 | 21 ./configure \ |
pankso@499 | 22 --prefix=/usr \ |
pankso@499 | 23 --infodir=/usr/share/info \ |
pankso@499 | 24 --mandir=/usr/share/man \ |
pankso@4461 | 25 --with-freetype \ |
jozee@2976 | 26 --with-external-ffmpeg \ |
pankso@4461 | 27 --without-jack \ |
pankso@4461 | 28 --without-imagemagick \ |
pankso@4461 | 29 --without-sdl \ |
pankso@4461 | 30 --disable-gnomevfs \ |
pankso@4461 | 31 --disable-samba \ |
pascal@1511 | 32 $CONFIGURE_ARGS && |
pascal@1511 | 33 make && |
pankso@33 | 34 make DESTDIR=$PWD/_pkg install |
pankso@33 | 35 } |
pankso@33 | 36 |
pankso@33 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 38 genpkg_rules() |
pankso@33 | 39 { |
pankso@3163 | 40 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@33 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@33 | 42 cp -a $_pkg/usr/lib/xine $fs/usr/lib |
pankso@4461 | 43 |
jozee@2976 | 44 # Do we need extra Fonts for subtitle support? \ |
jozee@2976 | 45 compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ |
jozee@2976 | 46 should we just ln DejavuSans as in mplayer? |
jozee@2976 | 47 # lets keep sans font for extra support |
jozee@2976 | 48 mkdir -p $fs/usr/share/xine/libxine1/fonts/ |
jozee@2976 | 49 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/ |
pankso@33 | 50 } |