summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-11-07 08:28:43 +0100
committerKhem Raj <raj.khem@gmail.com>2023-11-07 23:11:24 -0800
commit94169fd3f828399926cabaf863ff048223faa14f (patch)
tree49f672ce37362a94aae3a42aa16886f89f084fa0 /meta-gnome
parent0fe18c01f3029751acf292a27b8e667d35e732d8 (diff)
downloadmeta-openembedded-94169fd3f828399926cabaf863ff048223faa14f.tar.gz
rest: Add packageconfigs for examples and tests
Motivation is to not install rest-demos by default. Allow to build doc and vapi according to DISTRO_FEATURES Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/rest/rest_0.9.1.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb
index 375417d5f..3a81a58f6 100644
--- a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb
+++ b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb
@@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
6GNOMEBASEBUILDCLASS = "meson" 6GNOMEBASEBUILDCLASS = "meson"
7 7
8DEPENDS = " \ 8DEPENDS = " \
9 gi-docgen \
10 gi-docgen-native \
11 glib-2.0 \ 9 glib-2.0 \
12 glib-2.0-native \ 10 glib-2.0-native \
13 gtksourceview5 \ 11 gtksourceview5 \
@@ -17,6 +15,12 @@ DEPENDS = " \
17 libxml2-native \ 15 libxml2-native \
18" 16"
19 17
20inherit gnomebase gobject-introspection vala pkgconfig 18inherit gnomebase gobject-introspection vala pkgconfig gi-docgen
19
20EXTRA_OEMESON = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}"
21
22PACKAGECONFIG ?= ""
23PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
24PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
21 25
22SRC_URI[archive.sha256sum] = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3" 26SRC_URI[archive.sha256sum] = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3"