gnome-tweaks: upgrade 3.34.0 -> 40.0

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller
2021-11-01 12:49:29 +01:00
committed by Khem Raj
parent 295c70ec2f
commit d732137b86
2 changed files with 5 additions and 6 deletions
@@ -16,14 +16,14 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
create mode 100644 meson_options.txt
diff --git a/meson.build b/meson.build
index b7da518..d58fb5b 100644
index 5b824e9..a673d9c 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,7 @@ bindir = join_paths(prefix, get_option('bindir'))
@@ -18,7 +18,7 @@ bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
libexecdir = join_paths(prefix, get_option('libexecdir'))
localedir = join_paths(prefix, get_option('localedir'))
-pythondir = join_paths(prefix, python3.sysconfig_path('purelib'))
-pythondir = join_paths(prefix, python3.get_path('purelib'))
+pythondir = get_option('python_site_dir')
pkgdatadir = join_paths(datadir, meson.project_name())
@@ -9,7 +9,7 @@ DEPENDS = "libhandy"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gtk-icon-cache gobject-introspection features_check upstream-version-is-even
inherit gnomebase gtk-icon-cache gobject-introspection features_check
# same as gnome-shell
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
@@ -18,8 +18,7 @@ REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
UNKNOWN_CONFIGURE_WHITELIST:append = " introspection"
SRC_URI[archive.md5sum] = "a625d8b167c5549c68e1c6ac7a87d369"
SRC_URI[archive.sha256sum] = "003326fab46e6faad9485924bca503f0c583e3b4553d6f673406eda396205250"
SRC_URI[archive.sha256sum] = "f95f3fe031b0b01c02f79a1659f889152d3772ae3e44df8403d1460ba5eec36a"
SRC_URI += "file://0001-Make-python-path-configurable.patch"
EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}"