diff --git a/recipes-application/pim/kopeninghours.inc b/recipes-application/pim/kopeninghours.inc new file mode 100644 index 0000000..bceae8d --- /dev/null +++ b/recipes-application/pim/kopeninghours.inc @@ -0,0 +1,26 @@ +# SPDX-FileCopyrightText: 2024 Andreas Cord-Landwehr +# +# SPDX-License-Identifier: MIT + +DESCRIPTION = "KOpeningHours" +SUMMARY = "Library for parsing and evaluating OSM opening hours expressions" +HOMEPAGE = "https://invent.kde.org/libraries/kopeninghours" +LICENSE = "LGPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.0-or-later.txt;md5=6d2d9952d88b50a51a5c73dc431d06c7" +PR = "r0" + +DEPENDS += " \ + qtbase \ + kholidays \ + ki18n \ + flex \ + bison-native \ + boost \ +" + +inherit cmake_kdeapp +inherit python3native + +FILES:${PN} += " \ + ${libdir}/${PYTHON_DIR}/site-packages/PyKOpeningHours/* \ +" diff --git a/recipes-application/pim/kopeninghours_24.01.90.bb b/recipes-application/pim/kopeninghours_24.01.90.bb new file mode 100644 index 0000000..1f8e9e9 --- /dev/null +++ b/recipes-application/pim/kopeninghours_24.01.90.bb @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 + +require ${PN}.inc +SRC_URI = "https://download.kde.org/unstable/release-service/24.01.90/src/kopeninghours-24.01.90.tar.xz" +SRC_URI[sha256sum] = "869a2071b12f2ae0f0e73d169d753aece767d42c439f87ae8f4db66d2fc3eabc"