From d16db90e3111f2d191664d5773b47638b6ad6d48 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Wed, 2 Sep 2015 00:01:09 +0200 Subject: [PATCH] directfb: add new TIFF option [Thomas: don't enable option by default.] Signed-off-by: Peter Seiderer Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/directfb/Config.in | 4 ++++ package/directfb/directfb.mk | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/package/directfb/Config.in b/package/directfb/Config.in index f8865e8605..548f602eb6 100644 --- a/package/directfb/Config.in +++ b/package/directfb/Config.in @@ -125,6 +125,10 @@ config BR2_PACKAGE_DIRECTFB_GIF bool "enable GIF support" default y +config BR2_PACKAGE_DIRECTFB_TIFF + bool "enable TIFF support" + select BR2_PACKAGE_TIFF + config BR2_PACKAGE_DIRECTFB_IMLIB2 bool "enable IMLIB2 support" select BR2_PACKAGE_IMLIB2 diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index ea579f556f..5e68b7bc6d 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -106,6 +106,13 @@ else DIRECTFB_CONF_OPTS += --disable-gif endif +ifeq ($(BR2_PACKAGE_DIRECTFB_TIFF),y) +DIRECTFB_CONF_OPTS += --enable-tiff +DIRECTFB_DEPENDENCIES += tiff +else +DIRECTFB_CONF_OPTS += --disable-tiff +endif + ifeq ($(BR2_PACKAGE_DIRECTFB_PNG),y) DIRECTFB_CONF_OPTS += --enable-png DIRECTFB_DEPENDENCIES += libpng -- 2.30.2