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