aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-gst/python-3.8-compat.patch
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/py3-gst/python-3.8-compat.patch
parent966fc0c6ab7dd7a72557d1f12a79ce696df9da90 (diff)
downloadaports-49c71d9986102598bc593ba085e420bc4acc6995.tar.bz2
aports-49c71d9986102598bc593ba085e420bc4acc6995.tar.xz
community/py3-gst: rename from py-gst
Diffstat (limited to 'community/py3-gst/python-3.8-compat.patch')
-rw-r--r--community/py3-gst/python-3.8-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/py3-gst/python-3.8-compat.patch b/community/py3-gst/python-3.8-compat.patch
new file mode 100644
index 0000000000..5ea4c9de02
--- /dev/null
+++ b/community/py3-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')