PKGBUILDs/extra/xine-lib/PKGBUILD

53 lines
1.8 KiB
Bash
Raw Normal View History

2013-05-30 06:00:52 +00:00
# $Id$
2012-01-12 00:04:01 +00:00
# Maintainer: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disabled vdpau
pkgname=xine-lib
2013-05-30 06:00:52 +00:00
pkgver=1.2.3
2013-08-01 13:03:43 +00:00
pkgrel=2
2012-01-12 00:04:01 +00:00
pkgdesc="A multimedia playback engine"
arch=('i686' 'x86_64')
url="http://www.xine-project.org"
license=('LGPL' 'GPL')
depends=('libxvmc' 'ffmpeg' 'libxinerama')
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
2013-05-30 06:00:52 +00:00
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad'
2012-10-14 16:46:38 +00:00
'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs' 'glu')
2012-01-12 00:04:01 +00:00
optdepends=('imagemagick: for using the imagemagick plugin' \
'jack: for using the jack plugin' \
'vcdimager: for using the vcd plugin' \
2012-10-14 16:46:38 +00:00
'glu: for using the opengl plugin' \
2012-01-12 00:04:01 +00:00
'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' \
'libmpcdec: for using the musepack plugin' \
'libcaca: for using the caca plugin' \
'libbluray: for using the bluray plugin' \
'gnome-vfs: for using the gnome-vfs plugin')
options=('!libtool')
2013-05-30 06:00:52 +00:00
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz accel_vaapi.h)
sha1sums=('6f9ef4ba75688659052d21448d46527db2b77e57'
'08ed9947ef919c71c87151baa8fc0ce7d8f72050')
2012-01-12 00:04:01 +00:00
2013-05-30 06:00:52 +00:00
prepare() {
cp accel_vaapi.h ${pkgname}-${pkgver}/src/xine-engine/
}
2013-03-09 18:00:44 +00:00
2013-05-30 06:00:52 +00:00
build() {
cd ${pkgname}-${pkgver}
2012-01-12 00:04:01 +00:00
./configure --prefix=/usr --with-wavpack --disable-vdpau --disable-optimizations
make
}
package() {
2013-05-30 06:00:52 +00:00
cd ${pkgname}-${pkgver}
2012-01-12 00:04:01 +00:00
make DESTDIR="${pkgdir}" install
}