1 ################################################################################
5 ################################################################################
8 WEBP_SOURCE
= libwebp-
$(WEBP_VERSION
).
tar.gz
9 WEBP_SITE
= http
://downloads.webmproject.org
/releases
/webp
11 WEBP_LICENSE_FILES
= COPYING
12 WEBP_INSTALL_STAGING
= YES
15 --with-jpegincludedir
=$(STAGING_DIR
)/usr
/include \
16 --with-jpeglibdir
=$(STAGING_DIR
)/usr
/lib \
17 --with-tiffincludedir
=$(STAGING_DIR
)/usr
/include \
18 --with-tifflibdir
=$(STAGING_DIR
)/usr
/lib
20 ifeq ($(BR2_PACKAGE_WEBP_DEMUX
),y
)
21 WEBP_CONF_OPTS
+= --enable-libwebpdemux
23 WEBP_CONF_OPTS
+= --disable-libwebpdemux
26 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
27 WEBP_DEPENDENCIES
+= libpng
28 WEBP_CONF_ENV
+= ac_cv_path_LIBPNG_CONFIG
=$(STAGING_DIR
)/usr
/bin
/libpng-config
30 WEBP_CONF_ENV
+= ac_cv_path_LIBPNG_CONFIG
=/bin
/false
33 WEBP_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_JPEG
),jpeg
)
34 WEBP_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_TIFF
),tiff
)
36 $(eval
$(autotools-package
))