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
+58
View File
@@ -0,0 +1,58 @@
comment "cog needs wpewebkit and a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_WPEWEBKIT || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_COG
bool "cog"
depends on BR2_PACKAGE_WPEWEBKIT
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
depends on BR2_USE_MMU # dbus
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_WAYLAND
help
Single "window" launcher for the WebKit WPE port, and
helper library for implementing WPE launcher. It does
not provide any chrome, and is suitable to be used
as a Web application container.
https://github.com/Igalia/cog
if BR2_PACKAGE_COG
config BR2_PACKAGE_COG_PROGRAMS_HOME_URI
string "home uri"
default "https://wpewebkit.org"
help
Default URI to open when "cog" is launched. If an empty
string is used, there is no default and the URI to open
must be always specified in the command line.
config BR2_PACKAGE_COG_PLATFORM_FDO
bool "FreeDesktop.org backend"
default y
select BR2_PACKAGE_LIBXKBCOMMON
select BR2_PACKAGE_WAYLAND_PROTOCOLS
help
Enable the FreeDesktop.org backend. Cog will interface with
a compositor over the Wayland protocol.
config BR2_PACKAGE_COG_PLATFORM_DRM
bool "DRM backend"
depends on BR2_PACKAGE_HAS_UDEV # libinput
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBINPUT
help
Enable the DRM platform backend. Cog will interface directly
with video drivers that support kernel mode-setting (KMS)
via the DRM user-space API.
config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
bool "expose system D-Bus control interface"
help
Expose remote control interface on system bus
comment "DRM platform needs mesa3d w/ EGL driver and GBM"
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
endif
+7
View File
@@ -0,0 +1,7 @@
# From https://wpewebkit.org/releases/cog-0.10.1.tar.xz.sums
md5 b997da3c143bc34ec5e953eb7e7ccefc cog-0.10.1.tar.xz
sha1 f25312141de918f41add3e3c9984faa985cda0a9 cog-0.10.1.tar.xz
sha256 aecf546d7b0645119d79559c5574cb5eb68364fc8409dfbd47a4920bd1f221bc cog-0.10.1.tar.xz
# Hashes for license files:
sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING
+41
View File
@@ -0,0 +1,41 @@
################################################################################
#
# cog
#
################################################################################
COG_VERSION = 0.10.1
COG_SITE = https://wpewebkit.org/releases
COG_SOURCE = cog-$(COG_VERSION).tar.xz
COG_INSTALL_STAGING = YES
COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo wayland
COG_LICENSE = MIT
COG_LICENSE_FILES = COPYING
COG_CONF_OPTS = \
-DCOG_BUILD_PROGRAMS=ON \
-DCOG_PLATFORM_HEADLESS=ON \
-DCOG_WESTON_DIRECT_DISPLAY=OFF \
-DINSTALL_MAN_PAGES=OFF \
-DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))'
ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
COG_CONF_OPTS += -DCOG_PLATFORM_FDO=ON
COG_DEPENDENCIES += libxkbcommon wayland-protocols
else
COG_CONF_OPTS += -DCOG_PLATFORM_FDO=OFF
endif
ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y)
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=ON
COG_DEPENDENCIES += libdrm libinput
else
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF
endif
ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y)
COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON
else
COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF
endif
$(eval $(cmake-package))