initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_WEBP
|
||||
bool "webp"
|
||||
help
|
||||
WebP is a new image format that provides lossless and lossy
|
||||
compression for images on the web
|
||||
|
||||
https://developers.google.com/speed/webp/
|
||||
|
||||
if BR2_PACKAGE_WEBP
|
||||
|
||||
config BR2_PACKAGE_WEBP_DEMUX
|
||||
bool "webpdemux"
|
||||
help
|
||||
Demux is a part of WebPMux for extraction and manipulation
|
||||
of an extended format WebP file, which can have features
|
||||
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
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 808b98d2f5b84e9b27fdef6c5372dac769c3bda4502febbfa5031bd3c4d7d018 libwebp-1.2.1.tar.gz
|
||||
sha256 5aec868f669e384a22372a4e8a1a6cd7d44c64cd451f960ca69cc170d1e13acf COPYING
|
||||
@@ -0,0 +1,58 @@
|
||||
################################################################################
|
||||
#
|
||||
# webp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WEBP_VERSION = 1.2.1
|
||||
WEBP_SOURCE = libwebp-$(WEBP_VERSION).tar.gz
|
||||
WEBP_SITE = http://downloads.webmproject.org/releases/webp
|
||||
WEBP_LICENSE = BSD-3-Clause
|
||||
WEBP_LICENSE_FILES = COPYING
|
||||
WEBP_CPE_ID_VENDOR = webmproject
|
||||
WEBP_CPE_ID_PRODUCT = libwebp
|
||||
WEBP_INSTALL_STAGING = YES
|
||||
|
||||
WEBP_CONF_OPTS += \
|
||||
--with-jpegincludedir=$(STAGING_DIR)/usr/include \
|
||||
--with-jpeglibdir=$(STAGING_DIR)/usr/lib \
|
||||
--with-tiffincludedir=$(STAGING_DIR)/usr/include \
|
||||
--with-tifflibdir=$(STAGING_DIR)/usr/lib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBP_DEMUX),y)
|
||||
WEBP_CONF_OPTS += --enable-libwebpdemux
|
||||
else
|
||||
WEBP_CONF_OPTS += --disable-libwebpdemux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBP_MUX),y)
|
||||
WEBP_CONF_OPTS += --enable-libwebpmux
|
||||
else
|
||||
WEBP_CONF_OPTS += --disable-libwebpmux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GIFLIB),y)
|
||||
WEBP_DEPENDENCIES += giflib
|
||||
WEBP_CONF_OPTS += --enable-gif
|
||||
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
|
||||
else
|
||||
WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=/bin/false
|
||||
endif
|
||||
|
||||
WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)
|
||||
WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user