[arch-commits] Commit in kdb/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Apr 27 17:04:48 UTC 2020


    Date: Monday, April 27, 2020 @ 17:04:48
  Author: arojas
Revision: 381738

Fix build with postgresql 12

Modified:
  kdb/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-27 16:53:02 UTC (rev 381737)
+++ PKGBUILD	2020-04-27 17:04:48 UTC (rev 381738)
@@ -2,7 +2,7 @@
 
 pkgname=kdb
 pkgver=3.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A database connectivity and creation framework for various database vendors"
 arch=(x86_64)
 url="http://www.kexi-project.org/"
@@ -10,21 +10,24 @@
 depends=(kcoreaddons)
 makedepends=(extra-cmake-modules python mariadb-libs postgresql qt5-tools doxygen qt5-doc)
 optdepends=('mariadb-libs: MySQL plugin' 'postgresql: PostgreSQL plugin')
-source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         kdb-postgresql-12.patch::"https://cgit.kde.org/kdb.git/patch/src/drivers/postgresql?id=40cdaea4")
 sha256sums=('8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069'
-            'SKIP')
+            'SKIP'
+            'c576a6375d6694c6ca017737ee959f2fe079abd5deb56bd5e1a0674f8812cb76')
 validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # Jarosław Staniek <staniek at kde.org>
 
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdb-postgresql-12.patch # Fix build with postgresql 12
 }
 
 build() {
   cd build
   cmake ../$pkgname-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DBUILD_TESTING=OFF \
     -DBUILD_QCH=ON



More information about the arch-commits mailing list