gupnp: fix gobject introspection

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This commit is contained in:
Alexander Kanavin
2016-02-22 19:18:48 +02:00
committed by Martin Jansa
parent 7bfeb7d3ac
commit 11ffc5d57a
6 changed files with 25 additions and 23 deletions
@@ -2,13 +2,15 @@ SUMMARY = "Resource discovery and announcement over SSDP"
DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
DEPENDS = "glib-2.0 libsoup-2.4 gobject-introspection-stub"
DEPENDS = "glib-2.0 libsoup-2.4"
inherit autotools pkgconfig
inherit autotools pkgconfig gobject-introspection vala
require no-vala.inc
EXTRA_OECONF = "--disable-introspection"
# Copy vapigen.m4 so that it doesn't get removed by vala class
# (normally this would be the right thing to do, but in gssdp the vapigen.m4 has only a custom macro)
do_configure_prepend() {
cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
}
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}"
PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk,gtk+"
@@ -3,6 +3,11 @@ DESCRIPTION = "GUPnP-AV is a collection of helpers for building AV (audio/video)
LICENSE = "LGPLv2"
DEPENDS = "gupnp"
inherit autotools pkgconfig
inherit autotools pkgconfig gobject-introspection vala
# Copy vapigen.m4 so that it doesn't get removed by vala class
# (normally this would be the right thing to do, but in gupnp-av the vapigen.m4 has only a custom macro)
do_configure_prepend() {
cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
}
require no-vala.inc
@@ -9,9 +9,7 @@ SRC_URI = "http://download.gnome.org/sources/${BPN}/0.9/${BPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "f93665e535a512e4d515a86311435cb6"
SRC_URI[sha256sum] = "69969713f36c0e815fbbbcfdfb3ad9bd447cfd10d0fd86227d82dfd8edb6c807"
inherit autotools pkgconfig
require no-vala.inc
inherit autotools pkgconfig gobject-introspection vala
PACKAGECONFIG ?= "gstreamer"
PACKAGECONFIG[gstreamer] = "--enable-gstreamer-metadata-backend,--disable-gstreamer-metadata-backend,gstreamer1.0 gstreamer1.0-plugins-base"
@@ -3,12 +3,12 @@ LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
file://libgupnp-igd/gupnp-simple-igd.c;beginline=1;endline=21;md5=aa292c0d9390463a6e1055dc5fc68e80"
DEPENDS = "glib-2.0 gupnp gobject-introspection-stub-native sqlite3"
DEPENDS = "glib-2.0 gupnp sqlite3"
SRC_URI = "http://download.gnome.org/sources/${BPN}/0.2/${BPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "f881323304185c02634034e3bda714ba"
SRC_URI[sha256sum] = "73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3"
inherit autotools pkgconfig
inherit autotools pkgconfig gtk-doc gobject-introspection
EXTRA_OECONF = "--disable-introspection --disable-python"
EXTRA_OECONF = "--disable-python"
@@ -2,13 +2,15 @@ SUMMARY = "UPnP framework"
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."
LICENSE = "LGPLv2+"
DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gobject-introspection-stub"
DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2"
require no-vala.inc
inherit autotools pkgconfig vala gobject-introspection
EXTRA_OECONF = "--disable-introspection"
inherit autotools pkgconfig
# Copy vapigen.m4 so that it doesn't get removed by vala class
# (normally this would be the right thing to do, but in gupnp the vapigen.m4 has only a custom macro)
do_configure_prepend() {
cp -f ${S}/m4/vapigen.m4 ${S}/m4/vapigen-custom.m4 || true
}
FILES_${PN} = "${libdir}/*.so.*"
FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
@@ -1,5 +0,0 @@
do_configure_prepend () {
# Vala needs gobject-introspection so won't work. Instead of depending
# on vala-native just to run configure, comment out the Vala macro.
sed -i -e 's/\(^[ \t]*VALA_PROG_VAPIGEN\)/dnl \1/g' ${S}/configure.ac
}