All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 9/9] package/darktable: add libgphoto2 optional dependency
Date: Sun,  5 Mar 2017 16:10:04 +0100	[thread overview]
Message-ID: <20170305151004.2815-9-romain.naour@gmail.com> (raw)
In-Reply-To: <20170305151004.2815-1-romain.naour@gmail.com>

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jeremy Rosen <jeremy.rosen@enst-bretagne.fr>
---
 package/darktable/darktable.mk | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/package/darktable/darktable.mk b/package/darktable/darktable.mk
index de08af0..fab5fdd 100644
--- a/package/darktable/darktable.mk
+++ b/package/darktable/darktable.mk
@@ -29,7 +29,6 @@ DARKTABLE_DEPENDENCIES = host-gettext host-intltool host-libxml2 host-libxslt \
 
 # Disable cmstest: needs colord.
 # Disable print module: needs cups.
-# Disable Camera support: needs Gphoto2.
 # Disable colord: needs libcolord-gtk.
 # Disable Map View parts: needs libosmgpsmap.
 # Disable OpenCL support (needs llvm compiler).
@@ -40,7 +39,6 @@ DARKTABLE_CONF_OPTS = \
 	-DBUILD_PRINT=OFF \
 	-DBUILD_USERMANUAL=OFF \
 	-DCUSTOM_CFLAGS=ON \
-	-DUSE_CAMERA_SUPPORT=OFF \
 	-DUSE_COLORD=OFF \
 	-DUSE_GRAPHICSMAGICK=OFF \
 	-DUSE_KWALLET=OFF \
@@ -64,6 +62,13 @@ else
 DARKTABLE_CONF_OPTS += -DUSE_FLICKR=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGPHOTO2),y)
+DARKTABLE_CONF_OPTS += -DUSE_CAMERA_SUPPORT=ON
+DARKTABLE_DEPENDENCIES += libgphoto2
+else
+DARKTABLE_CONF_OPTS += -DUSE_CAMERA_SUPPORT=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSECRET),y)
 DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=ON
 DARKTABLE_DEPENDENCIES += libsecret
-- 
2.9.3

  parent reply	other threads:[~2017-03-05 15:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-05 15:09 [Buildroot] [PATCH 1/9] package/lensfun: new package Romain Naour
2017-03-05 15:09 ` [Buildroot] [PATCH 2/9] package/darktable: " Romain Naour
2017-03-05 16:44   ` Baruch Siach
2017-06-05 18:44     ` Bernd Kuhls
2017-06-12 21:34       ` Romain Naour
2017-03-05 15:09 ` [Buildroot] [PATCH 3/9] package/darktable: add webp optional dependency Romain Naour
2017-03-05 15:09 ` [Buildroot] [PATCH 4/9] package/darktable: add libsecret " Romain Naour
2017-03-05 15:10 ` [Buildroot] [PATCH 5/9] package/darktable: add flickcurl " Romain Naour
2017-03-05 15:10 ` [Buildroot] [PATCH 6/9] package/darktable: add openjpeg " Romain Naour
2017-03-05 15:10 ` [Buildroot] [PATCH 7/9] package/darktable: add libsoup " Romain Naour
2017-03-05 15:10 ` [Buildroot] [PATCH 8/9] package/libgphoto2: new package Romain Naour
2017-03-05 15:10 ` Romain Naour [this message]
2017-03-05 16:37 ` [Buildroot] [PATCH 1/9] package/lensfun: " Baruch Siach
2017-03-05 16:42   ` Romain Naour
2017-03-29 19:50 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170305151004.2815-9-romain.naour@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.