summaryrefslogtreecommitdiff
path: root/dev-libs/kopeninghours
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/kopeninghours')
-rw-r--r--dev-libs/kopeninghours/Manifest1
-rw-r--r--dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch32
-rw-r--r--dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild57
-rw-r--r--dev-libs/kopeninghours/kopeninghours-25.12.49.9999.ebuild2
4 files changed, 34 insertions, 58 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest
deleted file mode 100644
index e082844dba9..00000000000
--- a/dev-libs/kopeninghours/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kopeninghours-25.12.0.tar.xz 75984 BLAKE2B b615e82e546468e4bd8678a345a48604ce57dcb918c9c0d943d8845d6d2556b54a652a4d4c8c791fc4fb8d4b3dc8305f4bfbc22879d0c50f97013e294f0c300f SHA512 716e265e1422c9e23d14d2e791c4db67b0989556633ab8375d28e637f79fde8b67452fbab3326033df782a368c746b8483f43f754a5be0d20525f7671734a879
diff --git a/dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch b/dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch
new file mode 100644
index 00000000000..4b450f1d2c5
--- /dev/null
+++ b/dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch
@@ -0,0 +1,32 @@
+From 11e0a257960a1448491795fe1d2b5eea322b6028 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Thu, 20 Nov 2025 23:43:19 +0100
+Subject: [PATCH] Raise CMake minimum to 3.10...3.16 range
+
+CMake >=3.31 warns about compat. for <3.10 being removed in the future.
+
+Make 3.10 was released in 2017 and is available in Ubuntu Bionic, which is
+referenced in the root CMakeLists.txt. The version range upper limit lets
+others at least test at the same policy level as the 3.16 minimum from ECM.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e6b33cf..98172b0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ # SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
+ # SPDX-License-Identifier: BSD-3-Clause
+
+-cmake_minimum_required(VERSION 3.5)
++cmake_minimum_required(VERSION 3.10...3.16)
+
+ # KDE Application Version, managed by release script
+ set (RELEASE_SERVICE_VERSION_MAJOR "26")
+--
+GitLab
+
diff --git a/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild b/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild
deleted file mode 100644
index d52224080fc..00000000000
--- a/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_QTHELP="true"
-ECM_TEST="true"
-PVCUT=$(ver_cut 1-3)
-KFMIN=6.19.0
-QTMIN=6.9.1
-PYTHON_COMPAT=( python3_{11..13} )
-inherit ecm gear.kde.org python-single-r1
-
-DESCRIPTION="Library for parsing and evaluating OSM opening hours expressions"
-HOMEPAGE="https://api.kde.org/kopeninghours/html/index.html
-https://invent.kde.org/libraries/kopeninghours"
-
-LICENSE="LGPL-2+"
-SLOT="6/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm64"
-IUSE="python"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- >=dev-libs/kpublictransport-${PVCUT}:6=
- >=dev-qt/qtdeclarative-${QTMIN}:6
- >=kde-frameworks/kholidays-${KFMIN}:6
- >=kde-frameworks/ki18n-${KFMIN}:6
- virtual/zlib:=
- python? (
- $(python_gen_cond_dep '
- >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}]
- ')
- )
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
-"
-BDEPEND="
- app-alternatives/lex
- app-alternatives/yacc
-"
-
-src_configure() {
- local mycmakeargs=(
- -DPython_LIBRARY=$(python_get_library_path)
- -DPython_INCLUDE_DIR=$(python_get_includedir)
- $(cmake_use_find_package python Boost)
- )
- ecm_src_configure
-}
-
-src_install() {
- ecm_src_install
- use python && python_optimize
-}
diff --git a/dev-libs/kopeninghours/kopeninghours-25.12.49.9999.ebuild b/dev-libs/kopeninghours/kopeninghours-25.12.49.9999.ebuild
index dba3358221e..f58b984b157 100644
--- a/dev-libs/kopeninghours/kopeninghours-25.12.49.9999.ebuild
+++ b/dev-libs/kopeninghours/kopeninghours-25.12.49.9999.ebuild
@@ -42,6 +42,8 @@ BDEPEND="
app-alternatives/yacc
"
+PATCHES=( "${FILESDIR}/${PN}-25.12.0-cmake-minreqver-3.10.patch" )
+
src_configure() {
local mycmakeargs=(
-DPython_LIBRARY=$(python_get_library_path)