From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 02/12] package/pango: enable gobject-introspection support
Date: Tue, 31 Mar 2020 17:21:24 -0700 [thread overview]
Message-ID: <20200401002134.1779241-2-aduskett@gmail.com> (raw)
In-Reply-To: <20200401002134.1779241-1-aduskett@gmail.com>
From: Adam Duskett <Aduskett@gmail.com>
If gobject-introspection is selected, add the gobject-introspection package to
the dependency list and set the conf opt --enable-introspection for both host
and target.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
package/pango/pango.mk | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/package/pango/pango.mk b/package/pango/pango.mk
index 48edd18b05..046501da30 100644
--- a/package/pango/pango.mk
+++ b/package/pango/pango.mk
@@ -12,8 +12,8 @@ PANGO_INSTALL_STAGING = YES
PANGO_LICENSE = LGPL-2.0+
PANGO_LICENSE_FILES = COPYING
-PANGO_CONF_OPTS = -Duse_fontconfig=true -Dintrospection=false
-HOST_PANGO_CONF_OPTS = -Duse_fontconfig=true -Dintrospection=false
+PANGO_CONF_OPTS = -Duse_fontconfig=true
+HOST_PANGO_CONF_OPTS = -Duse_fontconfig=true
PANGO_DEPENDENCIES = \
$(TARGET_NLS_DEPENDENCIES) \
@@ -33,6 +33,16 @@ HOST_PANGO_DEPENDENCIES = \
host-fontconfig \
host-freetype
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+PANGO_CONF_OPTS += -Dintrospection=true
+HOST_PANGO_CONF_OPTS += -Dintrospection=true
+PANGO_DEPENDENCIES += gobject-introspection
+HOST_PANGO_DEPENDENCIES += host-gobject-introspection
+else
+PANGO_CONF_OPTS += -Dintrospection=false
+HOST_PANGO_CONF_OPTS += -Dintrospection=false
+endif
+
ifeq ($(BR2_PACKAGE_XORG7),y)
PANGO_DEPENDENCIES += xlib_libX11
endif
--
2.25.1
next prev parent reply other threads:[~2020-04-01 0:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 0:21 [Buildroot] [PATCH 01/12] package/libsecret: enable gobject-introspection support aduskett at gmail.com
2020-04-01 0:21 ` aduskett at gmail.com [this message]
2020-04-01 5:22 ` [Buildroot] [PATCH 02/12] package/pango: " Thomas Petazzoni
2020-04-01 0:21 ` [Buildroot] [PATCH 03/12] package/libgtk2: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 04/12] package/libgtk3: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 05/12] package/json-glib: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 06/12] package/gcr: " aduskett at gmail.com
2020-04-19 14:28 ` Thomas Petazzoni
2020-04-01 0:21 ` [Buildroot] [PATCH 07/12] package/gconf: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 08/12] package/atk: " aduskett at gmail.com
2020-05-11 5:12 ` Thomas Petazzoni
2020-04-01 0:21 ` [Buildroot] [PATCH 09/12] package/libgee: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 10/12] package/libmediaart: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 11/12] package/rygel: " aduskett at gmail.com
2020-04-01 0:21 ` [Buildroot] [PATCH 12/12] package/vte: " aduskett at gmail.com
2020-04-06 20:38 ` [Buildroot] [PATCH 01/12] package/libsecret: " 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=20200401002134.1779241-2-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