mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/poppler: add gobject-introspection support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
635c59ef72
commit
9d1d4818c3
@@ -17,7 +17,6 @@ POPPLER_CONF_OPTS = \
|
|||||||
-DBUILD_GTK_TESTS=OFF \
|
-DBUILD_GTK_TESTS=OFF \
|
||||||
-DBUILD_QT5_TESTS=OFF \
|
-DBUILD_QT5_TESTS=OFF \
|
||||||
-DBUILD_CPP_TESTS=OFF \
|
-DBUILD_CPP_TESTS=OFF \
|
||||||
-DENABLE_GOBJECT_INTROSPECTION=OFF \
|
|
||||||
-DENABLE_GTK_DOC=OFF
|
-DENABLE_GTK_DOC=OFF
|
||||||
|
|
||||||
# cmake older than 3.10 requires this to avoid try_run() in FindThreads
|
# cmake older than 3.10 requires this to avoid try_run() in FindThreads
|
||||||
@@ -34,6 +33,13 @@ else
|
|||||||
POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=none -DWITH_JPEG=OFF
|
POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=none -DWITH_JPEG=OFF
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||||
POPPLER_DEPENDENCIES += libpng
|
POPPLER_DEPENDENCIES += libpng
|
||||||
POPPLER_CONF_OPTS += -DWITH_PNG=ON
|
POPPLER_CONF_OPTS += -DWITH_PNG=ON
|
||||||
|
|||||||
Reference in New Issue
Block a user