Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,117 @@
config BR2_PACKAGE_GLSLSANDBOX_PLAYER
bool "glslsandbox-player"
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGLES
help
GLSL Sandbox standalone player allow one to run and render
(most of) nice shaders available online on the
http://glslsandbox.com/ website, but without the need of an
Internet connection, a web browser or any of its
dependencies. Instead, the only requirement of
glslsandbox-player is a working EGL and GLESv2 libraries.
This package is useful for stressing and testing GLES shader
compiler in GPU drivers.
https://github.com/jolivain/glslsandbox-player
if BR2_PACKAGE_GLSLSANDBOX_PLAYER
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG
bool "Enable PNG support"
select BR2_PACKAGE_LIBPNG
help
Enable PNG texture loading support
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING
bool "Enable testing"
help
Generate and install test suite on target
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS
bool "Install scripts"
depends on !BR2_STATIC_LIBS # python3
depends on BR2_TOOLCHAIN_HAS_THREADS # python3
depends on BR2_USE_MMU # bash, python3
depends on BR2_USE_WCHAR # python3
select BR2_PACKAGE_BASH # runtime
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash
select BR2_PACKAGE_COREUTILS # runtime (timeout)
select BR2_PACKAGE_LIBCURL_CURL # runtime
select BR2_PACKAGE_IMAGEMAGICK # runtime
select BR2_PACKAGE_JPEG # runtime
select BR2_PACKAGE_LIBCURL # runtime
select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL # runtime
select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL # runtime
select BR2_PACKAGE_MAKE # runtime
select BR2_PACKAGE_OPENSSL # runtime
select BR2_PACKAGE_PYTHON3 # runtime
help
Install additional helper scripts
choice
prompt "Native windowing system"
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI if BR2_PACKAGE_SUNXI_MALI_UTGARD
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X if BR2_PACKAGE_MALI_T76X
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 if BR2_PACKAGE_SDL2_OPENGLES
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX if BR2_PACKAGE_TI_SGX_UM
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL if BR2_PACKAGE_WAYLAND
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11 if BR2_PACKAGE_XORG7
help
Select the native windowing system you wish to use.
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL
bool "NullWS"
help
Enable Null Windowing System
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS
bool "KMS/DRM/GBM"
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
depends on BR2_PACKAGE_HAS_LIBGBM
select BR2_PACKAGE_LIBDRM
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI
bool "Allwinner ARM/Mali Frame Buffer"
depends on BR2_PACKAGE_SUNXI_MALI_UTGARD
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X
bool "ARM/Mali T76x Frame Buffer"
depends on BR2_PACKAGE_MALI_T76X
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2
bool "SDL2"
depends on BR2_PACKAGE_SDL2_OPENGLES
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX
bool "TI/SGX Frame Buffer"
depends on BR2_PACKAGE_TI_SGX_UM
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB
bool "Vivante Frame Buffer"
depends on BR2_PACKAGE_IMX_GPU_VIV
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL
bool "Wayland"
depends on BR2_PACKAGE_WAYLAND
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11
bool "X11"
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBX11
endchoice
if BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI
bool "Wayland IVI shell support"
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_XDG
bool "Wayland XDG shell support"
select BR2_PACKAGE_WAYLAND_PROTOCOLS
endif
endif
comment "glslsandbox-player needs openGL ES and EGL driver"
depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 8adf89f65a060958e6ba2aa52a28f3189fde23b5478958ad4b8b6a7e82007587 glslsandbox-player-2023.04.05.tar.gz
sha256 cda47d436d3aeb02d595ddd316d841494926d286327383b5d63734115204a8b2 LICENSE

View File

@@ -0,0 +1,83 @@
################################################################################
#
# glslsandbox-player
#
################################################################################
GLSLSANDBOX_PLAYER_VERSION = 2023.04.05
GLSLSANDBOX_PLAYER_SITE = $(call github,jolivain,glslsandbox-player,v$(GLSLSANDBOX_PLAYER_VERSION))
GLSLSANDBOX_PLAYER_AUTORECONF = YES
GLSLSANDBOX_PLAYER_DEPENDENCIES = libegl libgles host-pkgconf
GLSLSANDBOX_PLAYER_LICENSE = BSD-2-Clause
GLSLSANDBOX_PLAYER_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += libexecinfo
GLSLSANDBOX_PLAYER_CONF_ENV += LIBS="-lexecinfo"
endif
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += libpng
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-libpng
else
GLSLSANDBOX_PLAYER_CONF_OPTS += --without-libpng
endif
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING),y)
GLSLSANDBOX_PLAYER_CONF_OPTS += \
--with-shader-list=shader-tests.list \
--enable-testing \
--enable-install-testsuite
else
GLSLSANDBOX_PLAYER_CONF_OPTS += \
--with-shader-list=shader-local.list \
--disable-testing
endif
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS),y)
GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-install-scripts
else
GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-install-scripts
endif
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL),y)
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm libgbm
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=mali
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += mali-t76x
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += sdl2
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=sdl2
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += ti-sgx-um
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=tisgx
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += imx-gpu-viv
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=vivfb
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += wayland
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=wl
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI),y)
GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-ivi
else
GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-ivi
endif
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_XDG),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += wayland-protocols
GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-wlxdg
else
GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-wlxdg
endif
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += xlib_libX11
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=x11
endif
$(eval $(autotools-package))