Initial Commit
- initial default booting image
This commit is contained in:
68
package/wlroots/Config.in
Normal file
68
package/wlroots/Config.in
Normal file
@@ -0,0 +1,68 @@
|
||||
comment "wlroots needs udev, EGL, OpenGL ES and GBM support"
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL || \
|
||||
!BR2_PACKAGE_HAS_LIBEGL || \
|
||||
!BR2_PACKAGE_HAS_LIBGLES || \
|
||||
!BR2_PACKAGE_HAS_UDEV
|
||||
|
||||
comment "wlroots needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_WLROOTS
|
||||
bool "wlroots"
|
||||
depends on !BR2_STATIC_LIBS # wayland
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland
|
||||
depends on BR2_PACKAGE_HAS_UDEV # libinput
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_HAS_LIBGBM
|
||||
select BR2_PACKAGE_HWDATA
|
||||
select BR2_PACKAGE_HWDATA_PNP_IDS
|
||||
select BR2_PACKAGE_LIBDISPLAY_INFO
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_LIBINPUT
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
select BR2_PACKAGE_PIXMAN
|
||||
select BR2_PACKAGE_SEATD
|
||||
select BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
help
|
||||
wlroots is a modular Wayland library for building compositors
|
||||
which implements many of their common features.
|
||||
|
||||
https://gitlab.freedesktop.org/wlroots/wlroots
|
||||
|
||||
if BR2_PACKAGE_WLROOTS
|
||||
|
||||
config BR2_PACKAGE_WLROOTS_X11
|
||||
bool "X11 backend"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
|
||||
select BR2_PACKAGE_XCB_UTIL_WM
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
help
|
||||
Support Wayland sessions nested inside a X11 window
|
||||
|
||||
config BR2_PACKAGE_WLROOTS_XWAYLAND
|
||||
bool "XWayland support"
|
||||
depends on BR2_PACKAGE_XORG7 # libxcb, xcb-util-wm, xwayland
|
||||
depends on BR2_USE_MMU # xwayland
|
||||
depends on !BR2_STATIC_LIBS # xwayland
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # xwayland
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # xwayland -> xlib_libxshmfence
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XCB_UTIL_WM
|
||||
select BR2_PACKAGE_XWAYLAND
|
||||
help
|
||||
Support for running X11 applications under wayland
|
||||
|
||||
comment "XWayland support needs X.org enabled"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
|
||||
comment "XWayland support needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
7
package/wlroots/wlroots.hash
Normal file
7
package/wlroots/wlroots.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.0/downloads/wlroots-0.20.0.tar.gz.sig
|
||||
# with key 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 "emersion <contact@emersion.fr>"
|
||||
sha256 33f52414e1b280839aeb70786f0ae2c9f54e27ad4873108d86270a2f89c4934b wlroots-0.20.0.tar.gz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 35d427c043dcafe8893b9e7247348f599847c81d9a067703587c80707f3d58df LICENSE
|
||||
55
package/wlroots/wlroots.mk
Normal file
55
package/wlroots/wlroots.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
#
|
||||
# wlroots
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WLROOTS_VERSION = 0.20.0
|
||||
WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads
|
||||
WLROOTS_LICENSE = MIT
|
||||
WLROOTS_LICENSE_FILES = LICENSE
|
||||
WLROOTS_INSTALL_STAGING = YES
|
||||
|
||||
WLROOTS_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-wayland \
|
||||
hwdata \
|
||||
libdisplay-info \
|
||||
libinput \
|
||||
libxkbcommon \
|
||||
libegl \
|
||||
libgles \
|
||||
libgbm \
|
||||
pixman \
|
||||
seatd \
|
||||
udev \
|
||||
wayland \
|
||||
wayland-protocols
|
||||
|
||||
WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibliftoff=disabled
|
||||
|
||||
WLROOTS_RENDERERS = gles2
|
||||
WLROOTS_BACKENDS = libinput drm
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
|
||||
WLROOTS_BACKENDS += x11
|
||||
WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WLROOTS_XWAYLAND),y)
|
||||
WLROOTS_CONF_OPTS += -Dxwayland=enabled
|
||||
WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xwayland
|
||||
else
|
||||
WLROOTS_CONF_OPTS += -Dxwayland=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER)$(BR2_PACKAGE_VULKAN_LOADER),yy)
|
||||
WLROOTS_RENDERERS += vulkan
|
||||
WLROOTS_DEPENDENCIES += mesa3d vulkan-loader
|
||||
endif
|
||||
|
||||
WLROOTS_CONF_OPTS += \
|
||||
-Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) \
|
||||
-Drenderers=$(subst $(space),$(comma),$(strip $(WLROOTS_RENDERERS)))
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user