hyprqt6engine: add recipe

add enough of kde base to fully support hyprqt6engine
This commit is contained in:
Markus Volk
2025-08-27 17:10:01 +02:00
parent 18e7118e6d
commit b07ebada7c
18 changed files with 252 additions and 14 deletions

View File

@@ -2,7 +2,10 @@
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend ${LAYERDIR}/recipes*/*/*/*.bb ${LAYERDIR}/recipes*/*/*/*.bbappend"
BBFILES += " \
${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend \
${LAYERDIR}/recipes*/*/*/*.bb ${LAYERDIR}/recipes*/*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "wayland"
BBFILE_PATTERN_wayland = "^${LAYERDIR}/"
@@ -16,6 +19,8 @@ LAYERDEPENDS_wayland = " \
"
BBFILES_DYNAMIC += " \
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bb \
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bbappend \
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bb \
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bbappend \
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*/*.bb \
qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*/*.bbappend \
"

View File

@@ -0,0 +1,20 @@
SUMMARY = "QT6 Theme Provider for Hyprland"
HOMEPAGE = "https://github.com/hyprwm/hyprqt6engine"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a0bf31bc487405beb07b19459ea85114"
SRC_URI = "git://github.com/hyprwm/hyprqt6engine.git;protocol=https;branch=main"
SRCREV = "e8a694d5fc7813cf477f426dce731967e4cf670b"
DEPENDS = "qtbase qtquick3d qttools-native hyprutils hyprlang"
inherit qt6-cmake pkgconfig
PACKAGECONFIG ?= "kde"
PACKAGECONFIG[kde] = ",,kconfig kiconthemes kcolorscheme"
EXTRA_OECMAKE += "-DPLUGINDIR=${libdir}/plugins"
FILES:${PN} += "${libdir}/plugins ${libdir}/libhyprqt6engine-common.so"
FILES:${PN}-dev = ""

View File

@@ -0,0 +1,28 @@
SUMMARY = "Breeze icons"
HOMEPAGE = "https://api.kde.org/frameworks/breeze-icons/html/index.html"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
SRC_URI = "git://invent.kde.org/frameworks/breeze-icons.git;protocol=https;nobranch=1"
SRCREV = "2a9b908671d4168fa94583f043c33f6b90aec3a7"
DEPENDS = " \
breeze-icons-native \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
python3-lxml-native \
"
inherit qt6-cmake pkgconfig
do_install:class-native() {
install -d ${D}${bindir}
install -m 755 ${B}/bin/qrcAlias ${D}${bindir}
}
FILES:${PN} += "${libdir}/qml ${datadir}/icons"
BBCLASSEXTEND = "native"

View File

@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM += "file://LICENSES/MIT.txt;md5=38aa75cf4c4c87f018227d5ec9638d7
LIC_FILES_CHKSUM += "file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2"
LIC_FILES_CHKSUM += "file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0"
SRC_URI = "https://download.kde.org/stable/frameworks/6.16/extra-cmake-modules-${PV}.tar.xz"
SRC_URI[sha256sum] = "e881c19e335beb82326e02d000766e7ee8324d7ce8583df0f5bfd4c26998fbfe"
SRC_URI = "https://download.kde.org/stable/frameworks/6.17/extra-cmake-modules-${PV}.tar.xz"
SRC_URI[sha256sum] = "dfecb17d0238f4de1dd3485b92a6606137d4a9c67b9e4ce40407fe0f2aec0a40"
DEPENDS = "cmake-native qttools qtbase-native qttools-native"
@@ -18,5 +18,5 @@ FILES:${PN}-dev += " ${datadir}/ECM"
BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN}-dev += "python3-core python3-as-python"
RDEPENDS:${PN}-dev:class-target += "python3-core python3-as-python"

View File

@@ -0,0 +1,24 @@
SUMMARY = "Reading, creating, and manipulating file archives"
HOMEPAGE = "https://api.kde.org/frameworks/karchive/html/index.html"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.0-or-later.txt;md5=6d2d9952d88b50a51a5c73dc431d06c7"
SRC_URI = "git://invent.kde.org/frameworks/karchive.git;protocol=https;nobranch=1"
SRCREV = "69712e2d9ca0ea195a78ff0e9c509592c3e98a01"
DEPENDS = " \
bzip2 \
extra-cmake-modules \
zstd \
openssl \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
zlib \
"
inherit qt6-cmake pkgconfig
FILES:${PN} += "${datadir}/qlogging-categories6"

View File

@@ -0,0 +1,22 @@
SUMMARY = "Access to the windowing system"
HOMEPAGE = "https://api.kde.org/frameworks/kcolorscheme/html/index.html"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=41890f71f740302b785c27661123bff5"
SRC_URI = "git://invent.kde.org/frameworks/kcolorscheme.git;protocol=https;nobranch=1"
SRCREV = "7272e587bccbed92b08aeb663c31e049e881918b"
DEPENDS = " \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
kconfig \
ki18n \
kguiaddons \
"
inherit qt6-cmake gettext pkgconfig
FILES:${PN} += "${libdir}/qml ${datadir}/qlogging-categories6"

View File

@@ -0,0 +1,22 @@
SUMMARY = "Access to the windowing system"
HOMEPAGE = "https://api.kde.org/frameworks/kwindowsystem/html/index.html"
LICENSE = "MIT & LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/MIT.txt;md5=38aa75cf4c4c87f018227d5ec9638d75"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f"
SRC_URI = "git://invent.kde.org/frameworks/kconfig.git;protocol=https;nobranch=1"
SRCREV = "170647a6c150c4805857b49075a674519b09ffa4"
DEPENDS = " \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
"
inherit qt6-cmake
FILES:${PN} += "${libdir}/qml ${datadir}/qlogging-categories6"
BBCLASSEXTEND = "native"

View File

@@ -0,0 +1,28 @@
SUMMARY = "Utilities for graphical user interfaces"
HOMEPAGE = "https://api.kde.org/frameworks/kguiaddons/html/index.html"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f"
SRC_URI = "git://invent.kde.org/frameworks/kguiaddons.git;protocol=https;nobranch=1"
SRCREV = "757c799124995689000e4a4664a675ef77775595"
DEPENDS = " \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
kconfig \
plasma-wayland-protocols \
python3-shiboken6-native \
python3-pyside6 \
python3-build-native \
"
inherit qt6-cmake mime-xdg pkgconfig
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"
FILES:${PN} += "${libdir}/qml ${PYTHON_SITEPACKAGES_DIR} ${datadir}/qlogging-categories6"
BBCLASSEXTEND = "native"

View File

@@ -0,0 +1,20 @@
SUMMARY = "Access to the windowing system"
HOMEPAGE = "https://api.kde.org/frameworks/ki18n/html/index.html"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=41890f71f740302b785c27661123bff5"
SRC_URI = "git://invent.kde.org/frameworks/ki18n.git;protocol=https;nobranch=1"
SRCREV = "a0412f78578372e130ec22738005591ada743983"
DEPENDS = " \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
kconfig \
"
inherit qt6-cmake gettext pkgconfig
FILES:${PN} += "${libdir}/qml ${libdir}/plugins/kf6 ${datadir}/qlogging-categories6"

View File

@@ -0,0 +1,25 @@
SUMMARY = "Icon GUI utilities"
HOMEPAGE = "https://api.kde.org/frameworks/kiconthemes/html/index.html"
LICENSE = "MIT & LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f"
SRC_URI = "git://invent.kde.org/frameworks/kiconthemes.git;protocol=https;nobranch=1"
SRCREV = "cc6686960cf12ffe63296fe4a5118d5466b10e8f"
DEPENDS = " \
breeze-icons \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
karchive \
kconfig \
ki18n \
kwidgetaddons \
kcolorscheme \
"
inherit qt6-cmake gettext pkgconfig
FILES:${PN} += "${libdir}/qml ${libdir}/plugins/kiconthemes6 ${datadir}/qlogging-categories6"

View File

@@ -0,0 +1,23 @@
SUMMARY = "Widget addons"
HOMEPAGE = "https://github.com/KDE/kwidgetsaddons"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f"
SRC_URI = "git://github.com/KDE/kwidgetsaddons.git;protocol=https;nobranch=1"
SRCREV = "272bd685591e321b0fda52ef21fcc30fc75ef9d2"
DEPENDS = " \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
extra-cmake-modules \
kconfig \
python3-shiboken6-native \
python3-pyside6 \
python3-build-native \
"
inherit qt6-cmake pkgconfig
FILES:${PN} += "${libdir}/qml ${PYTHON_SITEPACKAGES_DIR} ${datadir}/qlogging-categories6"

View File

@@ -4,18 +4,18 @@ LICENSE = "MIT & LGPL-2.1-only"
LIC_FILES_CHKSUM += "file://LICENSES/MIT.txt;md5=38aa75cf4c4c87f018227d5ec9638d75"
LIC_FILES_CHKSUM += "file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f"
SRC_URI = "https://download.kde.org/stable/frameworks/6.16/kwindowsystem-${PV}.tar.xz"
SRC_URI[sha256sum] = "dc3b5ac5e5eaea5b76af8e85f065ddbce91ff7e3fcc13c6d600ad53bb53b1b31"
SRC_URI = "https://download.kde.org/stable/frameworks/6.17/kwindowsystem-${PV}.tar.xz"
SRC_URI[sha256sum] = "259abef58b09ad1a8022b5cb94831a98f3e5b5cc7c65f7a0b40be64361756f63"
DEPENDS = " \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
plasma-wayland-protocols \
qtbase \
qtwayland \
qtwayland-native \
qttools-native \
plasma-wayland-protocols \
"
inherit qt6-cmake
inherit qt6-cmake pkgconfig
EXTRA_OECMAKE = "-DKWINDOWSYSTEM_X11=OFF"

View File

@@ -0,0 +1,21 @@
SUMMARY = "Qt decoration plugin implementing Adwaita-like client-side decorations."
HOMEPAGE = "https://github.com/FedoraQt/QAdwaitaDecorations"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
DEPENDS = " \
qtbase \
qtsvg \
qtwayland \
qtwayland-native \
"
inherit qt6-cmake
EXTRA_OECMAKE += "-DUSE_QT6=ON"
SRC_URI = "git://github.com/FedoraQt/QAdwaitaDecorations.git;protocol=https;nobranch=1"
SRCREV = "d70c24a745e2f2195222400f901cb3a9296f28b5"
FILES:${PN} += "${libdir}"