PKGBUILDs/extra/xine-lib/PKGBUILD

61 lines
2.2 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
2014-07-07 03:20:45 +00:00
pkgver=1.2.6
2016-12-20 00:19:01 +00:00
pkgrel=11
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'
2014-09-28 23:56:50 +00:00
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad' 'libdvdnav'
2014-01-19 17:00:35 +00:00
'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs' 'glu' 'gdk-pixbuf2')
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' \
2013-09-24 23:26:54 +00:00
'gnome-vfs: for using the gnome-vfs plugin' \
2014-01-19 17:00:35 +00:00
'smbclient: for using the samba plugin' \
'gdk-pixbuf2: for using the gdk-pixbuf plugin')
2016-08-04 23:57:44 +00:00
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz xine-lib-ffmpeg3.patch xine-lib-xcb-1.12.patch)
2016-02-27 15:03:07 +00:00
sha1sums=('ac929eef2b7bf5c27699bbed612b953a01fccba5'
2016-08-04 23:57:44 +00:00
'b4466616bb17142aef8aa1bb80fff67cd2d0d15d'
'890c8f044c0080bfb7d4b163061dd42621fc4df1')
2016-02-27 15:03:07 +00:00
prepare() {
cd $pkgname-$pkgver
# Fix build with ffmpeg 3.0 (Gentoo)
patch -p1 -i ../xine-lib-ffmpeg3.patch
2016-08-04 23:57:44 +00:00
# Fix build with xcb 1.12 (Gentoo)
patch -p1 -i ../xine-lib-xcb-1.12.patch
autoreconf -vi
2016-02-27 15:03:07 +00:00
}
2012-01-12 00:04:01 +00:00
2013-05-30 06:00:52 +00:00
build() {
cd ${pkgname}-${pkgver}
2014-09-29 00:00:19 +00:00
./configure --prefix=/usr --with-wavpack --disable-vdpau --with-external-dvdnav \
2014-09-28 23:56:50 +00:00
--disable-optimizations
2012-01-12 00:04:01 +00:00
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
}