diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-02-20 09:20:35 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-02-20 23:43:43 +0100 |
commit | 076c3b0a9ad12b78ffab04036ad536f60bf588c7 (patch) | |
tree | 5f580490bcfd71b8b012852f83b3e0f43deddc7f /dev-python/gst-python | |
parent | net-misc/openssh: remove unused patches (diff) | |
download | gentoo-076c3b0a9ad12b78ffab04036ad536f60bf588c7.tar.gz gentoo-076c3b0a9ad12b78ffab04036ad536f60bf588c7.tar.bz2 gentoo-076c3b0a9ad12b78ffab04036ad536f60bf588c7.zip |
dev-python/gst-python: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/19550
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/gst-python')
-rw-r--r-- | dev-python/gst-python/files/1.16.2-python3.8.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/dev-python/gst-python/files/1.16.2-python3.8.patch b/dev-python/gst-python/files/1.16.2-python3.8.patch deleted file mode 100644 index c4b4ddd11221..000000000000 --- a/dev-python/gst-python/files/1.16.2-python3.8.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 22f28155d86e27c4134de4ed2861264003fcfd23 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> -Date: Fri, 13 Dec 2019 10:46:20 +0200 -Subject: [PATCH] Fix build with Python 3.8 by also checking for - python-3.X-embed.pc - -Since Python 3.8 the normal checks don't include the Python libraries -anymore and linking of the gst-python module would fail. - -See also https://github.com/mesonbuild/meson/issues/5629 - -Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 ---- - meson.build | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 744b7ce..fe4ca7a 100644 ---- a/meson.build -+++ b/meson.build -@@ -24,7 +24,14 @@ 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) -+pythonver = python.language_version() -+ -+# Workaround for https://github.com/mesonbuild/meson/issues/5629 -+# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 -+python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>=3', required: false) -+if not python_dep.found() -+ python_dep = python.dependency(required : true) -+endif - - python_abi_flags = python.get_variable('ABIFLAGS', '') - pylib_loc = get_option('libpython-dir') --- -2.20.1 - |