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/PKGBUILD30
1 files changed, 14 insertions, 16 deletions
diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD
index 7d0726930..9b32a7176 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' 'mips64el')
url="http://www.xine-project.org"
@@ -31,29 +31,27 @@ optdepends+=('wavpack: for using the wavpack plugin' \
'gnome-vfs: for using the gnome-vfs plugin')
[ "$CARCH" = "mips64el" ] || optdepends+=('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
+source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz accel_vaapi.h
0001-fix-non-x86-build.patch)
-sha1sums=('a349cbb0b72256bb262377796a022dcf63829b4c'
- '45500eca2aa40c133e1a6e8b23dbadc4b921b11f'
+sha1sums=('6f9ef4ba75688659052d21448d46527db2b77e57'
+ '08ed9947ef919c71c87151baa8fc0ce7d8f72050'
'5f1a34c7bafa7ea96c0e4e14fbf6e31e53fe41e0')
-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/
+ cd ${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/0001-fix-non-x86-build.patch
+}
+build() {
+ cd ${pkgname}-${pkgver}
[ "$CARCH" = "mips64el" ] || extraconf=--enable-vdpau
-
- ./configure --prefix=/usr --with-wavpack --disable-optimizations $extra
+ ./configure --prefix=/usr --with-wavpack --disable-optimizations $extraconf
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}