# plasma-wayland-protocols Plasma Specific Protocols for Wayland' ^ runtime dependencies | qt5base (Graphic libraries and applications/Other GUIs) | ^ make dependencies | kf5-extra-cmake-modules | ^ ::: | qt5tools| ``` mkdir /data/buildroot/package/plasma-wayland-protocols cat > /data/buildroot/package/plasma-wayland-protocols/Config.in<< 'EOF' config BR2_PACKAGE_PLASMA_WAYLAND_PROTOCOLS bool "plasma-wayland-protocols" depends on BR2_PACKAGE_QT5BASE depends on BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES help Plasma Specific Protocols for Wayland' EOF cat > /data/buildroot/package/plasma-wayland-protocols/plasma-wayland-protocols.mk<< 'EOF' ############################################################# # # plasma-wayland-protocols #https://download.kde.org/stable/plasma-wayland-protocols/plasma-wayland-protocols-1.7.0.tar.xz ############################################################# PLASMA_WAYLAND_PROTOCOLS_VERSION = 1.7.0 PLASMA_WAYLAND_PROTOCOLS_SOURCE = plasma-wayland-protocols-$(PLASMA_WAYLAND_PROTOCOLS_VERSION).tar.xz PLASMA_WAYLAND_PROTOCOLS_SITE = https://download.kde.org/stable/plasma-wayland-protocols PLASMA_WAYLAND_PROTOCOLS_DEPENDENCIES = qt5base kf5-extra-cmake-modules PLASMA_WAYLAND_PROTOCOLS_INSTALL_TARGET = YES PLASMA_WAYLAND_PROTOCOLS_SUPPORTS_IN_SOURCE_BUILD = NO PLASMA_WAYLAND_PROTOCOLS_CONF_OPTS = -DCMAKE_TOOLCHAIN_FILE=$(HOST_DIR)/share/buildroot/toolchainfile.cmake \ -DCMAKE_INSTALL_PREFIX=/usr define PLASMA_WAYLAND_PROTOCOLS_CONFIGURE_CMDS if [[ ! -L "$(HOST_DIR)/usr/lib/libpcre.so.3" ]]; then ln -s $(HOST_DIR)/usr/lib/libpcre.so $(HOST_DIR)/usr/lib/libpcre.so.3; fi if [[ ! -d $(@D)/buildroot-build ]]; then mkdir $(@D)/buildroot-build; fi cd $(@D)/buildroot-build && \ LDFLAGS="$(LDFLAGS) -pthread -Wl,--as-needed -Wl,--allow-shlib-undefined" cmake "$(@D)/" $(PLASMA_WAYLAND_PROTOCOLS_CONF_OPTS) endef $(eval $(cmake-package)) EOF sed -i '/menu "Custom packages"/a source "package/plasma-wayland-protocols/Config.in"' /data/buildroot/package/Config.in ```