From ac7ddd919c000dc2ded446c92aab7bfa5ae3df07 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Fri, 31 Dec 2021 18:29:28 +0100 Subject: gupnp: merge recipe with inc-file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- meta-multimedia/recipes-connectivity/gupnp/gupnp.inc | 19 ------------------- .../recipes-connectivity/gupnp/gupnp_1.4.1.bb | 20 ++++++++++++++++++-- 2 files changed, 18 insertions(+), 21 deletions(-) delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp.inc (limited to 'meta-multimedia/recipes-connectivity') diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc deleted file mode 100644 index 2389c3d081..0000000000 --- a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc +++ /dev/null @@ -1,19 +0,0 @@ -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 = "LGPL-2.1-or-later" - -DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" - -inherit meson pkgconfig vala gobject-introspection - -FILES:${PN} = "${libdir}/*.so.*" -FILES:${PN}-dev += "${bindir}/gupnp-binding-tool*" - -RDEPENDS:${PN}-dev = "python3 python3-xml" - -SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" - -gupnp_sysroot_preprocess () { - install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ - install -m 755 ${D}${bindir}/gupnp-binding-tool* ${SYSROOT_DESTDIR}${bindir_crossscripts}/ -} diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb index 746337b7ee..708e3844ff 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb @@ -1,6 +1,22 @@ -require gupnp.inc +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 = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" + +inherit meson pkgconfig vala gobject-introspection SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz" SRC_URI[sha256sum] = "899196b5e66f03b8e25f046a7a658cd2a6851becb83f2d55345ab3281655dc0c" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" + +gupnp_sysroot_preprocess () { + install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ + install -m 755 ${D}${bindir}/gupnp-binding-tool* ${SYSROOT_DESTDIR}${bindir_crossscripts}/ +} + +FILES:${PN}-dev += "${bindir}/gupnp-binding-tool*" + +RDEPENDS:${PN}-dev = "python3 python3-xml" -- cgit 1.2.3-korg