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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 3 21:19:17 UTC 2019


    Date: Sunday, November 3, 2019 @ 21:19:17
  Author: foutrelis
Revision: 366584

archrelease: copy trunk to staging-x86_64

Added:
  gst-python/repos/staging-x86_64/PKGBUILD
    (from rev 366583, gst-python/trunk/PKGBUILD)
  gst-python/repos/staging-x86_64/gst-python-3.8.patch
    (from rev 366583, gst-python/trunk/gst-python-3.8.patch)
Deleted:
  gst-python/repos/staging-x86_64/PKGBUILD
  gst-python/repos/staging-x86_64/gst-python-3.8.patch

----------------------+
 PKGBUILD             |  154 ++++++++++++++++++++++++-------------------------
 gst-python-3.8.patch |   34 +++++-----
 2 files changed, 94 insertions(+), 94 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-03 21:19:10 UTC (rev 366583)
+++ PKGBUILD	2019-11-03 21:19:17 UTC (rev 366584)
@@ -1,77 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=gst-python
-pkgname=(gst-python gst-python2)
-pkgver=1.16.1
-pkgrel=2
-pkgdesc="GStreamer Python binding overrides"
-url="https://gstreamer.freedesktop.org/"
-arch=(x86_64)
-license=(LGPL)
-makedepends=(python-gobject python2-gobject gst-plugins-base-libs git meson)
-_commit=16a98f94aaf576557505db76f9b8b5b7175de293  # tags/1.16.1^0
-source=("git+https://gitlab.freedesktop.org/gstreamer/gst-python.git#commit=$_commit"
-        "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git"
-         gst-python-3.8.patch)
-sha256sums=('SKIP'
-            'SKIP'
-            '7c916381f561fde3fade9e86a83e0d7ddb661b3e6116e95467674032a21cf8e7')
-
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-
-  git submodule init
-  git config --local submodule.common.url "$srcdir/gst-common"
-  git submodule update
-
-  patch -p1 -i ../gst-python-3.8.patch
-}
-
-_build() {
-  arch-meson $pkgbase build-$1 -D python=/usr/bin/$1
-  ninja -C build-$1
-}
-
-_check() {
-  meson test -C build-$1 --print-errorlogs
-}
-
-_package() {
-  DESTDIR="$pkgdir" meson install -C build-$1
-  $1 -m compileall -d /usr/lib "$pkgdir/usr/lib"
-  $1 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
-}
-
-build() {
-  _build python
-  _build python2
-}
-
-check() {
-  _check python
-  _check python2
-}
-
-package_gst-python() {
-  pkgdesc="${pkgdesc//Python/Python 3}"
-  depends=(python-gobject gst-plugins-base-libs)
-
-  _package python
-}
-
-package_gst-python2() {
-  pkgdesc="${pkgdesc//Python/Python 2}"
-  depends=(python2-gobject gst-plugins-base-libs)
-
-  _package python2
-
-  # Remove conflicting loader
-  rm -r "$pkgdir/usr/lib/gstreamer-1.0"
-}

Copied: gst-python/repos/staging-x86_64/PKGBUILD (from rev 366583, gst-python/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-03 21:19:17 UTC (rev 366584)
@@ -0,0 +1,77 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gst-python
+pkgname=(gst-python gst-python2)
+pkgver=1.16.1
+pkgrel=3
+pkgdesc="GStreamer Python binding overrides"
+url="https://gstreamer.freedesktop.org/"
+arch=(x86_64)
+license=(LGPL)
+makedepends=(python-gobject python2-gobject gst-plugins-base-libs git meson)
+_commit=16a98f94aaf576557505db76f9b8b5b7175de293  # tags/1.16.1^0
+source=("git+https://gitlab.freedesktop.org/gstreamer/gst-python.git#commit=$_commit"
+        "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git"
+         gst-python-3.8.patch)
+sha256sums=('SKIP'
+            'SKIP'
+            '7c916381f561fde3fade9e86a83e0d7ddb661b3e6116e95467674032a21cf8e7')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+
+  git submodule init
+  git config --local submodule.common.url "$srcdir/gst-common"
+  git submodule update
+
+  patch -p1 -i ../gst-python-3.8.patch
+}
+
+_build() {
+  arch-meson $pkgbase build-$1 -D python=/usr/bin/$1
+  ninja -C build-$1
+}
+
+_check() {
+  meson test -C build-$1 --print-errorlogs
+}
+
+_package() {
+  DESTDIR="$pkgdir" meson install -C build-$1
+  $1 -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  $1 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}
+
+build() {
+  _build python
+  _build python2
+}
+
+check() {
+  _check python
+  _check python2
+}
+
+package_gst-python() {
+  pkgdesc="${pkgdesc//Python/Python 3}"
+  depends=(python-gobject gst-plugins-base-libs)
+
+  _package python
+}
+
+package_gst-python2() {
+  pkgdesc="${pkgdesc//Python/Python 2}"
+  depends=(python2-gobject gst-plugins-base-libs)
+
+  _package python2
+
+  # Remove conflicting loader
+  rm -r "$pkgdir/usr/lib/gstreamer-1.0"
+}

Deleted: gst-python-3.8.patch
===================================================================
--- gst-python-3.8.patch	2019-11-03 21:19:10 UTC (rev 366583)
+++ gst-python-3.8.patch	2019-11-03 21:19:17 UTC (rev 366584)
@@ -1,17 +0,0 @@
-diff --git a/meson.build b/meson.build
-index 0c0a5ae..b3e66a1 100644
---- a/meson.build
-+++ b/meson.build
-@@ -24,7 +24,11 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d
- 
- pymod = import('python')
- python = pymod.find_installation(get_option('python'))
--python_dep = python.dependency(required : true)
-+if get_option('python').endswith('2')
-+  python_dep = python.dependency(required : true)
-+else
-+  python_dep = dependency('python3-embed', required : true)
-+endif
- 
- python_abi_flags = python.get_variable('ABIFLAGS', '')
- pylib_loc = get_option('libpython-dir')

Copied: gst-python/repos/staging-x86_64/gst-python-3.8.patch (from rev 366583, gst-python/trunk/gst-python-3.8.patch)
===================================================================
--- gst-python-3.8.patch	                        (rev 0)
+++ gst-python-3.8.patch	2019-11-03 21:19:17 UTC (rev 366584)
@@ -0,0 +1,17 @@
+diff --git a/meson.build b/meson.build
+index 0c0a5ae..b3e66a1 100644
+--- a/meson.build
++++ b/meson.build
+@@ -24,7 +24,11 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d
+ 
+ pymod = import('python')
+ python = pymod.find_installation(get_option('python'))
+-python_dep = python.dependency(required : true)
++if get_option('python').endswith('2')
++  python_dep = python.dependency(required : true)
++else
++  python_dep = dependency('python3-embed', required : true)
++endif
+ 
+ python_abi_flags = python.get_variable('ABIFLAGS', '')
+ pylib_loc = get_option('libpython-dir')



More information about the arch-commits mailing list