[arch-commits] Commit in gst-python/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Jun 20 15:36:54 UTC 2017


    Date: Tuesday, June 20, 2017 @ 15:36:53
  Author: heftig
Revision: 299064

1.12.1-1

Modified:
  gst-python/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-20 15:31:44 UTC (rev 299063)
+++ PKGBUILD	2017-06-20 15:36:53 UTC (rev 299064)
@@ -5,7 +5,7 @@
 
 pkgbase=gst-python
 pkgname=(gst-python gst-python2)
-pkgver=1.12.0
+pkgver=1.12.1
 pkgrel=1
 pkgdesc="GStreamer Python binding overrides"
 url="https://gstreamer.freedesktop.org/"
@@ -12,7 +12,7 @@
 arch=(i686 x86_64)
 license=(LGPL)
 makedepends=(pkg-config python-gobject python2-gobject gst-plugins-base git)
-_commit=6981cbfbab74098a93c517b6e3f4ad6e25e4194e  # tags/1.12.0^0
+_commit=df609ea50266a77796e46302a57e2545c9fc9447  # tags/1.12.1^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'
@@ -24,7 +24,6 @@
 }
 
 prepare() {
-  mkdir py2 py3
   cd $pkgbase
 
   git submodule init
@@ -32,23 +31,27 @@
   git submodule update
 
   NOCONFIGURE=1 ./autogen.sh
+
+  cd ..
+  cp -a $pkgbase py2
+  cp -a $pkgbase py3
 }
 
 
 _build() (
   cd $1
-  ../$pkgbase/configure --prefix=/usr
+  ./configure --prefix=/usr
   make
 )
 
 build() {
-  _build py3
+  PYTHON=python3 _build py3
   PYTHON=python2 _build py2
 }
 
 check() {
   make -C py3 check
-  make -C py2 check
+  #make -C py2 check
 }
 
 package_gst-python() {



More information about the arch-commits mailing list