From d789c97129ce6408f76381959d743106f1fb781a Mon Sep 17 00:00:00 2001 From: Dennis Bonke Date: Tue, 13 Feb 2024 04:32:38 +0100 Subject: [PATCH] kwayland: Add port --- bootstrap.d/kde-plasma.yml | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/bootstrap.d/kde-plasma.yml b/bootstrap.d/kde-plasma.yml index e9e5bdea1..11dc45566 100644 --- a/bootstrap.d/kde-plasma.yml +++ b/bootstrap.d/kde-plasma.yml @@ -166,3 +166,55 @@ packages: - args: ['ninja', 'install'] environ: DESTDIR: '@THIS_COLLECT_DIR@' + + - name: kwayland + architecture: '@OPTION:arch@' + metadata: + summary: Qt-style API to interact with the wayland-client API + description: This package provides a Qt-style API to interact with the wayland-client API. + spdx: 'LGPL-2.1-only' + website: 'https://invent.kde.org/frameworks/kwayland' + maintainer: "Dennis Bonke " + categories: ['kde-plasma'] + source: + subdir: 'ports' + git: 'https://github.com/KDE/kwayland.git' + tag: 'v5.27.80' # Yes this is 6.0rc2???? + version: '6.0rc2' + tools_required: + - system-gcc + - host-cmake + - host-qt6 + - host-ecm + - wayland-scanner + pkgs_required: + - mlibc + - qtbase6 + - wayland + - qtwayland6 + - libglvnd + - wayland-protocols + - plasma-wayland-protocols + configure: + - args: + - 'cmake' + - '-GNinja' + - '-DCMAKE_INSTALL_PREFIX=/usr' + - '-DCMAKE_TOOLCHAIN_FILE=@SOURCE_ROOT@/scripts/CMakeToolchain-@OPTION:arch-triple@.txt' + - '-DECM_DIR=@BUILD_ROOT@/tools/host-ecm' + - '-DCMAKE_BUILD_TYPE=Debug' + ### from ecm.class + - '-DQT_MAJOR_VERSION=6' + - '-DBUILD_TESTING=OFF' + - '-DBUILD_QCH=FALSE' + - '-DKDE_INSTALL_USE_QT_SYS_PATHS=ON' + - '-DKDE_INSTALL_QMLDIR=/usr/lib/qt6/qml' + - '-DKDE_INSTALL_PLUGINDIR=/usr/lib/qt6/plugins' + - '-DKDE_INSTALL_QTPLUGINDIR=/usr/lib/qt6/plugins' + ### end ecm.class + - '@THIS_SOURCE_DIR@' + build: + - args: ['ninja'] + - args: ['ninja', 'install'] + environ: + DESTDIR: '@THIS_COLLECT_DIR@'