[arch-commits] Commit in kimageannotator/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon May 31 07:03:46 UTC 2021
Date: Monday, May 31, 2021 @ 07:03:46
Author: arojas
Revision: 416865
Fix crash on destructor
Modified:
kimageannotator/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-31 00:43:52 UTC (rev 416864)
+++ PKGBUILD 2021-05-31 07:03:46 UTC (rev 416865)
@@ -3,7 +3,7 @@
pkgname=kimageannotator
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='Tool for annotating images'
arch=(x86_64)
url='https://github.com/DamirPorobic/kImageAnnotator'
@@ -10,9 +10,15 @@
license=(GPL)
depends=(qt5-svg kcolorpicker)
makedepends=(cmake qt5-tools)
-source=(https://github.com/ksnip/kImageAnnotator/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('9507382c76997dcce7d080d26081737ae3ed570221039e32012b6196f522b36f')
+source=(https://github.com/ksnip/kImageAnnotator/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+ https://github.com/ksnip/kImageAnnotator/commit/eda12cf4.patch)
+sha256sums=('9507382c76997dcce7d080d26081737ae3ed570221039e32012b6196f522b36f'
+ '7809128106bf2b0d1bb18af983af7b54ec627b3b5ae575f9dedd5937481bca13')
+prepare() {
+ patch -d kImageAnnotator-$pkgver -p1 < eda12cf4.patch # Fix crash on destructor
+}
+
build() {
cmake -B build -S kImageAnnotator-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
More information about the arch-commits
mailing list