From c1598badd9719d6718dc2dc86b00ca2cb6640704 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 17 Oct 2019 11:04:36 +0200 Subject: [PATCH] gst1-python3: rebuild for Python 3.8. --- srcpkgs/gst1-python3/patches/python-3.8.patch | 11 +++++++++++ srcpkgs/gst1-python3/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/gst1-python3/patches/python-3.8.patch diff --git a/srcpkgs/gst1-python3/patches/python-3.8.patch b/srcpkgs/gst1-python3/patches/python-3.8.patch new file mode 100644 index 00000000000..cbf1a58ea51 --- /dev/null +++ b/srcpkgs/gst1-python3/patches/python-3.8.patch @@ -0,0 +1,11 @@ +--- 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') diff --git a/srcpkgs/gst1-python3/template b/srcpkgs/gst1-python3/template index a10ac61485f..f7e06c33ab9 100644 --- a/srcpkgs/gst1-python3/template +++ b/srcpkgs/gst1-python3/template @@ -1,7 +1,7 @@ # Template file for 'gst1-python3' pkgname=gst1-python3 version=1.16.2 -revision=1 +revision=2 wrksrc="gst-python-${version}" build_style=meson pycompile_module="gi/overrides"