aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2015-09-02 00:01:09 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-09-10 13:55:58 +0200
commitd16db90e3111f2d191664d5773b47638b6ad6d48 (patch)
treef0932c98d93133458d1a950393e849cc108aff3d
parente5ac8f64916e2b428566cb1d08c58b1543d11ec7 (diff)
downloadbuildroot-d16db90e3111f2d191664d5773b47638b6ad6d48.tar.gz
buildroot-d16db90e3111f2d191664d5773b47638b6ad6d48.tar.bz2
directfb: add new TIFF option
[Thomas: don't enable option by default.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/directfb/Config.in4
-rw-r--r--package/directfb/directfb.mk7
2 files changed, 11 insertions, 0 deletions
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