Date: Thursday, May 4, 2017 @ 21:17:18
  Author: heftig
Revision: 295293

archrelease: copy trunk to staging-i686, staging-x86_64

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

-------------------------+
 staging-i686/PKGBUILD   |   66 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   66 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 132 insertions(+)

Copied: gst-python/repos/staging-i686/PKGBUILD (from rev 295292, 
gst-python/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2017-05-04 21:17:18 UTC (rev 295293)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgbase=gst-python
+pkgname=(gst-python gst-python2)
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="GStreamer Python binding overrides"
+url="https://gstreamer.freedesktop.org/";
+arch=(i686 x86_64)
+license=(LGPL)
+makedepends=(pkg-config python-gobject python2-gobject gst-plugins-base git)
+_commit=6981cbfbab74098a93c517b6e3f4ad6e25e4194e  # tags/1.12.0^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-python#commit=$_commit";
+        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common";)
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgbase
+
+  git submodule init
+  git config --local submodule.common.url "$srcdir/gst-common"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+
+_build() (
+  cd $1
+  ../$pkgbase/configure --prefix=/usr
+  make
+)
+
+build() {
+  _build py3
+  PYTHON=python2 _build py2
+}
+
+check() {
+  make -C py3 check
+  make -C py2 check
+}
+
+package_gst-python() {
+  pkgdesc="${pkgdesc//Python/Python 3}"
+  depends=(python-gobject gst-plugins-base)
+
+  make -C py3 DESTDIR="$pkgdir" install
+}
+
+package_gst-python2() {
+  pkgdesc="${pkgdesc//Python/Python 2}"
+  depends=(python2-gobject gst-plugins-base)
+
+  make -C py2 DESTDIR="$pkgdir" install
+}

Copied: gst-python/repos/staging-x86_64/PKGBUILD (from rev 295292, 
gst-python/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2017-05-04 21:17:18 UTC (rev 295293)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgbase=gst-python
+pkgname=(gst-python gst-python2)
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="GStreamer Python binding overrides"
+url="https://gstreamer.freedesktop.org/";
+arch=(i686 x86_64)
+license=(LGPL)
+makedepends=(pkg-config python-gobject python2-gobject gst-plugins-base git)
+_commit=6981cbfbab74098a93c517b6e3f4ad6e25e4194e  # tags/1.12.0^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-python#commit=$_commit";
+        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common";)
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgbase
+
+  git submodule init
+  git config --local submodule.common.url "$srcdir/gst-common"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+
+_build() (
+  cd $1
+  ../$pkgbase/configure --prefix=/usr
+  make
+)
+
+build() {
+  _build py3
+  PYTHON=python2 _build py2
+}
+
+check() {
+  make -C py3 check
+  make -C py2 check
+}
+
+package_gst-python() {
+  pkgdesc="${pkgdesc//Python/Python 3}"
+  depends=(python-gobject gst-plugins-base)
+
+  make -C py3 DESTDIR="$pkgdir" install
+}
+
+package_gst-python2() {
+  pkgdesc="${pkgdesc//Python/Python 2}"
+  depends=(python2-gobject gst-plugins-base)
+
+  make -C py2 DESTDIR="$pkgdir" install
+}

Reply via email to