summaryrefslogtreecommitdiff
path: root/package/libv4l
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-06-12 22:07:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-12 22:26:03 +0200
commit6609cd803a2f6eaac606a44bcd3bb886eae3badf (patch)
tree5ba9f5afed7d175a4e2f51521b8768230eab1edd /package/libv4l
parenta6af4471f081a2a40f41c644cb0d54eceee3dd1f (diff)
package/libv4l: add optional support for libgl
libv4l has optional support for OpenGL: https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n160 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libv4l')
-rw-r--r--package/libv4l/libv4l.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index e7a57f08b..a73b6cf11 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -36,6 +36,10 @@ else
LIBV4L_CONF_OPTS += --without-jpeg
endif
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
+LIBV4L_DEPENDENCIES += libgl
+endif
+
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LIBV4L_CONF_OPTS += --with-libudev
LIBV4L_DEPENDENCIES += udev