1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Description: Contient la librairie xine
# URL: http://xinehq.de/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: mesa3d, xorg-libxvmc, xorg-libxcb, faad2, libcaca, speex, libmng, esound, libvorbis, flac, libtheora, sdl, ffmpeg, vcdimager, wavpack, samba3, librsvg, imagemagick, libtool
# Run on:
name=xine-lib
version=1.1.19
release=2
source=(http://downloads.sourceforge.net/xine/$name-$version.tar.bz2
http://downloads.sourceforge.net/sourceforge/xine/compat.c \
xine-lib-1.1.1-configure-no-mcpu-march.patch
xine-lib-1.1.19-include.patch)
build() {
cd $name-$version
cp ../compat.c src/dxr3/compat.c
patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch
patch -Np0 -i ../xine-lib-1.1.19-include.patch
libtoolize --force --copy
aclocal -I m4
autoconf
automake --add-missing
./configure --prefix=/usr --with-w32-path=/usr/lib/codecs \
--with-xv-path=/usr/lib --with-xxmc-path=/usr/lib --with-xvmc-path=/usr/lib \
--with-libflac --with-wavpack --with-xcb \
--without-arts --without-speex \
--disable-gnomevfs --without-pulseaudio --disable-aalib \
--disable-modplug --with-external-ffmpeg
make
make DESTDIR=$PKG install
}
|