summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2017-12-02 13:08:49 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-02 14:43:41 +0100
commit8b9f4d5a9dd73ae31bd213e7a2a8c6507fa924e2 (patch)
tree226a3da26c9b0a09668f7b3715c5b2cde74696eb
parentc599a3e3aa3bb66c13b1596936b7d9f870a30c57 (diff)
downloadbuildroot-8b9f4d5a9dd73ae31bd213e7a2a8c6507fa924e2.tar.gz
buildroot-8b9f4d5a9dd73ae31bd213e7a2a8c6507fa924e2.zip
motion: add webp support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/motion/motion.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/motion/motion.mk b/package/motion/motion.mk
index dfbb70d64b..03144065cc 100644
--- a/package/motion/motion.mk
+++ b/package/motion/motion.mk
@@ -48,6 +48,13 @@ else
MOTION_CONF_OPTS += --without-sqlite3
endif
+ifeq ($(BR2_PACKAGE_WEBP_MUX),y)
+MOTION_DEPENDENCIES += webp
+MOTION_CONF_OPTS += --with-webp
+else
+MOTION_CONF_OPTS += --without-webp
+endif
+
# Do not use default install target as it installs many unneeded files and
# directories: docs, examples and init scripts
define MOTION_INSTALL_TARGET_CMDS
OpenPOWER on IntegriCloud