summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2025-05-17 18:51:16 +0200
committerKhem Raj <raj.khem@gmail.com>2025-05-18 09:08:10 -0700
commit19666a536e00d1fe030ee1140694729264dde223 (patch)
treec379b049419774fd04015c1b52399995c8988bca
parenta6cd3e7be1194d90bc410f04da6c30508073880e (diff)
downloadmeta-openembedded-19666a536e00d1fe030ee1140694729264dde223.tar.gz
librest: remove recipe
make rest PROVIDE librest Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/recipes-gnome/rest/librest_0.8.1.bb33
-rw-r--r--meta-gnome/recipes-gnome/rest/rest_0.9.1.bb2
2 files changed, 2 insertions, 33 deletions
diff --git a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
deleted file mode 100644
index 63372afa5d..0000000000
--- a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1SUMMARY = "library to access web services that claim to be "RESTful""
2HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
5
6DEPENDS = " \
7 glib-2.0 \
8 glib-2.0-native \
9 libsoup-2.4 \
10 libxml2 \
11"
12
13GNOMEBASEBUILDCLASS = "autotools"
14inherit gnomebase gobject-introspection vala pkgconfig gtk-doc
15
16GNOMEBN = "rest"
17
18SRC_URI[archive.sha256sum] = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9"
19
20S = "${WORKDIR}/${GNOMEBN}-${PV}"
21# * gnome environment requires libsoup build with in gnome PACKAGECONFIG
22# * libsoup-gnome support was removed upstream three years ago [1]
23# [1] https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720
24EXTRA_OECONF = "--without-gnome"
25
26do_configure:prepend() {
27 # rest expects introspection.m4 at custom location (see aclocal.m4).
28 cp -f ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build
29}
30
31do_compile:prepend() {
32 export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs"
33}
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 3b22fdfea2..0483d3070d 100644
--- a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb
+++ b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb
@@ -22,3 +22,5 @@ PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
22PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" 22PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
23 23
24SRC_URI[archive.sha256sum] = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3" 24SRC_URI[archive.sha256sum] = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3"
25
26PROVIDES = "librest"