blob: 2920581c51e1f6174e2ea2d26c1285b85f018042 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "UPnP framework"
2DESCRIPTION = "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."
3LICENSE = "LGPLv2+"
4
5DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2"
6
Andrew Geissler82c905d2020-04-13 13:39:40 -05007inherit meson pkgconfig vala gobject-introspection
Patrick Williamsb48b7b42016-08-17 15:04:38 -05008
9FILES_${PN} = "${libdir}/*.so.*"
Andrew Geissler82c905d2020-04-13 13:39:40 -050010FILES_${PN}-dev += "${bindir}/gupnp-binding-tool*"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
Andrew Geissler82c905d2020-04-13 13:39:40 -050012RDEPENDS_${PN}-dev = "python3 python3-xml"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013
14SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
15
16gupnp_sysroot_preprocess () {
17 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
Andrew Geissler82c905d2020-04-13 13:39:40 -050018 install -m 755 ${D}${bindir}/gupnp-binding-tool* ${SYSROOT_DESTDIR}${bindir_crossscripts}/
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019}