[arch-commits] Commit in gst-python/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 11:36:28 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:36:28
Author: foutrelis
Revision: 429948
archrelease: copy trunk to staging-x86_64
Added:
gst-python/repos/staging-x86_64/
gst-python/repos/staging-x86_64/PKGBUILD
(from rev 429947, gst-python/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: gst-python/repos/staging-x86_64/PKGBUILD (from rev 429947, gst-python/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-12-01 11:36:28 UTC (rev 429948)
@@ -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.5
+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=3d75c6b1eefc1a4190f58ac8d4610535f1acca3f # tags/1.18.5^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() {
+ meson install -C build --destdir "$pkgdir"
+ 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