* [Buildroot] [git commit] gvfs: enable gphoto2
@ 2018-10-20 16:04 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2018-10-20 16:04 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=4439eda857b8b59385d5b7ee6ee5bcad16466e3b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Enable gphoto2 if libgphoto2 and libgudev are available
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/gvfs/gvfs.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk
index e34033d5c7..0fdb9e1267 100644
--- a/package/gvfs/gvfs.mk
+++ b/package/gvfs/gvfs.mk
@@ -23,7 +23,6 @@ GVFS_CONF_OPTS = \
--disable-gdu \
--disable-goa \
--disable-google \
- --disable-gphoto2 \
--disable-keyring \
--disable-libmtp \
--disable-udisks2
@@ -99,6 +98,13 @@ else
GVFS_CONF_OPTS += --disable-afp
endif
+ifeq ($(BR2_PACKAGE_LIBGPHOTO2)$(BR2_PACKAGE_LIBGUDEV),yy)
+GVFS_DEPENDENCIES += libgphoto2 libgudev
+GVFS_CONF_OPTS += --enable-gphoto2
+else
+GVFS_CONF_OPTS += --disable-gphoto2
+endif
+
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
GVFS_CONF_OPTS += --enable-gtk
GVFS_DEPENDENCIES += libgtk3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-20 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-20 16:04 [Buildroot] [git commit] gvfs: enable gphoto2 Peter Korsgaard
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.