diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-10-30 15:01:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-05 15:33:59 +0000 |
commit | 824670d544986bbfc7f7e8388d13da922a076fb3 (patch) | |
tree | 3c5bec5f36c06a41927cff47a2dc72974d383148 | |
parent | 823adbe55e797ac4cec037624e28034f8271dfb8 (diff) | |
download | aports-824670d544986bbfc7f7e8388d13da922a076fb3.tar.bz2 aports-824670d544986bbfc7f7e8388d13da922a076fb3.tar.xz |
community/py3-gst: rebuild against python 3.8
claim maintainership
-rw-r--r-- | community/py-gst/APKBUILD | 6 | ||||
-rw-r--r-- | community/py-gst/python-3.8-compat.patch | 13 |
2 files changed, 17 insertions, 2 deletions
diff --git a/community/py-gst/APKBUILD b/community/py-gst/APKBUILD index 7fcd7f8c1b..568f8439b1 100644 --- a/community/py-gst/APKBUILD +++ b/community/py-gst/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=py-gst pkgver=1.16.1 -pkgrel=0 +pkgrel=1 pkgdesc="GStreamer Python binding" url="https://cgit.freedesktop.org/gstreamer/gst-python/" arch="all" @@ -12,6 +12,7 @@ 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 + python-3.8-compat.patch " builddir="$srcdir/gst-python-$pkgver" @@ -62,4 +63,5 @@ _py() { DESTDIR="$subpkgdir" ninja -C output install } -sha512sums="333000bfe964c5d94db98990e500b7f0e12ae8c8058b306bb3a822ab13c2031ea5c55c06dd55f40c66874f879d32a15bdd4f08bcd2107e1a5bb5eb90a4572691 gst-python-1.16.1.tar.xz" +sha512sums="333000bfe964c5d94db98990e500b7f0e12ae8c8058b306bb3a822ab13c2031ea5c55c06dd55f40c66874f879d32a15bdd4f08bcd2107e1a5bb5eb90a4572691 gst-python-1.16.1.tar.xz +357aea5b66c5725d0a4e7a40f96139a651d33d6bff8826276bd6d5835003fbeef04dce29880eed327fc275b20f24b4a4081a04a5b80b3c0217a157ddca1e694d python-3.8-compat.patch" diff --git a/community/py-gst/python-3.8-compat.patch b/community/py-gst/python-3.8-compat.patch new file mode 100644 index 0000000000..5ea4c9de02 --- /dev/null +++ b/community/py-gst/python-3.8-compat.patch @@ -0,0 +1,13 @@ +diff --git a/meson.build b/meson.build +index 1da81d5..6a80872 100644 +--- a/meson.build ++++ b/meson.build +@@ -24,7 +24,7 @@ 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) ++python_dep = dependency('python3-embed', fallback: ['python', 'python_dep'], required : true) + + python_abi_flags = python.get_variable('ABIFLAGS', '') + pylib_loc = get_option('libpython-dir') |