summaryrefslogtreecommitdiff
path: root/extra/xine-lib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xine-lib/PKGBUILD')
-rw-r--r--extra/xine-lib/PKGBUILD26
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
}