core/xine-lib/PKGBUILD

54 lines
1.8 KiB
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=xine-lib
pkgver=1.2.8
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A multimedia playback engine"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.xine-project.org"
license=('LGPL' 'GPL')
depends=('libxvmc' 'ffmpeg' 'libxinerama' 'pulseaudio')
2015-01-09 07:46:55 +08:00
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'glu' 'libmodplug'
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad'
'libmpcdec' 'libcaca' 'libbluray' 'libvdpau' 'libdvdnav')
optdepends=('imagemagick: for using the imagemagick plugin'
'jack: for using the jack plugin'
'vcdimager: for using the vcd plugin'
2015-01-09 07:46:55 +08:00
'glu: for using the opengl 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'
'libmodplug: for using the modplug plugin'
'libdca: for using the dca plugin'
'a52dec: for using the a52 plugin'
'libmad: for using the mp3 plugin'
2015-01-09 07:46:55 +08:00
'libdvdnav: for using the dvd plugin'
'libmpcdec: for using the musepack plugin'
'libcaca: for using the caca plugin'
'libbluray: for using the bluray plugin'
2015-01-09 07:46:55 +08:00
'libvdpau: for using the VDPAU plugin'
'smbclient: for using the samba plugin' )
source=("http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz")
sha1sums=('f20115ddfced42d51feb159393607b17e6f2bdc1')
2017-01-23 06:47:56 +08:00
prepare() {
cd $pkgname-$pkgver
2017-01-23 06:47:56 +08:00
autoreconf -vi
}
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 \
--with-external-dvdnav \
2012-08-29 15:31:09 +08:00
--enable-vdpau \
--disable-optimizations \
--disable-gnomevfs
make
2010-03-14 23:48:48 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}