2013-03-21 08:24:51 +08:00
|
|
|
# Maintainer: abveritas@chakra-project.org
|
2010-09-04 03:38:38 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=xine-lib
|
2012-08-29 15:31:09 +08:00
|
|
|
pkgver=1.2.2
|
2013-03-21 08:24:51 +08:00
|
|
|
pkgrel=5
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="A multimedia playback engine"
|
2012-12-07 11:58:12 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
url="http://www.xine-project.org"
|
|
|
|
license=('LGPL' 'GPL')
|
2013-03-21 08:24:51 +08:00
|
|
|
depends=('libxvmc' 'ffmpeg' 'libxinerama' 'pulseaudio')
|
2012-02-13 08:02:59 +08:00
|
|
|
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
|
|
|
|
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad'
|
2013-03-21 08:24:51 +08:00
|
|
|
'libmpcdec' 'libcaca' 'libbluray' 'libvdpau')
|
2011-09-14 10:53:12 +08:00
|
|
|
optdepends=('imagemagick: for using the imagemagick plugin' \
|
|
|
|
'jack: for using the jack plugin' \
|
|
|
|
'vcdimager: for using the vcd plugin' \
|
|
|
|
'mesa: for using the opengl plugin' \
|
|
|
|
'wavpack: for using the wavpack plugin' \
|
|
|
|
'faad2: for using the faad plugin' \
|
|
|
|
'libmng: for using the mng plugin' \
|
2012-02-13 08:02:59 +08:00
|
|
|
'aalib: for using the aalib plugin' \
|
|
|
|
'libmodplug: for using the modplug plugin' \
|
|
|
|
'libdca: for using the dca plugin' \
|
|
|
|
'a52dec: for using the a52 plugin' \
|
|
|
|
'libmad: for using the mp3 plugin' \
|
|
|
|
'libmpcdec: for using the musepack plugin' \
|
|
|
|
'libcaca: for using the caca plugin' \
|
|
|
|
'libbluray: for using the bluray plugin' \
|
2013-03-21 08:24:51 +08:00
|
|
|
'libvdpau: for using the VDPAU plugin')
|
2010-03-14 23:48:48 +08:00
|
|
|
options=('!libtool')
|
2012-08-29 15:31:09 +08:00
|
|
|
source=("http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
sha1sums=('a349cbb0b72256bb262377796a022dcf63829b4c')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-08-29 15:31:09 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-wavpack \
|
|
|
|
--enable-vdpau \
|
|
|
|
--disable-optimizations \
|
|
|
|
--disable-gnomevfs
|
2011-09-14 10:53:12 +08:00
|
|
|
make
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
2011-09-14 10:53:12 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
|
|
|
|