From eb75299b1372a27d6dc3a9bcf7ab85b37744858c Mon Sep 17 00:00:00 2001 From: Fabien Proriol Date: Sun, 25 May 2025 18:06:26 +0200 Subject: Add few KaZoe projects --- recipes-core/images/kazoe-image.bb | 19 +++++++++++++++++++ recipes-core/kzsettings/kzsettings.inc | 19 +++++++++++++++++++ recipes-core/kzsettings/kzsettings_git.bb | 3 +++ recipes-core/kzxdg/kzxdg.inc | 12 ++++++++++++ recipes-core/kzxdg/kzxdg_git.bb | 3 +++ recipes-core/packagegroups/packagegroups-kazoe.bb | 5 +++++ 6 files changed, 61 insertions(+) create mode 100644 recipes-core/images/kazoe-image.bb create mode 100644 recipes-core/kzsettings/kzsettings.inc create mode 100644 recipes-core/kzsettings/kzsettings_git.bb create mode 100644 recipes-core/kzxdg/kzxdg.inc create mode 100644 recipes-core/kzxdg/kzxdg_git.bb create mode 100644 recipes-core/packagegroups/packagegroups-kazoe.bb (limited to 'recipes-core') diff --git a/recipes-core/images/kazoe-image.bb b/recipes-core/images/kazoe-image.bb new file mode 100644 index 0000000..e0e1ade --- /dev/null +++ b/recipes-core/images/kazoe-image.bb @@ -0,0 +1,19 @@ +SUMMARY = "KaZoe Image." + +IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}" + +IMAGE_LINGUAS = " " + +LICENSE = "MIT" + +inherit core-image + +IMAGE_ROOTFS_SIZE ?= "8192" +IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}" + + +IMAGE_INSTALL += " packagegroups-kazoe " +ROOT_PASSWORD ?= "KaZoe" +inherit extrausers +DEPENDS += " openssl-native " +EXTRA_USERS_PARAMS = "usermod -p '''$(echo ${ROOT_PASSWORD} | openssl passwd -1 -stdin)''' root; " diff --git a/recipes-core/kzsettings/kzsettings.inc b/recipes-core/kzsettings/kzsettings.inc new file mode 100644 index 0000000..dacd4c6 --- /dev/null +++ b/recipes-core/kzsettings/kzsettings.inc @@ -0,0 +1,19 @@ +SUMMARY = "KaZoe Settings library" +DESCRIPTION = "KaZoe Settings library" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84657d0be71d6615481bbbde593d3c88" + +inherit kazoe-project python3-dir qt6-cmake + +DEPENDS += " qtdeclarative qtdeclarative-native " + +PACKAGES += " ${PN}-python ${PN}-qt ${PN}-qmlplugin " + +PACKAGECONFIG ??= "python3 " +PACKAGECONFIG[python3] = "-DWITH_PYTHON=ON,,python3-pybind11,python3-pybind11" + +EXTRA_OECMAKE += " -DPYTHONPATH=${PYTHON_SITEPACKAGES_DIR} " + +FILES:${PN}-qt = "/usr/lib/libKzQSettings*" +FILES:${PN}-qmlplugin = "/usr/lib/qml/org/kazoe/settings/libKzQSettingsPlugin.so /usr/lib/qml/org/kazoe/settings/qmldir" +FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" diff --git a/recipes-core/kzsettings/kzsettings_git.bb b/recipes-core/kzsettings/kzsettings_git.bb new file mode 100644 index 0000000..f00c306 --- /dev/null +++ b/recipes-core/kzsettings/kzsettings_git.bb @@ -0,0 +1,3 @@ +require ${PN}.inc + +inherit kazoe-project-git diff --git a/recipes-core/kzxdg/kzxdg.inc b/recipes-core/kzxdg/kzxdg.inc new file mode 100644 index 0000000..7af1de8 --- /dev/null +++ b/recipes-core/kzxdg/kzxdg.inc @@ -0,0 +1,12 @@ +DESCRIPTION = "KaZoe Desktop Wayland server based on Qt Wayland Compositor" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84657d0be71d6615481bbbde593d3c88" + +inherit kazoe-project qt6-cmake + +DEPENDS = " qtbase qtdeclarative qtdeclarative-native " +RDEPENDS:${PN} += " qtbase " + +FILES:${PN} += " ${QT6_INSTALL_QMLDIR}/org/kazoe/xdg " + +EXTRA_OECMAKE += " -DQML_MODULE_INSTALL_PATH=${QT6_INSTALL_QMLDIR} " diff --git a/recipes-core/kzxdg/kzxdg_git.bb b/recipes-core/kzxdg/kzxdg_git.bb new file mode 100644 index 0000000..f00c306 --- /dev/null +++ b/recipes-core/kzxdg/kzxdg_git.bb @@ -0,0 +1,3 @@ +require ${PN}.inc + +inherit kazoe-project-git diff --git a/recipes-core/packagegroups/packagegroups-kazoe.bb b/recipes-core/packagegroups/packagegroups-kazoe.bb new file mode 100644 index 0000000..0ca23b0 --- /dev/null +++ b/recipes-core/packagegroups/packagegroups-kazoe.bb @@ -0,0 +1,5 @@ +SUMMARY = "KaZoe Desktop environement" + +inherit packagegroup + +RDEPENDS:${PN} = "kzdesktop kzsettings" -- cgit v1.2.3