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

34
package/kmscube/Config.in Normal file
View File

@@ -0,0 +1,34 @@
config BR2_PACKAGE_KMSCUBE
bool "kmscube"
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGBM
depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
select BR2_PACKAGE_LIBDRM
help
kmscube is an application to test kms/drm drivers.
https://cgit.freedesktop.org/mesa/kmscube/
if BR2_PACKAGE_KMSCUBE
config BR2_PACKAGE_KMSCUBE_GSTREAMER
bool "Enable gstreamer video support"
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
select BR2_PACKAGE_GSTREAMER1
endif
comment "kmscube needs EGL, GBM and OpenGL ES, and a toolchain w/ thread support"
depends on \
!BR2_PACKAGE_HAS_LIBEGL || \
!BR2_PACKAGE_HAS_LIBGBM || \
!BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT || \
!BR2_PACKAGE_HAS_LIBGLES || \
!BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 c7e7fd7ebcd59a5a57b717ba309a25b73e8028ed4f6bc95bd87e3b7ad5732834 kmscube-ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c.tar.gz
sha256 f622099ab0d274133f6e62d5fccfe970b61134d80ed036f45f8cf1e90c3d5a05 COPYING

View File

@@ -0,0 +1,26 @@
################################################################################
#
# kmscube
#
################################################################################
KMSCUBE_VERSION = ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c
KMSCUBE_SITE = https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$(KMSCUBE_VERSION)
KMSCUBE_LICENSE = MIT
KMSCUBE_LICENSE_FILES = COPYING
KMSCUBE_DEPENDENCIES = host-pkgconf libdrm libegl libgbm libgles
ifeq ($(BR2_PACKAGE_KMSCUBE_GSTREAMER),y)
KMSCUBE_DEPENDENCIES += gst1-plugins-base gstreamer1 libglib2
KMSCUBE_CONF_OPTS += -Dgstreamer=enabled
else
KMSCUBE_CONF_OPTS += -Dgstreamer=disabled
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y)
KMSCUBE_DEPENDENCIES += libpng
# libpng is automatically detected in meson, there is no build
# configuration option to pass.
endif
$(eval $(meson-package))