[5/9] package/darktable: add flickcurl optional dependency

Submitted by Romain Naour on March 5, 2017, 3:10 p.m.

Details

Message ID 20170305151004.2815-5-romain.naour@gmail.com
State Superseded
Headers show

Commit Message

Romain Naour March 5, 2017, 3:10 p.m.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jeremy Rosen <jeremy.rosen@enst-bretagne.fr>
---
 package/darktable/darktable.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/package/darktable/darktable.mk b/package/darktable/darktable.mk
index d46032ca..0e7aa9a 100644
--- a/package/darktable/darktable.mk
+++ b/package/darktable/darktable.mk
@@ -42,7 +42,6 @@  DARKTABLE_CONF_OPTS = \
 	-DCUSTOM_CFLAGS=ON \
 	-DUSE_CAMERA_SUPPORT=OFF \
 	-DUSE_COLORD=OFF \
-	-DUSE_FLICKR=OFF \
 	-DUSE_GRAPHICSMAGICK=OFF \
 	-DUSE_KWALLET=OFF \
 	-DUSE_LUA=OFF \
@@ -59,6 +58,13 @@  else
 DARKTABLE_CONF_OPTS += -DBUILD_SSE2_CODEPATHS=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_FLICKCURL),y)
+DARKTABLE_CONF_OPTS += -DUSE_FLICKR=ON
+DARKTABLE_DEPENDENCIES += flickcurl
+else
+DARKTABLE_CONF_OPTS += -DUSE_FLICKR=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSECRET),y)
 DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=ON
 DARKTABLE_DEPENDENCIES += libsecret