[arch-commits] Commit in kreport/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Apr 9 08:55:52 UTC 2022
Date: Saturday, April 9, 2022 @ 08:55:51
Author: arojas
Revision: 442146
Fix missing symbols with GCC 10 (FS#74416), add qtwebkit makedepends
Modified:
kreport/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-09 08:33:37 UTC (rev 442145)
+++ PKGBUILD 2022-04-09 08:55:51 UTC (rev 442146)
@@ -2,35 +2,33 @@
pkgname=kreport
pkgver=3.2.0
-pkgrel=2
-pkgdesc="A framework for creation and generation of reports in multiple formats"
+pkgrel=3
+pkgdesc='A framework for creation and generation of reports in multiple formats'
arch=(x86_64)
-url="http://www.kexi-project.org/"
+url='http://www.kexi-project.org/'
license=(GPL2)
depends=(kproperty qt5-declarative)
-makedepends=(extra-cmake-modules python qt5-tools marble-common doxygen qt5-doc)
-optdepends=('marble-common: support for maps in reports')
-source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig})
+makedepends=(extra-cmake-modules python qt5-tools marble-common doxygen qt5-doc qt5-webkit)
+optdepends=('marble-common: support for maps in reports' 'qt5-webkit: for web reports')
+source=(https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz{,.sig}
+ https://invent.kde.org/libraries/kreport/-/commit/5d3053ea.patch)
sha256sums=('22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7'
- 'SKIP')
+ 'SKIP'
+ 'c4f0b7ead3b0ffb1bd1d1997a78a48496c1de5dea11d48c2b9491cbabf4c5543')
validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # Jarosław Staniek <staniek at kde.org>
prepare() {
- mkdir -p build
+ patch -d $pkgname-$pkgver -p1 < 5d3053ea.patch # Fix missing symbols with GCC 10
}
build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_BUILD_TYPE=Release \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
More information about the arch-commits
mailing list