blob: 86dda60c1c2c4324a23fddb9f259cc174e832eb3 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $Id: PKGBUILD 137999 2011-09-13 21:30:22Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=xine-lib
pkgver=1.1.19
pkgrel=5
pkgdesc="A multimedia playback engine"
arch=('i686' 'x86_64')
url="http://www.xine-project.org"
license=('LGPL' 'GPL')
depends=('libgl' 'libxvmc' 'flac' 'ffmpeg' 'libxinerama' 'libmodplug')
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'smbclient' 'mesa'
'v4l-utils' 'vcdimager' 'jack' 'gdk-pixbuf2' 'libpulse' 'speex' 'aalib')
optdepends=('imagemagick: for using the imagemagick plugin' \
'smbclient: for using the smb plugin' \
'jack: for using the jack plugin' \
'vcdimager: for using the vcd plugin' \
'gdk-pixbuf2: for using the gdk-pixbuf plugin' \
'mesa: for using the opengl plugin' \
'libpulse: for using the pulseaudio plugin' \
'speex: for using the speex plugin' \
'v4l-utils: for using the v4l plugin' \
'wavpack: for using the wavpack plugin' \
'faad2: for using the faad plugin' \
'libmng: for using the mng plugin' \
'aalib: for using the aalib plugin')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
xine-lib-1.1.1-configure-no-mcpu-march.patch xine-lib-1.1.19-xvmc.patch)
md5sums=('a410a0f0617e1d6309f0cbe907f73f8a'
'9776df4eb54d2f1f68d8268adbc3b5c2'
'8662fb124870b1dd7effe4ff5e2a2e3d')
sha1sums=('5afcc28c5cf2bdaab99d951960f6587797e1e5a0'
'121a8358d7919b2e51067412373f52848290338a'
'920bf27e6e3523dfe4cc9c802ff713e9688a3f34')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch
patch -p0 < ../xine-lib-1.1.19-xvmc.patch
sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
configure.ac src/input/input_v4l.c src/video_out/video_out_syncfb.h
libtoolize --force --copy
aclocal -I m4
autoconf
automake --add-missing
./configure --prefix=/usr --with-wavpack --with-external-ffmpeg --with-external-libfaad
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|