summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-10-19 22:13:15 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-10-20 18:04:48 +0200
commit4439eda857b8b59385d5b7ee6ee5bcad16466e3b (patch)
treed034ea930277948d909c753eaab50ea665773073
parent3525b366994fc43b36f85053f443d3e0b49500f7 (diff)
downloadbuildroot-4439eda857b8b59385d5b7ee6ee5bcad16466e3b.tar.gz
buildroot-4439eda857b8b59385d5b7ee6ee5bcad16466e3b.zip
gvfs: enable gphoto2
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>
-rw-r--r--package/gvfs/gvfs.mk8
1 files changed, 7 insertions, 1 deletions
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
OpenPOWER on IntegriCloud