summaryrefslogtreecommitdiffstats
path: root/xine-lib/Pkgfile
blob: afb26042ce77c9b5fe30142fb6f4c257e547a1b2 (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
# 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, libvdpau, jack2, pulseaudio, speex
# Run on: mesa3d,xorg-libxvmc,xorg-libxcb,faad2,libcaca,speex,libmng,esound,libvorbis,flac,libtheora,sdl,ffmpeg,vcdimager,wavpack,samba3,librsvg,imagemagick,libvdpau,jack2,pulseaudio,speex

name=xine-lib
version=1.2.1
release=2
source=(http://downloads.sourceforge.net/xine/$name-$version.tar.xz
	ffmpeg-0.11.patch)

build() {
	cd $name-$version
	patch -p1 < ../ffmpeg-0.11.patch
	./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 \
		--with-speex \
		--disable-gnomevfs \
		--with-pulseaudio \
		--disable-modplug \
		--with-jack
	make
	make DESTDIR=$PKG install
}