summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-02-22 19:18:48 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2016-03-14 12:15:27 +0100
commit11ffc5d57a7db3271a60e20feeac926bb6ec79ff (patch)
tree023b9d1a7c53004e455fb36eccfb7114a2a14c63 /meta-multimedia
parent7bfeb7d3ac1724ebafdfdbabf19871988939abbd (diff)
downloadmeta-openembedded-11ffc5d57a7db3271a60e20feeac926bb6ec79ff.tar.gz
gupnp: fix gobject introspection
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gssdp.inc12
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp-av.inc9
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.9.4.bb4
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_0.2.2.bb6
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp.inc12
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/no-vala.inc5
6 files changed, 25 insertions, 23 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp.inc b/meta-multimedia/recipes-connectivity/gupnp/gssdp.inc
index ae965b996..5a4939cce 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gssdp.inc
+++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp.inc
@@ -2,13 +2,15 @@ SUMMARY = "Resource discovery and announcement over SSDP"
2DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)." 2DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
3LICENSE = "LGPLv2" 3LICENSE = "LGPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" 4LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
5DEPENDS = "glib-2.0 libsoup-2.4 gobject-introspection-stub" 5DEPENDS = "glib-2.0 libsoup-2.4"
6 6
7inherit autotools pkgconfig 7inherit autotools pkgconfig gobject-introspection vala
8 8
9require no-vala.inc 9# Copy vapigen.m4 so that it doesn't get removed by vala class
10 10# (normally this would be the right thing to do, but in gssdp the vapigen.m4 has only a custom macro)
11EXTRA_OECONF = "--disable-introspection" 11do_configure_prepend() {
12 cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
13}
12 14
13PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}" 15PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}"
14PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+" 16PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-av.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp-av.inc
index b07615585..054450156 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-av.inc
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp-av.inc
@@ -3,6 +3,11 @@ DESCRIPTION = "GUPnP-AV is a collection of helpers for building AV (audio/video)
3LICENSE = "LGPLv2" 3LICENSE = "LGPLv2"
4DEPENDS = "gupnp" 4DEPENDS = "gupnp"
5 5
6inherit autotools pkgconfig 6inherit autotools pkgconfig gobject-introspection vala
7
8# Copy vapigen.m4 so that it doesn't get removed by vala class
9# (normally this would be the right thing to do, but in gupnp-av the vapigen.m4 has only a custom macro)
10do_configure_prepend() {
11 cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
12}
7 13
8require no-vala.inc
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.9.4.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.9.4.bb
index 17ec52f07..053604e12 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.9.4.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.9.4.bb
@@ -9,9 +9,7 @@ SRC_URI = "http://download.gnome.org/sources/${BPN}/0.9/${BPN}-${PV}.tar.xz"
9SRC_URI[md5sum] = "f93665e535a512e4d515a86311435cb6" 9SRC_URI[md5sum] = "f93665e535a512e4d515a86311435cb6"
10SRC_URI[sha256sum] = "69969713f36c0e815fbbbcfdfb3ad9bd447cfd10d0fd86227d82dfd8edb6c807" 10SRC_URI[sha256sum] = "69969713f36c0e815fbbbcfdfb3ad9bd447cfd10d0fd86227d82dfd8edb6c807"
11 11
12inherit autotools pkgconfig 12inherit autotools pkgconfig gobject-introspection vala
13
14require no-vala.inc
15 13
16PACKAGECONFIG ?= "gstreamer" 14PACKAGECONFIG ?= "gstreamer"
17PACKAGECONFIG[gstreamer] = "--enable-gstreamer-metadata-backend,--disable-gstreamer-metadata-backend,gstreamer1.0 gstreamer1.0-plugins-base" 15PACKAGECONFIG[gstreamer] = "--enable-gstreamer-metadata-backend,--disable-gstreamer-metadata-backend,gstreamer1.0 gstreamer1.0-plugins-base"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_0.2.2.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_0.2.2.bb
index 667f7ef08..0cc4a3a22 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_0.2.2.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_0.2.2.bb
@@ -3,12 +3,12 @@ LICENSE = "LGPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 3LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
4 file://libgupnp-igd/gupnp-simple-igd.c;beginline=1;endline=21;md5=aa292c0d9390463a6e1055dc5fc68e80" 4 file://libgupnp-igd/gupnp-simple-igd.c;beginline=1;endline=21;md5=aa292c0d9390463a6e1055dc5fc68e80"
5 5
6DEPENDS = "glib-2.0 gupnp gobject-introspection-stub-native sqlite3" 6DEPENDS = "glib-2.0 gupnp sqlite3"
7 7
8SRC_URI = "http://download.gnome.org/sources/${BPN}/0.2/${BPN}-${PV}.tar.xz" 8SRC_URI = "http://download.gnome.org/sources/${BPN}/0.2/${BPN}-${PV}.tar.xz"
9SRC_URI[md5sum] = "f881323304185c02634034e3bda714ba" 9SRC_URI[md5sum] = "f881323304185c02634034e3bda714ba"
10SRC_URI[sha256sum] = "73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3" 10SRC_URI[sha256sum] = "73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3"
11 11
12inherit autotools pkgconfig 12inherit autotools pkgconfig gtk-doc gobject-introspection
13 13
14EXTRA_OECONF = "--disable-introspection --disable-python" 14EXTRA_OECONF = "--disable-python"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
index 28e9b357b..6ce963161 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
@@ -2,13 +2,15 @@ SUMMARY = "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." 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+" 3LICENSE = "LGPLv2+"
4 4
5DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gobject-introspection-stub" 5DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2"
6 6
7require no-vala.inc 7inherit autotools pkgconfig vala gobject-introspection
8 8
9EXTRA_OECONF = "--disable-introspection" 9# Copy vapigen.m4 so that it doesn't get removed by vala class
10 10# (normally this would be the right thing to do, but in gupnp the vapigen.m4 has only a custom macro)
11inherit autotools pkgconfig 11do_configure_prepend() {
12 cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
13}
12 14
13FILES_${PN} = "${libdir}/*.so.*" 15FILES_${PN} = "${libdir}/*.so.*"
14FILES_${PN}-dev += "${bindir}/gupnp-binding-tool" 16FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/no-vala.inc b/meta-multimedia/recipes-connectivity/gupnp/no-vala.inc
deleted file mode 100644
index 5a45cd125..000000000
--- a/meta-multimedia/recipes-connectivity/gupnp/no-vala.inc
+++ /dev/null
@@ -1,5 +0,0 @@
1do_configure_prepend () {
2 # Vala needs gobject-introspection so won't work. Instead of depending
3 # on vala-native just to run configure, comment out the Vala macro.
4 sed -i -e 's/\(^[ \t]*VALA_PROG_VAPIGEN\)/dnl \1/g' ${S}/configure.ac
5}