[arch-commits] Commit in gst-python/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:04:43 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:04:43
  Author: felixonmars
Revision: 399962

archrelease: copy trunk to staging-x86_64

Added:
  gst-python/repos/staging-x86_64/
  gst-python/repos/staging-x86_64/PKGBUILD
    (from rev 399961, gst-python/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: gst-python/repos/staging-x86_64/PKGBUILD (from rev 399961, gst-python/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-10 04:04:43 UTC (rev 399962)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gst-python
+pkgver=1.18.1
+pkgrel=2
+pkgdesc="Multimedia graph framework - python bindings"
+url="https://gstreamer.freedesktop.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(python-gobject gst-plugins-base-libs)
+makedepends=(git meson)
+_commit=576dbbf3a198b1759485a4232820d4c34b41365b  # tags/1.18.1^0
+source=("git+https://gitlab.freedesktop.org/gstreamer/gst-python.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}



More information about the arch-commits mailing list