kopeninghours: package library

This commit is contained in:
Andreas Cord-Landwehr
2024-01-16 20:55:49 +01:00
parent cac0d6266c
commit 5521000599
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# SPDX-FileCopyrightText: 2024 Andreas Cord-Landwehr <cordlandwehr@kde.org>
#
# 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/* \
"

View File

@@ -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"