summaryrefslogtreecommitdiffstats
path: root/extra/xine-lib/Pkgfile
blob: fb6bbbaf0f29d79acad42407ca6a29e3f97b8da8 (plain)
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
# Description: Contient la librairie xine 
# URL: http://xinehq.de/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libtool, mesa3d, xorg-libxvmc, xorg-libxcb, faad2, libcaca, speex, libmng, esound, libvorbis, flac, libtheora, sdl, ffmpeg, vcdimager, wavpack, samba3, librsvg, imagemagick

name=xine-lib
version=1.1.19
release=1
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)	

build() {
	cd $name-$version
	cp ../compat.c src/dxr3/compat.c
	patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.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
}