- Add glade-python3.patch for SLE. Pass python3 to the meson python module, to avoid pulling in python 3.11. OBS-URL: https://build.opensuse.org/request/show/1148358 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glade?expand=0&rev=85
13 lines
698 B
Diff
13 lines
698 B
Diff
diff -urp glade-3.40.0.orig/meson.build glade-3.40.0/meson.build
|
|
--- glade-3.40.0.orig/meson.build 2022-08-10 15:24:25.000000000 -0500
|
|
+++ glade-3.40.0/meson.build 2024-02-20 16:30:08.868048755 -0600
|
|
@@ -153,7 +153,7 @@ pygobject_version = '3.8.0'
|
|
pygobject_dep = dependency('pygobject-3.0', version: '>= ' + pygobject_version, required: get_option('python'))
|
|
have_python = pygobject_dep.found()
|
|
if have_python
|
|
- python_dep = import('python').find_installation().dependency(embed: true)
|
|
+ python_dep = import('python').find_installation('python3').dependency(embed: true)
|
|
|
|
version_array = pygobject_version.split('.')
|
|
config_h.set('PYGOBJECT_REQUIRED_MAJOR', version_array[0].to_int())
|