Initial Commit
- initial default booting image
This commit is contained in:
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