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

Antonio Rojas arojas at archlinux.org
Sat Aug 1 08:07:57 UTC 2020


    Date: Saturday, August 1, 2020 @ 08:07:56
  Author: arojas
Revision: 392848

zxing-cpp 1.1.0 rebuild

Modified:
  kitinerary/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-01 08:05:54 UTC (rev 392847)
+++ PKGBUILD	2020-08-01 08:07:56 UTC (rev 392848)
@@ -2,7 +2,7 @@
 
 pkgname=kitinerary
 pkgver=20.04.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Data model and extraction system for travel reservation information"
 arch=(x86_64)
 url="https://kontact.kde.org"
@@ -9,15 +9,22 @@
 license=(LGPL)
 depends=(kmime kpkpass kcalendarcore kcontacts poppler libphonenumber zxing-cpp)
 makedepends=(extra-cmake-modules)
-source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         kitinerary-zxing-cpp-1.1.patch::"https://invent.kde.org/pim/kitinerary/commit/8bf24e23.patch")
 sha256sums=('8c7dab2e28891af268d22884ecbb9cd7031c4b34352ed3b576dbb6dcb5977c7e'
-            'SKIP')
+            'SKIP'
+            '23b42066430fd6453d23f1832b4062ca13a782ec0c1db2626d33eafb7a8f3cc9')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../kitinerary-zxing-cpp-1.1.patch # Fix build with zxing-cpp 1.1
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
+    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fexceptions" \
     -DBUILD_TESTING=OFF
   cmake --build build
 }


More information about the arch-commits mailing list