[arch-commits] Commit in gst-python/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Sep 12 01:17:26 UTC 2020
Date: Saturday, September 12, 2020 @ 01:17:25
Author: heftig
Revision: 395807
archrelease: copy trunk to testing-x86_64
Added:
gst-python/repos/testing-x86_64/
gst-python/repos/testing-x86_64/PKGBUILD
(from rev 395801, gst-python/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: gst-python/repos/testing-x86_64/PKGBUILD (from rev 395801, gst-python/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-09-12 01:17:25 UTC (rev 395807)
@@ -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.0
+pkgrel=1
+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=a85f99e274fe14348645c61606463ff63ceb45eb # tags/1.18.0^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