diff options
author | prspkt <prspkt@protonmail.com> | 2019-05-27 22:25:33 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-05-28 18:35:13 +0300 |
commit | dfd5f827fe1df7ec4b56291f8c7abe126bbe4039 (patch) | |
tree | cd292ffe3e05b149bd1b332bf2b8447c007b7659 /community/py-gst | |
parent | 208c97d815e1539633dc6d2117105ffe4e7dceb4 (diff) | |
download | aports-dfd5f827fe1df7ec4b56291f8c7abe126bbe4039.tar.bz2 aports-dfd5f827fe1df7ec4b56291f8c7abe126bbe4039.tar.xz |
community/py-gst: upgrade to 1.16.0
Diffstat (limited to 'community/py-gst')
-rw-r--r-- | community/py-gst/APKBUILD | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/community/py-gst/APKBUILD b/community/py-gst/APKBUILD index d20f335df8..8bcf4dd031 100644 --- a/community/py-gst/APKBUILD +++ b/community/py-gst/APKBUILD @@ -1,18 +1,15 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: pkgname=py-gst -pkgver=1.14.4 -pkgrel=1 +pkgver=1.16.0 +pkgrel=0 pkgdesc="GStreamer Python binding" url="https://cgit.freedesktop.org/gstreamer/gst-python/" arch="all" license="LGPL-2.1-or-later" depends="py-gobject3 gst-plugins-base" -depends_dev="" -makedepends="gstreamer-dev py-gobject3-dev python2-dev gst-plugins-base-dev - python3-dev automake autoconf libtool - " -install="" +makedepends="gst-plugins-base-dev gstreamer-dev meson py-gobject3-dev + python2-dev python3-dev" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" source="https://gstreamer.freedesktop.org/src/gst-python/gst-python-$pkgver.tar.xz " @@ -20,7 +17,6 @@ builddir="$srcdir/gst-python-$pkgver" prepare() { default_prepare - autoreconf -vif cp -r "$builddir" "$srcdir"/python2 cp -r "$builddir" "$srcdir"/python3 } @@ -38,14 +34,14 @@ _build() { local python="$1" export PYTHON=$python cd "$srcdir"/$python - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var - make + --localstatedir=/var \ + -Dpython=/usr/bin/$python \ + . output + ninja -C output } _py2() { @@ -63,7 +59,7 @@ _py() { pkgdesc="$pkgdesc (for $python)" install_if="$pkgname=$pkgver-r$pkgrel $python" cd "$srcdir"/"$python" - make DESTDIR="$subpkgdir" install + DESTDIR="$subpkgdir" ninja -C output install } -sha512sums="92ab193f47ed817afc634269967c8997a6232f965c78298f85447cff75a4245fb51e5724fd3dd0a477af5dfdd475d112502b3ab8155918f3fbebd9dd916c65e7 gst-python-1.14.4.tar.xz" +sha512sums="961cc2326a15be62ba359199ac76795bce2cf0016d71b73febf9cdf629c79975448de199752a10045444b9175078b63b165dd8de99984427caf12cf3a7eaa83c gst-python-1.16.0.tar.xz" |