blob: ff497bd19221ca500e744d554aafea9425b2632d (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
# Maintainer: Daniel Bermond < yahoo-com: danielbermond >
# AUR dependencies: esound
pkgname=xine-lib-hg
pkgver=r12707.b748a9de57de
pkgrel=1
pkgdesc="A multimedia playback engine (Mercurial version with all possible libs)"
arch=('i686' 'x86_64')
url="https://www.xine-project.org/"
license=('GPL2' 'LGPL')
depends=(
'aalib' 'directfb' 'mesa' 'glu' 'libxinerama' 'libxvmc' 'libvdpau'
'linuxtv-dvb-apps' 'gnome-vfs' 'smbclient' 'v4l-utils' 'vcdimager' 'libbluray'
'ffmpeg' 'a52dec' 'faad2' 'gdk-pixbuf2' 'libjpeg-turbo' 'libdca' 'libmad'
'libmodplug' 'libmpeg2' 'libmpcdec' 'libmng' 'libvpx' 'freetype2' 'fontconfig'
'xorg-server-devel' 'alsa-lib' 'esound' 'jack' 'pulseaudio' 'libcaca' 'sdl'
'libxcb' 'xcb-util-image' 'imagemagick' 'flac' 'speex' 'libtheora' 'libvorbis'
'wavpack' 'libxv'
)
makedepends=('mercurial')
provides=('xine-lib')
conflicts=('xine-lib')
source=("$pkgname"::'hg+http://hg.debian.org/hg/xine-lib/xine-lib-1.2-vdpau')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
# Mercurial
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
prepare() {
cd "${srcdir}/${pkgname}"
./autogen.sh
}
build() {
cd "${srcdir}/${pkgname}"
./configure \
--prefix=/usr \
\
--enable-static=no \
--enable-shared=yes \
--enable-fast-install=yes \
\
--enable-oss \
--enable-aalib \
--disable-dha-kmod \
--enable-directfb \
--enable-dxr3 \
--enable-fb \
--enable-opengl \
--enable-glu \
--disable-vidix \
--enable-xinerama \
--enable-xvmc \
--enable-vdpau \
--disable-vaapi \
--enable-dvb \
--enable-gnomevfs \
--enable-samba \
--enable-v4l2 \
--enable-libv4l \
--enable-vcd \
--enable-vdr \
--enable-bluray \
--enable-avformat \
--enable-a52dec \
--enable-asf \
--enable-nosefart \
--enable-faad \
--enable-gdkpixbuf \
--enable-libjpeg \
--enable-dts \
--enable-mad \
--enable-modplug \
--enable-libmpeg2new \
--enable-musepack \
--enable-mng \
--enable-vpx \
\
--with-freetype \
--with-fontconfig \
--with-x \
--with-alsa \
--with-esound \
--without-fusionsound \
--with-jack \
--with-pulseaudio \
--with-caca \
--without-linux-path \
--without-libstk \
--with-sdl \
--with-xcb \
--with-imagemagick \
--with-libflac \
--with-speex \
--with-theora \
--with-vorbis \
--with-wavpack
# TODO:
# --enable-dha-kmod
# --enable-vidix
# --with-fusionsound
# --with-linux-path=/usr/lib/modules/$(uname -r)/build
# --with-libstk
# NOTE:
# --enable-vaapi doesn't work
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="$pkgdir/" install
}
|