diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD index 697bc2371..42d6161e3 100644 --- a/community/gmic/PKGBUILD +++ b/community/gmic/PKGBUILD @@ -11,17 +11,23 @@ highmem=1 pkgbase=gmic pkgname=(gmic zart gimp-plugin-gmic krita-plugin-gmic) -pkgver=2.7.4 -pkgrel=2 +pkgver=2.7.5 +pkgrel=1 arch=(x86_64) url="https://gmic.eu/" license=(custom:CeCILL) -makedepends=(gimp qt5-base fftw openexr opencv eigen) -source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz zart-opencv4.patch) -sha256sums=('cd9b40fa8df8a0bb47388071096c768a9d4908af574f0e98cc8515410d0b2c40' - 'f4295a2b9a6730060e1dd763c602bd5156570d623bc69c2214dfd11e94943296') +makedepends=(gimp qt5-base fftw openexr opencv eigen git) +source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz zart-opencv4.patch + git+https://github.com/c-koi/zart#commit=2d8727b5) +sha256sums=('a6854264c8ab4e7df33e19fe98314b6abcf663060e9baa18731f163eaabc1401' + 'f4295a2b9a6730060e1dd763c602bd5156570d623bc69c2214dfd11e94943296' + 'SKIP') prepare() { +# Use git version of zart which builds with current gmic + rm -r gmic-$pkgver/zart + mv zart gmic-$pkgver + sed -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' -i gmic-$pkgver/src/Makefile # fix overlinking sed -e 's/pkg-config opencv --libs ||//' -e 's/-lopencv_highgui/-lopencv_videoio/' \