added my Recipes
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From db94983c93f38bd8494b47d9fa1b3e5368dc9abe Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Wed, 11 Dec 2019 01:34:01 +0100
|
||||
Subject: [PATCH] Make python path configurable
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [Configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
meson.build | 2 +-
|
||||
meson_options.txt | 2 ++
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
create mode 100644 meson_options.txt
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 5b824e9..a673d9c 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -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.get_path('purelib'))
|
||||
+pythondir = get_option('python_site_dir')
|
||||
|
||||
pkgdatadir = join_paths(datadir, meson.project_name())
|
||||
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
new file mode 100644
|
||||
index 0000000..03455ca
|
||||
--- /dev/null
|
||||
+++ b/meson_options.txt
|
||||
@@ -0,0 +1,2 @@
|
||||
+option('python_site_dir', type: 'string', value: '')
|
||||
+
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From dc9701e18775c01d0b69fabaa350147f70096da8 Mon Sep 17 00:00:00 2001
|
||||
From: Mae Dartmann <hello@maedartmann.name>
|
||||
Date: Wed, 16 Feb 2022 06:08:41 +0000
|
||||
Subject: [PATCH] meson: fix invalid positional argument
|
||||
|
||||
Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/gnome-tweaks/-/commit/dc9701e18775c01d0b69fabaa350147f70096da8]
|
||||
---
|
||||
data/meson.build | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index fd6d5da..74f7e82 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -1,5 +1,5 @@
|
||||
appdata_file = 'org.gnome.tweaks.appdata.xml'
|
||||
-i18n.merge_file(appdata_file,
|
||||
+i18n.merge_file(
|
||||
input: appdata_file + '.in',
|
||||
output: appdata_file,
|
||||
po_dir: '../po',
|
||||
@@ -8,7 +8,7 @@ i18n.merge_file(appdata_file,
|
||||
)
|
||||
|
||||
desktop_file = 'org.gnome.tweaks.desktop'
|
||||
-i18n.merge_file(desktop_file,
|
||||
+i18n.merge_file(
|
||||
input: desktop_file + '.in',
|
||||
output: desktop_file,
|
||||
po_dir: '../po',
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "GNOME tweaks: Advanced options for GNOME 3 session"
|
||||
LICENSE = "GPL-3.0-only & CC0-1.0"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/CC0-1.0;md5=65d3616852dbf7b1a6d4b53b00626032 \
|
||||
file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \
|
||||
"
|
||||
|
||||
DEPENDS = "libhandy"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit gnomebase gtk-icon-cache gobject-introspection features_check
|
||||
|
||||
# same as gnome-shell
|
||||
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
|
||||
|
||||
# gobject-introspection is mandatory and cannot be configured
|
||||
REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
|
||||
GIR_MESON_OPTION = ""
|
||||
|
||||
SRC_URI[archive.sha256sum] = "f95f3fe031b0b01c02f79a1659f889152d3772ae3e44df8403d1460ba5eec36a"
|
||||
SRC_URI += " \
|
||||
file://0001-Make-python-path-configurable.patch \
|
||||
file://0002-meson-fix-invalid-positional-argument.patch \
|
||||
"
|
||||
|
||||
EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/metainfo \
|
||||
${PYTHON_SITEPACKAGES_DIR} \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += "gnome-shell python3-core python3-logging libhandy"
|
||||
Reference in New Issue
Block a user