gst1-python3: update to 1.18.3.

This commit is contained in:
Nathan Owens 2020-11-15 14:09:41 -06:00 committed by Érico Nogueira Rolim
parent 154b1515d0
commit 08d4236fd9
3 changed files with 9 additions and 28 deletions

View file

@ -1,23 +1,16 @@
# Template file for 'gst1-python'
pkgname=gst1-python
version=1.16.2
version=1.18.3
revision=1
wrksrc="gst-python-${version}"
build_style=gnu-configure
configure_args="--disable-static"
pycompile_module="gi/overrides"
build_style=meson
hostmakedepends="pkg-config python"
makedepends="libglib-devel python-gobject-devel gst-plugins-base1-devel"
depends="python-gobject"
makedepends="libglib-devel python3-gobject-devel gst-plugins-base1-devel"
depends="python3-gobject"
checkdepends="$depends"
short_desc="Python bindings for GStreamer 1.x"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gstreamer.freedesktop.org"
distfiles="${homepage}/src/gst-python/gst-python-${version}.tar.xz"
checksum=208df3148d73d9f416d016564737585d8ea763d91201732d44b5fe688c6288a8
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
fi
}
checksum=4e630735276e08ff4d70337aa5d91fd008e5f1ed3dc0993674cd5820e264259a

View file

@ -1,11 +0,0 @@
--- meson.build
+++ 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', required : true)
python_abi_flags = python.get_variable('ABIFLAGS', '')
pylib_loc = get_option('libpython-dir')

View file

@ -1,10 +1,9 @@
# Template file for 'gst1-python3'
pkgname=gst1-python3
version=1.16.2
revision=3
version=1.18.3
revision=1
wrksrc="gst-python-${version}"
build_style=meson
pycompile_module="gi/overrides"
hostmakedepends="pkg-config python3"
makedepends="libglib-devel python3-devel python3-gobject-devel gst-plugins-base1-devel"
depends="python3-gobject"
@ -13,4 +12,4 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gstreamer.freedesktop.org"
distfiles="${homepage}/src/gst-python/gst-python-${version}.tar.xz"
checksum=208df3148d73d9f416d016564737585d8ea763d91201732d44b5fe688c6288a8
checksum=4e630735276e08ff4d70337aa5d91fd008e5f1ed3dc0993674cd5820e264259a