Initial Commit
- initial default booting image
This commit is contained in:
16
package/wayland/Config.in
Normal file
16
package/wayland/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_WAYLAND
|
||||
bool "wayland"
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LIBFFI
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
Wayland is a project to define a protocol for a compositor
|
||||
to talk to its clients as well as a library implementation
|
||||
of the protocol.
|
||||
|
||||
https://wayland.freedesktop.org/
|
||||
|
||||
comment "wayland needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
6
package/wayland/wayland.hash
Normal file
6
package/wayland/wayland.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# From https://lore.freedesktop.org/wayland-devel/plU5smxin5VXbiedTGtL7CNHe0t2mHtgQlQ3-xwREmSSNYaClAcZpEBV8L7JvMT8JHwdD_a_uSFkDUaP45CAWyL545iZh5gInAdToX6hgt4=@emersion.fr/T/#u
|
||||
sha256 82892487a01ad67b334eca83b54317a7c86a03a89cfadacfef5211f11a5d0536 wayland-1.24.0.tar.xz
|
||||
sha512 60216602cffd1473ae15381f9e9a6f3829e742cac83843ca65360ba78bcff8d9442f15eb6a6d5d29c8f74dd920762ca1605f51658d22a1d3c18e338505b9f974 wayland-1.24.0.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061 COPYING
|
||||
39
package/wayland/wayland.mk
Normal file
39
package/wayland/wayland.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# wayland
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WAYLAND_VERSION = 1.24.0
|
||||
WAYLAND_SITE = https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(WAYLAND_VERSION)/downloads
|
||||
WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
|
||||
WAYLAND_LICENSE = MIT
|
||||
WAYLAND_LICENSE_FILES = COPYING
|
||||
WAYLAND_CPE_ID_VENDOR = wayland
|
||||
WAYLAND_INSTALL_STAGING = YES
|
||||
WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2
|
||||
HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2
|
||||
|
||||
WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false
|
||||
HOST_WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false
|
||||
|
||||
# Remove the DTD from the target, it's not needed at runtime
|
||||
define WAYLAND_TARGET_CLEANUP
|
||||
rm -rf $(TARGET_DIR)/usr/share/wayland
|
||||
endef
|
||||
WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP
|
||||
|
||||
# The wayland-scanner.pc installed by the target wayland package is
|
||||
# used to find the wayland-scanner tool, which in a cross-compilation
|
||||
# context is compiled for the host (and in Buildroot, compiled by
|
||||
# host-wayland). Below, we tweak the target wayland-scanner.pc so that
|
||||
# when the wayland_scanner variable is requested through pkg-config,
|
||||
# it points to the host wayland_scanner tool.
|
||||
define WAYLAND_TWEAK_WAYLAND_SCANNER_PATH
|
||||
$(SED) 's%^wayland_scanner=.*%wayland_scanner=$(HOST_DIR)/bin/wayland-scanner%' \
|
||||
$(STAGING_DIR)/usr/lib/pkgconfig/wayland-scanner.pc
|
||||
endef
|
||||
WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TWEAK_WAYLAND_SCANNER_PATH
|
||||
|
||||
$(eval $(meson-package))
|
||||
$(eval $(host-meson-package))
|
||||
Reference in New Issue
Block a user