Skip to content

Commit a3fc482

Browse files
committed
kdb: rebuild with libicu78
1 parent 0bd7285 commit a3fc482

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

srcpkgs/kdb/patches/cmake-4.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- a/cmake/modules/SetKDbCMakePolicies.cmake
2+
+++ b/cmake/modules/SetKDbCMakePolicies.cmake
3+
@@ -8,9 +8,6 @@ cmake_policy(SET CMP0048 NEW) # for PROJ
4+
cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's Qt5ModuleLocation.cmake
5+
# "Simplify variable reference and escape sequence evaluation"
6+
7+
-if(POLICY CMP0059) # Don’t treat DEFINITIONS as a built-in directory property.
8+
- cmake_policy(SET CMP0059 OLD)
9+
-endif()
10+
if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3)
11+
cmake_policy(SET CMP0063 NEW)
12+
endif()

srcpkgs/kdb/template

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Template file for 'kdb'
22
pkgname=kdb
33
version=3.2.0
4-
revision=10
4+
revision=11
55
build_style=cmake
6-
hostmakedepends="extra-cmake-modules doxygen pkg-config kcoreaddons python3"
6+
configure_args="-DCMAKE_CXX_STANDARD=17"
7+
hostmakedepends="extra-cmake-modules doxygen pkg-config kcoreaddons python3
8+
qt5-qmake qt5-host-tools python3"
79
makedepends="kcoreaddons-devel postgresql-libs-devel libmariadbclient-devel
810
sqlite-devel"
911
short_desc="Database connectivity and creation framework"
@@ -13,10 +15,6 @@ homepage="http://www.kexi-project.org/"
1315
distfiles="${KDE_SITE}/kdb/src/kdb-${version}.tar.xz"
1416
checksum=8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069
1517

16-
if [ "$CROSS_BUILD" ]; then
17-
hostmakedepends+=" qt5-qmake qt5-host-tools python3"
18-
fi
19-
2018
kdb-devel_package() {
2119
depends="${sourcepkg}>=${version}_${revision}"
2220
short_desc+=" - development files"

0 commit comments

Comments
 (0)