[arch-commits] Commit in gstreamer/repos (3 files)
Jan Steffens
heftig at archlinux.org
Mon Apr 22 20:32:22 UTC 2019
Date: Monday, April 22, 2019 @ 20:32:05
Author: heftig
Revision: 351939
archrelease: copy trunk to testing-x86_64
Added:
gstreamer/repos/testing-x86_64/
gstreamer/repos/testing-x86_64/PKGBUILD
(from rev 351938, gstreamer/trunk/PKGBUILD)
gstreamer/repos/testing-x86_64/gstreamer.install
(from rev 351938, gstreamer/trunk/gstreamer.install)
-------------------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
gstreamer.install | 7 +++++++
2 files changed, 59 insertions(+)
Copied: gstreamer/repos/testing-x86_64/PKGBUILD (from rev 351938, gstreamer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-04-22 20:32:05 UTC (rev 351939)
@@ -0,0 +1,52 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gstreamer
+pkgver=1.16.0
+pkgrel=1
+pkgdesc="GStreamer open-source multimedia framework core library"
+url="https://gstreamer.freedesktop.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(libxml2 glib2 libunwind libcap libelf)
+makedepends=(gtk-doc gobject-introspection git valgrind bash-completion meson)
+checkdepends=(gmp gsl gtk3)
+_commit=89c221a6972513f629c969f5485f37e77ccfa6e1 # tags/1.16.0^0
+install=gstreamer.install
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
+ "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
+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
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D ptp-helper-permissions=capabilities \
+ -D dbghelp=disabled \
+ -D gobject-cast-checks=disabled \
+ -D glib-asserts=disabled \
+ -D glib-checks=disabled \
+ -D package-name="GStreamer (Arch Linux)" \
+ -D package-origin="https://www.archlinux.org/"
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
Copied: gstreamer/repos/testing-x86_64/gstreamer.install (from rev 351938, gstreamer/trunk/gstreamer.install)
===================================================================
--- testing-x86_64/gstreamer.install (rev 0)
+++ testing-x86_64/gstreamer.install 2019-04-22 20:32:05 UTC (rev 351939)
@@ -0,0 +1,7 @@
+post_install() {
+ setcap cap_net_bind_service,cap_net_admin+ep usr/lib/gstreamer-1.0/gst-ptp-helper
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list