package/libraw: add optional support for jpeg
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 30 Jan 2016 16:17:15 +0000 (17:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 31 Jan 2016 13:20:52 +0000 (14:20 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libraw/libraw.mk

index 106c52c487762c78d5d77076bce952ad9c451a4d..5ebc4a2de34e7ac0871247818438d48f49fbabdb 100644 (file)
@@ -26,4 +26,11 @@ else
 LIBRAW_CONF_OPTS += --disable-jasper
 endif
 
+ifeq ($(BR2_PACKAGE_JPEG),y)
+LIBRAW_CONF_OPTS += --enable-jpeg
+LIBRAW_DEPENDENCIES += jpeg
+else
+LIBRAW_CONF_OPTS += --disable-jpeg
+endif
+
 $(eval $(autotools-package))