summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-02-17 22:05:39 -0800
committerKhem Raj <raj.khem@gmail.com>2020-02-17 22:27:14 -0800
commit7672f53cb601bab663dd24a16b5d8041f8b4f0f6 (patch)
treeede770201646ef01c1f829cb9895319e5e34bfc6 /meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
parent0bb390bbb5962f04014a6d49439fd6e3c6ae3ea2 (diff)
downloadmeta-openembedded-7672f53cb601bab663dd24a16b5d8041f8b4f0f6.tar.gz
gupnp: Upgrade to 1.2.2
Switch to using meson Depend on py3 since its now supported Relax packaging to include version number in gupnp-binding-tool Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-connectivity/gupnp/gupnp.inc')
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp.inc14
1 files changed, 4 insertions, 10 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
index 6ce9631616..2920581c51 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
@@ -4,22 +4,16 @@ LICENSE = "LGPLv2+"
4 4
5DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" 5DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2"
6 6
7inherit autotools pkgconfig vala gobject-introspection 7inherit meson pkgconfig vala gobject-introspection
8
9# Copy vapigen.m4 so that it doesn't get removed by vala class
10# (normally this would be the right thing to do, but in gupnp the vapigen.m4 has only a custom macro)
11do_configure_prepend() {
12 cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
13}
14 8
15FILES_${PN} = "${libdir}/*.so.*" 9FILES_${PN} = "${libdir}/*.so.*"
16FILES_${PN}-dev += "${bindir}/gupnp-binding-tool" 10FILES_${PN}-dev += "${bindir}/gupnp-binding-tool*"
17 11
18RDEPENDS_${PN}-dev = "python-textutils python-xml" 12RDEPENDS_${PN}-dev = "python3 python3-xml"
19 13
20SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" 14SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
21 15
22gupnp_sysroot_preprocess () { 16gupnp_sysroot_preprocess () {
23 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ 17 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
24 install -m 755 ${D}${bindir}/gupnp-binding-tool ${SYSROOT_DESTDIR}${bindir_crossscripts}/ 18 install -m 755 ${D}${bindir}/gupnp-binding-tool* ${SYSROOT_DESTDIR}${bindir_crossscripts}/
25} 19}