Skip to contentSkip to conversation

package/poppler: add gobject-introspection support

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 10, 2021 – Jan 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/poppler: add gobject-introspection support

---
 package/poppler/poppler.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
package/poppler/poppler.mk +7 -1
index 0553aec87c..aba8602e06 100644
@@ -17,7 +17,6 @@ POPPLER_CONF_OPTS = \
 	-DBUILD_GTK_TESTS=OFF \
 	-DBUILD_QT5_TESTS=OFF \
 	-DBUILD_CPP_TESTS=OFF \
-	-DENABLE_GOBJECT_INTROSPECTION=OFF \
 	-DENABLE_GTK_DOC=OFF
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
@@ -35,6 +34,13 @@ else
 POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=none -DWITH_JPEG=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+POPPLER_DEPENDENCIES += gobject-introspection
+POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=ON
+else
+POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 POPPLER_DEPENDENCIES += libpng
 POPPLER_CONF_OPTS += -DWITH_PNG=ON
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/poppler: add gobject-introspection support

Quoted 4 lines · On Sun, 10 Jan 2021 20:21:24 +0100 Fabrice Fontaine…
---
 package/poppler/poppler.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com