summaryrefslogtreecommitdiff
path: root/recipes-core/kzsettings/kzsettings.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/kzsettings/kzsettings.inc')
-rw-r--r--recipes-core/kzsettings/kzsettings.inc19
1 files changed, 19 insertions, 0 deletions
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}"