diff options
author | root <root@rshg054.dnsready.net> | 2013-05-31 01:57:14 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-31 01:57:14 -0700 |
commit | 94a3b302f520438e919ef8706ce9cf42ad7c2e11 (patch) | |
tree | 7fa5b120c4fb8ccd67c09d5096bd7e1dc7d35b1c /extra/xine-lib/PKGBUILD | |
parent | 76ee9007095484a113d1856786b81e2d2fae8202 (diff) |
Fri May 31 01:56:04 PDT 2013
Diffstat (limited to 'extra/xine-lib/PKGBUILD')
-rw-r--r-- | extra/xine-lib/PKGBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD index e6666456e..db3b37892 100644 --- a/extra/xine-lib/PKGBUILD +++ b/extra/xine-lib/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 180316 2013-03-20 02:35:37Z eric $ +# $Id: PKGBUILD 186598 2013-05-30 03:34:04Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=xine-lib -pkgver=1.2.2 -pkgrel=8 +pkgver=1.2.3 +pkgrel=1 pkgdesc="A multimedia playback engine" arch=('i686' 'x86_64') url="http://www.xine-project.org" @@ -30,23 +30,21 @@ optdepends=('imagemagick: for using the imagemagick plugin' \ 'gnome-vfs: for using the gnome-vfs plugin' \ 'libvdpau: for using the VDPAU plugin') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz - xine-lib-1.2.2-ffmpeg_audio_decoder-support-new-av_decode_audio4.patch) -sha1sums=('a349cbb0b72256bb262377796a022dcf63829b4c' - '45500eca2aa40c133e1a6e8b23dbadc4b921b11f') +source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz accel_vaapi.h) +sha1sums=('6f9ef4ba75688659052d21448d46527db2b77e57' + '08ed9947ef919c71c87151baa8fc0ce7d8f72050') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Fix audio decoding with newest FFmpeg - # https://bugs.archlinux.org/task/33818 - patch -Np1 -i "$srcdir/xine-lib-1.2.2-ffmpeg_audio_decoder-support-new-av_decode_audio4.patch" +prepare() { + cp accel_vaapi.h ${pkgname}-${pkgver}/src/xine-engine/ +} +build() { + cd ${pkgname}-${pkgver} ./configure --prefix=/usr --with-wavpack --enable-vdpau --disable-optimizations make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } |