Преглед изворни кода

webp: add an option to enable webpmux

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabrice Fontaine пре 7 година
родитељ
комит
e55d61fb97
2 измењених фајлова са 13 додато и 0 уклоњено
  1. 7 0
      package/webp/Config.in
  2. 6 0
      package/webp/webp.mk

+ 7 - 0
package/webp/Config.in

@@ -15,4 +15,11 @@ config BR2_PACKAGE_WEBP_DEMUX
 	  of an extended format WebP file, which can have features
 	  of an extended format WebP file, which can have features
 	  like color profile, metadata and animation.
 	  like color profile, metadata and animation.
 
 
+config BR2_PACKAGE_WEBP_MUX
+	bool "webpmux"
+	help
+	  Mux is a part of WebPMux for creation and manipulation
+	  of an extended format WebP file, which can have features
+	  like color profile, metadata and animation.
+
 endif
 endif

+ 6 - 0
package/webp/webp.mk

@@ -23,6 +23,12 @@ else
 WEBP_CONF_OPTS += --disable-libwebpdemux
 WEBP_CONF_OPTS += --disable-libwebpdemux
 endif
 endif
 
 
+ifeq ($(BR2_PACKAGE_WEBP_MUX),y)
+WEBP_CONF_OPTS += --enable-libwebpmux
+else
+WEBP_CONF_OPTS += --disable-libwebpmux
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 WEBP_DEPENDENCIES += libpng
 WEBP_DEPENDENCIES += libpng
 WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config
 WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config