From 11ffc5d57a7db3271a60e20feeac926bb6ec79ff Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 22 Feb 2016 19:18:48 +0200 Subject: gupnp: fix gobject introspection Signed-off-by: Alexander Kanavin --- meta-multimedia/recipes-connectivity/gupnp/gupnp.inc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'meta-multimedia/recipes-connectivity/gupnp/gupnp.inc') diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc index 28e9b357b3..6ce9631616 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc @@ -2,13 +2,15 @@ SUMMARY = "UPnP framework" DESCRIPTION = "GUPnP is an elegant, object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. It provides the same set of features as libupnp, but shields the developer from most of UPnP's internals." LICENSE = "LGPLv2+" -DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gobject-introspection-stub" +DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" -require no-vala.inc +inherit autotools pkgconfig vala gobject-introspection -EXTRA_OECONF = "--disable-introspection" - -inherit autotools pkgconfig +# Copy vapigen.m4 so that it doesn't get removed by vala class +# (normally this would be the right thing to do, but in gupnp the vapigen.m4 has only a custom macro) +do_configure_prepend() { + cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true +} FILES_${PN} = "${libdir}/*.so.*" FILES_${PN}-dev += "${bindir}/gupnp-binding-tool" -- cgit v1.2.3-54-g00ecf