1*4882a593SmuzhiyunSUMMARY = "UPnP framework" 2*4882a593SmuzhiyunDESCRIPTION = "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." 3*4882a593SmuzhiyunLICENSE = "LGPL-2.1-or-later" 4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunDEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" 7*4882a593Smuzhiyun 8*4882a593Smuzhiyuninherit meson pkgconfig vala gobject-introspection 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunSRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz" 11*4882a593SmuzhiyunSRC_URI[sha256sum] = "899196b5e66f03b8e25f046a7a658cd2a6851becb83f2d55345ab3281655dc0c" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" 14*4882a593Smuzhiyun 15*4882a593Smuzhiyungupnp_sysroot_preprocess () { 16*4882a593Smuzhiyun install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ 17*4882a593Smuzhiyun install -m 755 ${D}${bindir}/gupnp-binding-tool* ${SYSROOT_DESTDIR}${bindir_crossscripts}/ 18*4882a593Smuzhiyun} 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunFILES:${PN}-dev += "${bindir}/gupnp-binding-tool*" 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunRDEPENDS:${PN}-dev = "python3 python3-xml" 23