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 | |
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')
3 files changed, 12 insertions, 18 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc index 6ce963161..2920581c5 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 | } |
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.0.2.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.0.2.bb deleted file mode 100644 index 1bdf7d79b..000000000 --- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.0.2.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | require gupnp.inc | ||
2 | |||
3 | SRC_URI = "${GNOME_MIRROR}/${BPN}/1.0/${BPN}-${PV}.tar.xz" | ||
4 | SRC_URI[md5sum] = "afd96fe73856b38aaf1baf7526e08edd" | ||
5 | SRC_URI[sha256sum] = "5173fda779111c6b01cd4a5e41b594322be9d04f8c74d3361f0a0c2069c77610" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | ||
8 | file://libgupnp/gupnp.h;beginline=1;endline=20;md5=d78a69d9b6e63ee2dc72e7b674d97520" | ||
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.2.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.2.bb new file mode 100644 index 000000000..e60349716 --- /dev/null +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.2.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require gupnp.inc | ||
2 | |||
3 | SRC_URI = "${GNOME_MIRROR}/${BPN}/1.2/${BPN}-${PV}.tar.xz" | ||
4 | SRC_URI[md5sum] = "2ade3d29c624ad98d70113e6e93908a5" | ||
5 | SRC_URI[sha256sum] = "9a80bd953e5c8772ad26b72f8da01cbe7241a113edd6084903f413ce751c9989" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | ||
8 | file://libgupnp/gupnp.h;beginline=1;endline=20;md5=d78a69d9b6e63ee2dc72e7b674d97520" | ||