]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
motion: add webp support
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 2 Dec 2017 12:08:49 +0000 (13:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Dec 2017 13:43:41 +0000 (14:43 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/motion/motion.mk

index dfbb70d64b2366a749fd6e54c57a5b32738fbd1b..03144065cc72cf75fd949365457892ea21f70b1f 100644 (file)
@@ -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