[arch-commits] Commit in gstreamer-vaapi/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Oct 9 15:39:40 UTC 2016
Date: Sunday, October 9, 2016 @ 15:39:40
Author: heftig
Revision: 277969
1.9.90+1+g9414815-1
Modified:
gstreamer-vaapi/trunk/PKGBUILD
----------+
PKGBUILD | 45 ++++++++++++++++++++++++++++++++-------------
1 file changed, 32 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-09 15:32:24 UTC (rev 277968)
+++ PKGBUILD 2016-10-09 15:39:40 UTC (rev 277969)
@@ -2,25 +2,44 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=gstreamer-vaapi
-pkgver=1.8.3
+pkgver=1.9.90+1+g9414815
pkgrel=1
-pkgdesc="GStreamer Multimedia Framework VAAPI Plugins"
+pkgdesc="GStreamer Multimedia Framework VAAPI Plugin"
+url="https://gstreamer.freedesktop.org/"
arch=(i686 x86_64)
license=(LGPL)
-url="http://gstreamer.freedesktop.org/"
depends=(gst-plugins-base gst-plugins-bad libva libxrandr libvpx)
-makedepends=(gtk-doc)
+makedepends=(gtk-doc git python)
options=(!emptydirs)
-source=($url/src/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('6cf3ded097924d23df40239c8f00811d1c727aa41cdc9baaedfc2a39ff2aac0c')
+_commit=9414815383f3531f111aacb613e0e127dffbb97a # master
+source=("git://anongit.freedesktop.org/gstreamer/gstreamer-vaapi#commit=$_commit"
+ "gst-common::git://anongit.freedesktop.org/gstreamer/common")
+sha256sums=('SKIP'
+ 'SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.common.url "$srcdir/gst-common"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-builtin-libvpx --enable-gtk-doc \
- --with-package-name="GStreamer VAAPI Plugins (Arch Linux)" \
- --with-package-origin="http://www.archlinux.org/"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --with-package-name="GStreamer VAAPI Plugin (Arch Linux)" \
+ --with-package-origin="http://www.archlinux.org/" \
+ --disable-builtin-libvpx \
+ --enable-experimental --enable-gtk-doc --disable-static
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -29,11 +48,11 @@
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
make check
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list