initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
config BR2_PACKAGE_ALURE
bool "alure"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
depends on BR2_USE_WCHAR # use wchar_t
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
select BR2_PACKAGE_OPENAL
help
Alure is a C++ 3D audio API. It uses OpenAL for audio
rendering, and provides common higher-level features such as
file loading and decoding, buffer caching, background
streaming, and source management for virtually unlimited
sound source handles.
https://kcat.strangesoft.net/alure.html
if BR2_PACKAGE_ALURE
config BR2_PACKAGE_ALURE_FLAC_DECODER
bool "flac decoder"
help
Enables the built-in FLAC decoder.
config BR2_PACKAGE_ALURE_MINIMP3_DECODER
bool "minimp3 decoder"
help
Enables the built-in minimp3 decoder.
config BR2_PACKAGE_ALURE_OPUS_DECODER
bool "opus decoder"
select BR2_PACKAGE_LIBOGG
select BR2_PACKAGE_OPUS
help
Enables the built-in libopusfile decoder.
config BR2_PACKAGE_ALURE_SNDFILE_DECODER
bool "sndfile decoder"
select BR2_PACKAGE_LIBSNDFILE
help
Enables the built-in libsndfile decoder.
config BR2_PACKAGE_ALURE_VORBIS_DECODER
bool "vorbis decoder"
select BR2_PACKAGE_LIBOGG
select BR2_PACKAGE_LIBVORBIS
help
Enables the built-in libvorbis decoder.
endif
comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
comment "alure needs a toolchain not affected by GCC bug 64735"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 9b808e5b5a54d156348221dc86704c7831115047d5238691e6088f8c4814b2ca alure-14beed2a86d5a36030e907b21c46614d505f07cd.tar.gz
sha256 7331ddc67daaf1a283c81e8dc17bac8dc40f54ed3fab3d3964616f4bd502a0a3 LICENSE
+65
View File
@@ -0,0 +1,65 @@
################################################################################
#
# alure
#
################################################################################
ALURE_VERSION = 14beed2a86d5a36030e907b21c46614d505f07cd
ALURE_SITE = $(call github,kcat,alure,$(ALURE_VERSION))
ALURE_LICENSE = Zlib, Public Domain (src/decoders/dr_flac.h)
ALURE_LICENSE_FILES = LICENSE
ALURE_INSTALL_STAGING = YES
ALURE_DEPENDENCIES = openal
# Disabling alure examples remove the dependecies on physfs and dump libraries.
# Enable at least one built-in decoder (wave).
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
-DALURE_BUILD_EXAMPLES=OFF \
-DALURE_ENABLE_WAVE=ON
ifeq ($(BR2_PACKAGE_ALURE_FLAC_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=ON
else
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_MINIMP3_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_MINIMP3=ON
else
ALURE_CONF_OPTS += -DALURE_ENABLE_MINIMP3=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_OPUS_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=ON
ALURE_DEPENDENCIES += libogg opus
else
ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_SNDFILE_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_SNDFILE=ON
ALURE_DEPENDENCIES += libsndfile
else
ALURE_CONF_OPTS += -DALURE_ENABLE_SNDFILE=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_VORBIS_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_VORBIS=ON
ALURE_DEPENDENCIES += libogg libvorbis
else
ALURE_CONF_OPTS += -DALURE_ENABLE_VORBIS=OFF
endif
ifeq ($(BR2_STATIC_LIBS),y)
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=OFF \
-DALURE_BUILD_STATIC=ON
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=ON \
-DALURE_BUILD_STATIC=ON
else
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=ON \
-DALURE_BUILD_STATIC=OFF
endif
$(eval $(cmake-package))