summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorFabien Proriol <fabien.proriol@kazoe.org>2025-05-25 18:06:26 +0200
committerFabien Proriol <fabien.proriol@viavisolutions.com>2025-05-26 16:36:52 +0200
commiteb75299b1372a27d6dc3a9bcf7ab85b37744858c (patch)
tree644a87344e551719255e55b9d6bc2f25c29b9d65 /recipes-core
parent09783505e865bab1626fa70b15ea64c6e782fd4a (diff)
Add few KaZoe projectsHEADmaster
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/images/kazoe-image.bb19
-rw-r--r--recipes-core/kzsettings/kzsettings.inc19
-rw-r--r--recipes-core/kzsettings/kzsettings_git.bb3
-rw-r--r--recipes-core/kzxdg/kzxdg.inc12
-rw-r--r--recipes-core/kzxdg/kzxdg_git.bb3
-rw-r--r--recipes-core/packagegroups/packagegroups-kazoe.bb5
6 files changed, 61 insertions, 0 deletions
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"