diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-02-22 19:18:48 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-03-14 12:15:27 +0100 |
commit | 11ffc5d57a7db3271a60e20feeac926bb6ec79ff (patch) | |
tree | 023b9d1a7c53004e455fb36eccfb7114a2a14c63 /meta-multimedia | |
parent | 7bfeb7d3ac1724ebafdfdbabf19871988939abbd (diff) | |
download | meta-openembedded-11ffc5d57a7db3271a60e20feeac926bb6ec79ff.tar.gz |
gupnp: fix gobject introspection
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-multimedia')
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" | |||
2 | DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)." | 2 | DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)." |
3 | LICENSE = "LGPLv2" | 3 | LICENSE = "LGPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" |
5 | DEPENDS = "glib-2.0 libsoup-2.4 gobject-introspection-stub" | 5 | DEPENDS = "glib-2.0 libsoup-2.4" |
6 | 6 | ||
7 | inherit autotools pkgconfig | 7 | inherit autotools pkgconfig gobject-introspection vala |
8 | 8 | ||
9 | require 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) | |
11 | EXTRA_OECONF = "--disable-introspection" | 11 | do_configure_prepend() { |
12 | cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true | ||
13 | } | ||
12 | 14 | ||
13 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}" | 15 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}" |
14 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+" | 16 | PACKAGECONFIG[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) | |||
3 | LICENSE = "LGPLv2" | 3 | LICENSE = "LGPLv2" |
4 | DEPENDS = "gupnp" | 4 | DEPENDS = "gupnp" |
5 | 5 | ||
6 | inherit autotools pkgconfig | 6 | inherit 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) | ||
10 | do_configure_prepend() { | ||
11 | cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true | ||
12 | } | ||
7 | 13 | ||
8 | require 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" | |||
9 | SRC_URI[md5sum] = "f93665e535a512e4d515a86311435cb6" | 9 | SRC_URI[md5sum] = "f93665e535a512e4d515a86311435cb6" |
10 | SRC_URI[sha256sum] = "69969713f36c0e815fbbbcfdfb3ad9bd447cfd10d0fd86227d82dfd8edb6c807" | 10 | SRC_URI[sha256sum] = "69969713f36c0e815fbbbcfdfb3ad9bd447cfd10d0fd86227d82dfd8edb6c807" |
11 | 11 | ||
12 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig gobject-introspection vala |
13 | |||
14 | require no-vala.inc | ||
15 | 13 | ||
16 | PACKAGECONFIG ?= "gstreamer" | 14 | PACKAGECONFIG ?= "gstreamer" |
17 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer-metadata-backend,--disable-gstreamer-metadata-backend,gstreamer1.0 gstreamer1.0-plugins-base" | 15 | PACKAGECONFIG[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" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | 3 | LIC_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 | ||
6 | DEPENDS = "glib-2.0 gupnp gobject-introspection-stub-native sqlite3" | 6 | DEPENDS = "glib-2.0 gupnp sqlite3" |
7 | 7 | ||
8 | SRC_URI = "http://download.gnome.org/sources/${BPN}/0.2/${BPN}-${PV}.tar.xz" | 8 | SRC_URI = "http://download.gnome.org/sources/${BPN}/0.2/${BPN}-${PV}.tar.xz" |
9 | SRC_URI[md5sum] = "f881323304185c02634034e3bda714ba" | 9 | SRC_URI[md5sum] = "f881323304185c02634034e3bda714ba" |
10 | SRC_URI[sha256sum] = "73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3" | 10 | SRC_URI[sha256sum] = "73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3" |
11 | 11 | ||
12 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig gtk-doc gobject-introspection |
13 | 13 | ||
14 | EXTRA_OECONF = "--disable-introspection --disable-python" | 14 | EXTRA_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" | |||
2 | DESCRIPTION = "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." | 2 | DESCRIPTION = "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 | LICENSE = "LGPLv2+" | 3 | LICENSE = "LGPLv2+" |
4 | 4 | ||
5 | DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gobject-introspection-stub" | 5 | DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2" |
6 | 6 | ||
7 | require no-vala.inc | 7 | inherit autotools pkgconfig vala gobject-introspection |
8 | 8 | ||
9 | EXTRA_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) | |
11 | inherit autotools pkgconfig | 11 | do_configure_prepend() { |
12 | cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true | ||
13 | } | ||
12 | 14 | ||
13 | FILES_${PN} = "${libdir}/*.so.*" | 15 | FILES_${PN} = "${libdir}/*.so.*" |
14 | FILES_${PN}-dev += "${bindir}/gupnp-binding-tool" | 16 | FILES_${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 @@ | |||
1 | do_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 | } | ||