diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-02-17 22:05:39 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-02-17 22:27:14 -0800 |
| commit | 7672f53cb601bab663dd24a16b5d8041f8b4f0f6 (patch) | |
| tree | ede770201646ef01c1f829cb9895319e5e34bfc6 /meta-multimedia/recipes-connectivity/gupnp/gupnp.inc | |
| parent | 0bb390bbb5962f04014a6d49439fd6e3c6ae3ea2 (diff) | |
| download | meta-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.inc | 14 |
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 | ||
| 5 | DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" | 5 | DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" |
| 6 | 6 | ||
| 7 | inherit autotools pkgconfig vala gobject-introspection | 7 | inherit 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) | ||
| 11 | do_configure_prepend() { | ||
| 12 | cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true | ||
| 13 | } | ||
| 14 | 8 | ||
| 15 | FILES_${PN} = "${libdir}/*.so.*" | 9 | FILES_${PN} = "${libdir}/*.so.*" |
| 16 | FILES_${PN}-dev += "${bindir}/gupnp-binding-tool" | 10 | FILES_${PN}-dev += "${bindir}/gupnp-binding-tool*" |
| 17 | 11 | ||
| 18 | RDEPENDS_${PN}-dev = "python-textutils python-xml" | 12 | RDEPENDS_${PN}-dev = "python3 python3-xml" |
| 19 | 13 | ||
| 20 | SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" | 14 | SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" |
| 21 | 15 | ||
| 22 | gupnp_sysroot_preprocess () { | 16 | gupnp_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 | } |
