From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 7/7] package/gupnp-dlna: add optional dependency for gobject-introspection
Date: Fri, 27 Mar 2020 11:30:00 -0700 [thread overview]
Message-ID: <20200327183000.1005676-7-aduskett@gmail.com> (raw)
In-Reply-To: <20200327183000.1005676-1-aduskett@gmail.com>
From: Adam Duskett <Aduskett@gmail.com>
If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for both gobject-introspection and
host-vala.
Host-vala is necessary because the introspection includes vala bindings files
with no way to explicitly disable them.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
package/gupnp-dlna/gupnp-dlna.mk | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/package/gupnp-dlna/gupnp-dlna.mk b/package/gupnp-dlna/gupnp-dlna.mk
index 85d30b7cd2..845667ca53 100644
--- a/package/gupnp-dlna/gupnp-dlna.mk
+++ b/package/gupnp-dlna/gupnp-dlna.mk
@@ -15,15 +15,21 @@ GUPNP_DLNA_LICENSE_FILES = COPYING
GUPNP_DLNA_INSTALL_STAGING = YES
GUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2
-GUPNP_DLNA_CONF_OPTS = \
- --disable-introspection \
- --disable-legacy-gstreamer-metadata-backend
+GUPNP_DLNA_CONF_OPTS = --disable-legacy-gstreamer-metadata-backend
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
GUPNP_DLNA_CONF_OPTS += --enable-gstreamer-metadata-backend
GUPNP_DLNA_DEPENDENCIES += gstreamer1 gst1-plugins-base
+# Gobject-introspection requires gstreamer .gir files.
+# Vala bindings are created with the .gir files.
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+GUPNP_DLNA_CONF_OPTS += --enable-introspection
+GUPNP_DLNA_DEPENDENCIES += host-vala gobject-introspection
+endif
else
-GUPNP_DLNA_CONF_OPTS += --disable-gstreamer-metadata-backend
+GUPNP_DLNA_CONF_OPTS += \
+ --disable-gstreamer-metadata-backend \
+ --disable-introspection
endif
$(eval $(autotools-package))
--
2.25.1
next prev parent reply other threads:[~2020-03-27 18:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-27 18:29 [Buildroot] [PATCH v3 1/7] package/vala/vala-wrapper: fix wrapper aduskett at gmail.com
2020-03-27 18:29 ` [Buildroot] [PATCH v3 2/7] package/vala: install wrapper to vapigen aduskett at gmail.com
2020-03-29 15:13 ` Yann E. MORIN
2020-03-27 18:29 ` [Buildroot] [PATCH v3 3/7] package/gssdp: enable vala support if gobject-introspection is selected aduskett at gmail.com
2020-03-31 21:16 ` Yann E. MORIN
2020-03-27 18:29 ` [Buildroot] [PATCH v3 4/7] package/gssdp: bump version to 1.2.2 aduskett at gmail.com
2020-03-29 19:52 ` Yann E. MORIN
2020-03-27 18:29 ` [Buildroot] [PATCH v3 5/7] package/gupnp: " aduskett at gmail.com
2020-03-27 18:29 ` [Buildroot] [PATCH v3 6/7] package/gupnp: Depend on host-vala if gobject-introspection is selected aduskett at gmail.com
2020-03-31 21:17 ` Yann E. MORIN
2020-03-27 18:30 ` aduskett at gmail.com [this message]
2020-03-29 20:42 ` [Buildroot] [PATCH v3 7/7] package/gupnp-dlna: add optional dependency for gobject-introspection Yann E. MORIN
2020-04-06 20:38 ` Thomas Petazzoni
2020-04-06 20:49 ` Yann E. MORIN
2020-03-29 14:50 ` [Buildroot] [PATCH v3 1/7] package/vala/vala-wrapper: fix wrapper Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200327183000.1005676-7-aduskett@gmail.com \
--to=aduskett@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox