summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb')
-rw-r--r--meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb
new file mode 100644
index 0000000000..d0f00a85e6
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.10.bb
@@ -0,0 +1,38 @@
1SUMMARY = "GNOME tweaks: Advanced options for GNOME 3 session"
2LICENSE = "GPL-3.0-only & CC0-1.0"
3LIC_FILES_CHKSUM = " \
4 file://LICENSES/CC0-1.0;md5=65d3616852dbf7b1a6d4b53b00626032 \
5 file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \
6"
7
8DEPENDS = "libhandy"
9
10
11inherit gnomebase gtk-icon-cache gobject-introspection features_check
12
13# same as gnome-shell
14REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
15
16# gobject-introspection is mandatory and cannot be configured
17REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
18GIR_MESON_OPTION = ""
19
20SRC_URI[archive.sha256sum] = "cffd3b33a399577fbb4491ce8fbd02f54c5924f1056f30114e8d420290ef23fc"
21SRC_URI += " \
22 file://0001-Make-python-path-configurable.patch \
23"
24
25EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}"
26
27# The optimised .pyc files contain buildpaths, delete them and leave the
28# normal ones to be packaged.
29do_install:append() {
30 find ${D}${PYTHON_SITEPACKAGES_DIR} -name *.opt*.pyc -delete
31}
32
33FILES:${PN} += " \
34 ${datadir}/metainfo \
35 ${PYTHON_SITEPACKAGES_DIR} \
36"
37
38RDEPENDS:${PN} += "gnome-shell python3-core python3-logging libhandy"