wok-current annotate xine-lib/receipt @ rev 5020
update Xinelib: libglu (oplengl) and esound support disabled (nvidia dropped)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 01 09:07:49 2010 +0000 (2010-03-01) |
parents | de5d8ec1d324 |
children | 410630f6493d |
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@5020 | 8 DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ |
jozee@5020 | 9 libtheora xorg-libXvMC xorg-libXv freetype vcdimager-xmltools \ |
jozee@5020 | 10 libmodplug gtk+" |
jozee@5020 | 11 BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \ |
jozee@5020 | 12 xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \ |
jozee@5020 | 13 libvorbis-dev libtheora-dev freetype-dev" |
pankso@33 | 14 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2976 | 15 WEB_SITE="http://www.xine-project.org/" |
pankso@33 | 16 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pankso@33 | 17 |
pankso@33 | 18 # Rules to configure and make the package. |
jozee@5020 | 19 # |
jozee@5020 | 20 # Using --with-external-ffmpeg will make package smaller, but it dont seems |
jozee@5020 | 21 # to work properly. Last try with external ffmpeg make xine unable to read avi |
jozee@5020 | 22 # and other video files. |
jozee@5020 | 23 # |
pankso@33 | 24 compile_rules() |
pankso@33 | 25 { |
pankso@33 | 26 cd $src |
pankso@499 | 27 ./configure \ |
pankso@499 | 28 --prefix=/usr \ |
pankso@499 | 29 --infodir=/usr/share/info \ |
pankso@499 | 30 --mandir=/usr/share/man \ |
pankso@4461 | 31 --with-freetype \ |
jozee@5020 | 32 --without-jack \ |
jozee@5020 | 33 --without-imagemagick \ |
jozee@5020 | 34 --without-sdl \ |
jozee@5020 | 35 --disable-gnomevfs \ |
jozee@5020 | 36 --disable-samba \ |
jozee@5020 | 37 --disable-glu \ |
jozee@5020 | 38 --disable-opengl \ |
jozee@5020 | 39 --disable-faad \ |
jozee@5020 | 40 --disable-fb \ |
jozee@5020 | 41 --disable-syncfb \ |
jozee@5020 | 42 --without-esound \ |
pascal@1511 | 43 $CONFIGURE_ARGS && |
pascal@1511 | 44 make && |
pankso@33 | 45 make DESTDIR=$PWD/_pkg install |
pankso@33 | 46 } |
pankso@33 | 47 |
pankso@33 | 48 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 49 genpkg_rules() |
pankso@33 | 50 { |
pankso@3163 | 51 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@33 | 52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@33 | 53 cp -a $_pkg/usr/lib/xine $fs/usr/lib |
jozee@5020 | 54 |
jozee@2976 | 55 # Do we need extra Fonts for subtitle support? \ |
jozee@5020 | 56 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \ |
jozee@5020 | 57 # should we just ln DejavuSans as in mplayer? |
jozee@2976 | 58 # lets keep sans font for extra support |
jozee@2976 | 59 mkdir -p $fs/usr/share/xine/libxine1/fonts/ |
jozee@2976 | 60 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/ |
pankso@33 | 61 } |