[arch-commits] Commit in kimageannotator/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon May 31 07:03:55 UTC 2021
Date: Monday, May 31, 2021 @ 07:03:55
Author: arojas
Revision: 416866
archrelease: copy trunk to extra-x86_64
Added:
kimageannotator/repos/extra-x86_64/PKGBUILD
(from rev 416865, kimageannotator/trunk/PKGBUILD)
Deleted:
kimageannotator/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++--------------------------
1 file changed, 32 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-31 07:03:46 UTC (rev 416865)
+++ PKGBUILD 2021-05-31 07:03:55 UTC (rev 416866)
@@ -1,26 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>
-
-pkgname=kimageannotator
-pkgver=0.5.0
-pkgrel=1
-pkgdesc='Tool for annotating images'
-arch=(x86_64)
-url='https://github.com/DamirPorobic/kImageAnnotator'
-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')
-
-build() {
- cmake -B build -S kImageAnnotator-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
-
Copied: kimageannotator/repos/extra-x86_64/PKGBUILD (from rev 416865, kimageannotator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-31 07:03:55 UTC (rev 416866)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>
+
+pkgname=kimageannotator
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='Tool for annotating images'
+arch=(x86_64)
+url='https://github.com/DamirPorobic/kImageAnnotator'
+license=(GPL)
+depends=(qt5-svg kcolorpicker)
+makedepends=(cmake qt5-tools)
+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 \
+ -DBUILD_SHARED_LIBS=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
More information about the arch-commits
mailing list