[arch-commits] Commit in gstreamer-vaapi/repos (4 files)
Jan Steffens
heftig at archlinux.org
Mon Oct 30 09:09:59 UTC 2017
Date: Monday, October 30, 2017 @ 09:09:58
Author: heftig
Revision: 308626
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gstreamer-vaapi/repos/staging-i686/
gstreamer-vaapi/repos/staging-i686/PKGBUILD
(from rev 308625, gstreamer-vaapi/trunk/PKGBUILD)
gstreamer-vaapi/repos/staging-x86_64/
gstreamer-vaapi/repos/staging-x86_64/PKGBUILD
(from rev 308625, gstreamer-vaapi/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 57 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 57 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
Copied: gstreamer-vaapi/repos/staging-i686/PKGBUILD (from rev 308625, gstreamer-vaapi/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-10-30 09:09:58 UTC (rev 308626)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gstreamer-vaapi
+pkgver=1.12.3+9+g325ecbc1
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework VAAPI Plugin"
+url="https://gstreamer.freedesktop.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(gst-plugins-base gst-plugins-bad libva libxrandr libvpx)
+makedepends=(gtk-doc git python valgrind)
+_commit=325ecbc1eed2c6a331ea8c94280c1a91613a320d # 1.12
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer-vaapi#commit=$_commit"
+ "gst-common::git+https://anongit.freedesktop.org/git/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
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --with-package-name="GStreamer VAAPI Plugin (Arch Linux)" \
+ --with-package-origin="https://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
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: gstreamer-vaapi/repos/staging-x86_64/PKGBUILD (from rev 308625, gstreamer-vaapi/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-10-30 09:09:58 UTC (rev 308626)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gstreamer-vaapi
+pkgver=1.12.3+9+g325ecbc1
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework VAAPI Plugin"
+url="https://gstreamer.freedesktop.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(gst-plugins-base gst-plugins-bad libva libxrandr libvpx)
+makedepends=(gtk-doc git python valgrind)
+_commit=325ecbc1eed2c6a331ea8c94280c1a91613a320d # 1.12
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer-vaapi#commit=$_commit"
+ "gst-common::git+https://anongit.freedesktop.org/git/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
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --with-package-name="GStreamer VAAPI Plugin (Arch Linux)" \
+ --with-package-origin="https://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
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list