feh: add optional libexif dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 15 Sep 2018 19:52:52 +0000 (21:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 16 Sep 2018 13:39:58 +0000 (15:39 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/feh/feh.mk

index ff611924d996ac4653e003de2b7813288b14644f..3bfd427e7999645409aca28a935742444c871c99 100644 (file)
@@ -18,6 +18,13 @@ else
 FEH_MAKE_OPTS += curl=0
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEXIF),y)
+FEH_DEPENDENCIES += libexif
+FEH_MAKE_OPTS += exif=1
+else
+FEH_MAKE_OPTS += exif=0
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
 FEH_DEPENDENCIES += xlib_libXinerama
 FEH_MAKE_OPTS += xinerama=1