Date: Thursday, June 23, 2022 @ 16:23:10 Author: arojas Revision: 1239272
Update to 3.1.4.1 Added: krita-plugin-gmic/trunk/fix-build.patch Modified: krita-plugin-gmic/trunk/PKGBUILD -----------------+ PKGBUILD | 10 +++++----- fix-build.patch | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-06-23 15:47:32 UTC (rev 1239271) +++ PKGBUILD 2022-06-23 16:23:10 UTC (rev 1239272) @@ -1,7 +1,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=krita-plugin-gmic -pkgver=3.1.2.3 +pkgver=3.1.4.1 pkgrel=1 pkgdesc='GMic plugin for Krita' arch=(x86_64) @@ -10,15 +10,15 @@ depends=(krita gmic) makedepends=(extra-cmake-modules qt5-tools) source=(https://github.com/amyspark/gmic/releases/download/v$pkgver/gmic-$pkgver-patched.tar.xz{,.asc} - https://github.com/amyspark/gmic/commit/acc77d4d.patch) -sha256sums=('2c961eb5a77692536e917cd684681813a3bfee333bbade5bd03e0496882e82d2' + fix-build.patch) +sha256sums=('e655b8affd3f9e0db7e9d4e25ba7c4d63cb958c84bca2da37fa58e310bbf7e9d' 'SKIP' - '0af6d68b7d883fac20d08d300fe1f17d2c74a31d1a431abb1eccef84c261b3f5') + '3df2ae458f94f2d9aa96df933c7598f986e0f6ff1d088d7fcb5523cbb41cc77f') validpgpkeys=(4894424D2412FEE5176732A3FC00108CFD9DBF1E) # https://github.com/amyspark.gpg options=(debug) prepare() { - patch -d gmic-$pkgver-patched -p1 < acc77d4d.patch # Fix build + patch -d gmic-$pkgver-patched -p1 < fix-build.patch } build() { Added: fix-build.patch =================================================================== --- fix-build.patch (rev 0) +++ fix-build.patch 2022-06-23 16:23:10 UTC (rev 1239272) @@ -0,0 +1,14 @@ +diff --git a/gmic-qt/src/PersistentMemory.cpp b/gmic-qt/src/PersistentMemory.cpp +index 09c48d4..8b30c10 100644 +--- a/gmic-qt/src/PersistentMemory.cpp ++++ b/gmic-qt/src/PersistentMemory.cpp +@@ -23,6 +23,9 @@ + * + */ + #include "PersistentMemory.h" ++#ifndef gmic_core ++#include "CImg.h" ++#endif + #include "gmic.h" + + namespace GmicQt
