diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2021-12-31 18:29:28 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-05 08:17:18 -0800 |
commit | ac7ddd919c000dc2ded446c92aab7bfa5ae3df07 (patch) | |
tree | e22d5bd32abee6222edaa406e50dc79dbff31dbc | |
parent | 8dba575d94445eda4854b4c08c33103dd91392c9 (diff) | |
download | meta-openembedded-ac7ddd919c000dc2ded446c92aab7bfa5ae3df07.tar.gz |
gupnp: merge recipe with inc-file
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gupnp.inc | 19 | ||||
-rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb | 20 |
2 files changed, 18 insertions, 21 deletions
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" |