mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -8,12 +8,15 @@ config BR2_PACKAGE_COG
|
||||
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
|
||||
@@ -24,4 +27,27 @@ config BR2_PACKAGE_COG_PROGRAMS_HOME_URI
|
||||
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.
|
||||
|
||||
comment "DRM platform needs mesa3d w/ EGL driver and GBM"
|
||||
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From https://github.com/Igalia/cog/releases/tag/v0.3.1
|
||||
md5 65bb078aad576b8402f973234e86cc82 cog-0.3.1.tar.xz
|
||||
sha1 d73b060618f342accb12db71a7578940c2243d4c cog-0.3.1.tar.xz
|
||||
sha256 ca7eae333cc02b947ec3d657a2090f01a9b08f9fabb855a585472edafbd9e7eb cog-0.3.1.tar.xz
|
||||
# From https://wpewebkit.org/releases/cog-0.8.0.tar.xz.sums
|
||||
md5 f7aa8a425927cab247563411fc67c5a3 cog-0.8.0.tar.xz
|
||||
sha1 977559204dae0f9220e4c6b8ded7537899fd2daf cog-0.8.0.tar.xz
|
||||
sha256 181b1f4963cdf264b8068460a64d14c92a627f7138ebecc0f36fce085f4e92dd cog-0.8.0.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING
|
||||
sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING
|
||||
|
||||
@@ -4,16 +4,31 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
COG_VERSION = 0.3.1
|
||||
COG_SITE = https://github.com/Igalia/cog/releases/download/v$(COG_VERSION)
|
||||
COG_VERSION = 0.8.0
|
||||
COG_SITE = https://wpewebkit.org/releases
|
||||
COG_SOURCE = cog-$(COG_VERSION).tar.xz
|
||||
COG_INSTALL_STAGING = YES
|
||||
COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo
|
||||
COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo wayland
|
||||
COG_LICENSE = MIT
|
||||
COG_LICENSE_FILES = COPYING
|
||||
COG_CONF_OPTS = \
|
||||
-DCOG_BUILD_PROGRAMS=ON \
|
||||
-DCOG_PLATFORM_FDO=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
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user