directfb: add new TIFF option
authorPeter Seiderer <ps.report@gmx.net>
Tue, 1 Sep 2015 22:01:09 +0000 (00:01 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Sep 2015 11:55:58 +0000 (13:55 +0200)
[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>
package/directfb/Config.in
package/directfb/directfb.mk

index f8865e8605c7bc295ad27ad3aec09e1841ce0e26..548f602eb685caabb51cb071d19ee5bd0e0b9374 100644 (file)
@@ -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
index ea579f556f9f2133766e7277ef1e1602288e5523..5e68b7bc6d87cef32f4d398556eb7d131c7653e2 100644 (file)
@@ -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