diff mbox series

[1/1] webp: add libfreeglut optional dependency

Message ID 20171202140307.12348-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] webp: add libfreeglut optional dependency | expand

Commit Message

Fabrice Fontaine Dec. 2, 2017, 2:03 p.m. UTC
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/webp/webp.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Thomas Petazzoni Dec. 2, 2017, 2:23 p.m. UTC | #1
Hello,

On Sat,  2 Dec 2017 15:03:07 +0100, Fabrice Fontaine wrote:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/webp/webp.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/webp/webp.mk b/package/webp/webp.mk
index 899972039..e86e798d9 100644
--- a/package/webp/webp.mk
+++ b/package/webp/webp.mk
@@ -36,6 +36,13 @@  else
 WEBP_CONF_OPTS += --disable-gif
 endif
 
+ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y)
+WEBP_DEPENDENCIES += libfreeglut
+WEBP_CONF_OPTS += --enable-gl
+else
+WEBP_CONF_OPTS += --disable-gl
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 WEBP_DEPENDENCIES += libpng
 WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config