diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2019-12-09 09:35:58 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-10 16:21:07 -0800 |
| commit | 019e4ad5ae63683ad9f6ec09a5d87509f9bf97b5 (patch) | |
| tree | 4ec74b4af34dfde97e8a393338acb9858fe8303b | |
| parent | a811e1a0aca97709b8b88e69914588d4d98eed39 (diff) | |
| download | meta-openembedded-019e4ad5ae63683ad9f6ec09a5d87509f9bf97b5.tar.gz | |
rest: initial add 0.8.1
It is an optional dependency for upcoming gnome-online-accounts
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/rest/rest_0.8.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/rest/rest_0.8.1.bb b/meta-gnome/recipes-gnome/rest/rest_0.8.1.bb new file mode 100644 index 0000000000..33b8744eb8 --- /dev/null +++ b/meta-gnome/recipes-gnome/rest/rest_0.8.1.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | SUMMARY = "library to access web services that claim to be "RESTful"" | ||
| 2 | HOMPAGE = "https://wiki.gnome.org/Projects/Librest" | ||
| 3 | LICENSE = "LGPLv2.1" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
| 5 | |||
| 6 | GNOMEBASEBUILDCLASS = "autotools" | ||
| 7 | |||
| 8 | DEPENDS = " \ | ||
| 9 | libxml2-native \ | ||
| 10 | glib-2.0-native \ | ||
| 11 | glib-2.0 \ | ||
| 12 | libsoup-2.4 \ | ||
| 13 | " | ||
| 14 | |||
| 15 | inherit gnomebase gobject-introspection gtk-doc vala | ||
| 16 | |||
| 17 | SRC_URI[archive.md5sum] = "ece4547298a81105f307369d73c21b9d" | ||
| 18 | SRC_URI[archive.sha256sum] = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9" | ||
| 19 | |||
| 20 | # * gnome environment requires libsoup build with in gnome PACKAGECONFIG | ||
| 21 | # * libsoup-gnome support was removed upstream three years ago [1] | ||
| 22 | # [1] https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720 | ||
| 23 | EXTRA_OECONF = "--without-gnome" | ||
| 24 | |||
| 25 | do_configure_prepend() { | ||
| 26 | # rest expects introspection.m4 at custom location (see aclocal.m4). | ||
| 27 | cp -f ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build | ||
| 28 | } | ||
| 29 | |||
| 30 | do_compile_prepend() { | ||
| 31 | export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs" | ||
| 32 | } | ||
| 33 | |||
