summaryrefslogtreecommitdiff
path: root/package/libraw/libraw.mk
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-30 17:17:14 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-01-31 14:20:47 +0100
commite712000dbeb97c336802b6ee8c0fbba1a0836029 (patch)
treedc5a52e84ad8e7a6ce095a3d29bfc807afbb1a2f /package/libraw/libraw.mk
parent7f81111da0b14768039658508abcd47c5a98d45c (diff)
package/libraw: add optional support for jasper
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libraw/libraw.mk')
-rw-r--r--package/libraw/libraw.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk
index a4ab92f04..106c52c48 100644
--- a/package/libraw/libraw.mk
+++ b/package/libraw/libraw.mk
@@ -19,4 +19,11 @@ LIBRAW_CONF_OPTS += \
LIBRAW_LICENSE = LGPLv2.1 or CDDL 1.0 or LibRaw Software License 27032010
LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL LICENSE.LibRaw.pdf README
+ifeq ($(BR2_PACKAGE_JASPER),y)
+LIBRAW_CONF_OPTS += --enable-jasper
+LIBRAW_DEPENDENCIES += jasper
+else
+LIBRAW_CONF_OPTS += --disable-jasper
+endif
+
$(eval $(autotools-package))