added my Recipes
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "library to access web services that claim to be "RESTful""
|
||||
HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
|
||||
DEPENDS = " \
|
||||
gi-docgen \
|
||||
gi-docgen-native \
|
||||
glib-2.0 \
|
||||
glib-2.0-native \
|
||||
json-glib \
|
||||
libsoup-2.4 \
|
||||
libxml2-native \
|
||||
"
|
||||
|
||||
inherit gnomebase gobject-introspection vala pkgconfig
|
||||
|
||||
GNOMEBN = "rest"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9"
|
||||
|
||||
S = "${WORKDIR}/${GNOMEBN}-${PV}"
|
||||
# * gnome environment requires libsoup build with in gnome PACKAGECONFIG
|
||||
# * libsoup-gnome support was removed upstream three years ago [1]
|
||||
# [1] https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720
|
||||
EXTRA_OECONF = "--without-gnome"
|
||||
|
||||
do_configure:prepend() {
|
||||
# rest expects introspection.m4 at custom location (see aclocal.m4).
|
||||
cp -f ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build
|
||||
}
|
||||
|
||||
do_compile:prepend() {
|
||||
export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "library to access web services that claim to be "RESTful""
|
||||
HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
DEPENDS = " \
|
||||
gi-docgen \
|
||||
gi-docgen-native \
|
||||
glib-2.0 \
|
||||
glib-2.0-native \
|
||||
json-glib \
|
||||
libxml2-native \
|
||||
"
|
||||
|
||||
inherit gnomebase gobject-introspection vala pkgconfig
|
||||
|
||||
PACKAGECONFIG_SOUP ?= "soup3"
|
||||
PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}"
|
||||
|
||||
PACKAGECONFIG[soup2] = "-Dsoup2=true,,libsoup-2.4"
|
||||
PACKAGECONFIG[soup3] = "-Dsoup2=false,,libsoup-3.0"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "85b2bc9341128139539b53ee53f0533310bc96392fd645863a040410b81ebe66"
|
||||
Reference in New Issue
Block a user