wok annotate xine-lib/receipt @ rev 2978
Update DEPENDS, WEB_SITE xine-lib, xine-ui
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun May 10 14:38:25 2009 +0000 (2009-05-10) |
parents | f9b8e9e02818 |
children | c95291cb82f3 |
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" |
jozee@2978 | 8 DEPENDS=" xorg zlib xorg-libXv xorg-libXvMC alsa-lib glib gtk+ libSDL libgio \ |
jozee@2978 | 9 libiconv libogg libvorbis ffmpeg " |
jozee@2976 | 10 BUILD_DEPENDS="xorg-dev zlib-dev ffmpeg-dev ffmpeg xorg-libXvMC-dev xorg-libXvMC xorg-libXv xorg-libXv-dev libtheora" |
pankso@33 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2976 | 12 WEB_SITE="http://www.xine-project.org/" |
pankso@33 | 13 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pankso@33 | 14 |
pankso@33 | 15 # Rules to configure and make the package. |
pankso@33 | 16 compile_rules() |
pankso@33 | 17 { |
pankso@33 | 18 cd $src |
pankso@499 | 19 ./configure \ |
pankso@499 | 20 --prefix=/usr \ |
pankso@499 | 21 --infodir=/usr/share/info \ |
pankso@499 | 22 --mandir=/usr/share/man \ |
jozee@2976 | 23 --with-external-ffmpeg \ |
jozee@2976 | 24 --disable-gnome-vfs \ |
jozee@2976 | 25 --with-freetype \ |
pascal@1511 | 26 $CONFIGURE_ARGS && |
pascal@1511 | 27 make && |
pankso@33 | 28 make DESTDIR=$PWD/_pkg install |
pankso@33 | 29 } |
pankso@33 | 30 |
pankso@33 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 32 genpkg_rules() |
pankso@33 | 33 { |
pankso@33 | 34 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@33 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@33 | 36 cp -a $_pkg/usr/lib/xine $fs/usr/lib |
pankso@33 | 37 |
jozee@2976 | 38 # Do we need extra Fonts for subtitle support? \ |
jozee@2976 | 39 compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ |
jozee@2976 | 40 should we just ln DejavuSans as in mplayer? |
jozee@2976 | 41 # lets keep sans font for extra support |
jozee@2976 | 42 mkdir -p $fs/usr/share/xine/libxine1/fonts/ |
jozee@2976 | 43 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/ |
jozee@2976 | 44 |
pankso@33 | 45 } |
pankso@33 | 46 |