aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-gst
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-19 15:53:34 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-19 16:04:34 +0100
commit49c71d9986102598bc593ba085e420bc4acc6995 (patch)
tree357bf4ed207b9aac87da75b765e9d874d9eee7c2 /community/py-gst
parent966fc0c6ab7dd7a72557d1f12a79ce696df9da90 (diff)
downloadaports-49c71d9986102598bc593ba085e420bc4acc6995.tar.bz2
aports-49c71d9986102598bc593ba085e420bc4acc6995.tar.xz
community/py3-gst: rename from py-gst
Diffstat (limited to 'community/py-gst')
-rw-r--r--community/py-gst/APKBUILD67
-rw-r--r--community/py-gst/python-3.8-compat.patch13
2 files changed, 0 insertions, 80 deletions
diff --git a/community/py-gst/APKBUILD b/community/py-gst/APKBUILD
deleted file mode 100644
index 568f8439b1..0000000000
--- a/community/py-gst/APKBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=py-gst
-pkgver=1.16.1
-pkgrel=1
-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"
-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"
-
-prepare() {
- default_prepare
- cp -r "$builddir" "$srcdir"/python2
- cp -r "$builddir" "$srcdir"/python3
-}
-
-build() {
- _build python2
- _build python3
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_build() {
- local python="$1"
- export PYTHON=$python
- cd "$srcdir"/$python
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- -Dpython=/usr/bin/$python \
- . output
- ninja -C output
-}
-
-_py2() {
- depends="${depends//py-/py2-}"
- _py python2
-}
-
-_py3() {
- depends="${depends//py-/py3-}"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- cd "$srcdir"/"$python"
- DESTDIR="$subpkgdir" ninja -C output install
-}
-
-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
deleted file mode 100644
index 5ea4c9de02..0000000000
--- a/community/py-gst/python-3.8-compat.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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')