summaryrefslogtreecommitdiff
path: root/libre/mplayer-vaapi-libre/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-19 04:02:34 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-19 04:02:34 -0300
commit0b8a3f0dc711594a45ee1f8e6d0508ef78114f10 (patch)
tree4fe210d965236e5b5c2aab563db88a82da7a7f06 /libre/mplayer-vaapi-libre/PKGBUILD
parent0cc6ba58b95830834941124eed5a0b5637231f2d (diff)
parentd1a5ec3954bccde1005dcf15e3a201077bf73701 (diff)
downloadabslibre-0b8a3f0dc711594a45ee1f8e6d0508ef78114f10.tar.gz
abslibre-0b8a3f0dc711594a45ee1f8e6d0508ef78114f10.tar.bz2
abslibre-0b8a3f0dc711594a45ee1f8e6d0508ef78114f10.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/mplayer-vaapi-libre/PKGBUILD')
-rw-r--r--libre/mplayer-vaapi-libre/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/libre/mplayer-vaapi-libre/PKGBUILD b/libre/mplayer-vaapi-libre/PKGBUILD
index 311c469ca..6fa12c5c6 100644
--- a/libre/mplayer-vaapi-libre/PKGBUILD
+++ b/libre/mplayer-vaapi-libre/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD 91641 2013-05-26 08:06:21Z foutrelis $
+# $Id: PKGBUILD 94263 2013-07-18 12:09:29Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
-# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+# Contributor (Parabola): Nicolás Reynolds <fauno@kiwwwi.com.ar>
# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
+_pkgname=mplayer-vaapi
pkgname=mplayer-vaapi-libre
-pkgver=35107
-pkgrel=8
-pkgdesc="A movie player, compiled with vaapi, without nonfree faac support"
+pkgver=36265
+pkgrel=2
+pkgdesc="A movie player, compiled with vaapi support, without nonfree faac support"
arch=('i686' 'x86_64')
url="http://gitorious.org/vaapi/mplayer"
license=('GPL')
@@ -24,30 +25,36 @@ provides=("mplayer=$pkgver" "mplayer-vaapi=$pkgver")
conflicts=('mplayer' 'mplayer-vaapi')
replaces=('mplayer-vaapi')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
-source=(http://pkgbuild.com/~foutrelis/mplayer-vaapi-$pkgver.tar.xz
+source=(http://pkgbuild.com/~foutrelis/sources/$_pkgname/$_pkgname-$pkgver.tar.xz{,.sig}
cdio-includes.patch
tweak-desktop-file.patch
+ demux-gif.patch
subreader-fix-srt-parsing.patch)
options=('!buildflags' '!emptydirs')
install=mplayer-vaapi.install
-sha256sums=('a6c645625cc2cd6ca48764db302c926049f831e757857ece351b37b674e05e56'
+sha256sums=('5747c28c30c15d1000fb655a8abaa4b22483746d0e82775b27466948ae0c549a'
+ 'SKIP'
'72e6c654f9733953ad2466d0ea1a52f23e753791d8232d90f13293eb1b358720'
'5a09fb462729a4e573568f9e8c1f57dbe7f69c0b68cfa4f6d70b3e52c450d93b'
+ '6774f57c027474388497606edfccbb33509cc78b573cdc322dd0955764c6f9c2'
'8b6cd325d89ff8bce3662c6aaa9b61b8e6163c6574e09b575426a1eed02b8ad3')
prepare() {
- cd "$srcdir/mplayer-vaapi-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
patch -Np0 -i "$srcdir/cdio-includes.patch"
patch -d etc -Np0 -i "$srcdir/tweak-desktop-file.patch"
+ # https://bugs.archlinux.org/task/36039
+ patch -Np0 -i "$srcdir/demux-gif.patch"
+
# http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2139
patch -Np0 -i "$srcdir/subreader-fix-srt-parsing.patch"
}
build() {
- cd "$srcdir/mplayer-vaapi-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
./configure \
--prefix=/usr \
@@ -78,7 +85,7 @@ build() {
}
package() {
- cd "$srcdir/mplayer-vaapi-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install-mplayer install-mplayer-man
install -Dm644 etc/{codecs.conf,input.conf,example.conf} "$pkgdir/etc/mplayer/"