add miss file ,and sync kernel to 1e2e6bbbc

This commit is contained in:
loongson
2024-06-27 09:34:17 +08:00
parent 75e64c9ee9
commit c40a6b0873
2459 changed files with 110021 additions and 7 deletions
+25
View File
@@ -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
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c libwebp-1.2.0.tar.gz
sha256 5aec868f669e384a22372a4e8a1a6cd7d44c64cd451f960ca69cc170d1e13acf COPYING
+58
View File
@@ -0,0 +1,58 @@
################################################################################
#
# webp
#
################################################################################
WEBP_VERSION = 1.2.0
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))