community/gmic to 2.9.8-1

This commit is contained in:
Kevin Mihelich 2021-07-16 13:11:48 +00:00
parent a4f489f1c6
commit d2ed84438e

View file

@ -10,15 +10,15 @@
highmem=1
pkgbase=gmic
pkgname=(gmic zart gimp-plugin-gmic krita-plugin-gmic)
pkgver=2.9.7
pkgrel=5
pkgname=(gmic gimp-plugin-gmic krita-plugin-gmic)
pkgver=2.9.8
pkgrel=1
arch=(x86_64)
url='https://gmic.eu/'
license=(custom:CeCILL)
makedepends=(cmake gimp qt5-base fftw openexr opencv eigen graphicsmagick qt5-tools)
source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz)
sha256sums=('942537487ea722141230579db3cd4331368429c0e33cb38fee1b17aae9557f16')
sha256sums=('18d6bbc731ae3b4da8a656ac189476793b111a9dd19f72db2312f074df7cdc82')
build() {
cmake -B build -S gmic-$pkgver \
@ -52,13 +52,6 @@ build() {
-DGMIC_QT_HOST=krita \
-DENABLE_LTO=OFF
cmake --build build-krita
mkdir -p build-zart
cd build-zart
unset CXXFLAGS # https://github.com/c-koi/zart/issues/14
qmake ../gmic-$pkgver/zart \
GMIC_PATH="$srcdir"/gmic-$pkgver/src GMIC_DYNAMIC_LINKING=on QMAKE_CXXFLAGS+=" -DOPENCV2_HEADERS"
make
}
package_gmic() {
@ -74,15 +67,6 @@ package_gmic() {
install -Dm644 gmic-$pkgver/resources/gmic_cluts.gmz -t "$pkgdir"/usr/share/gmic
}
package_zart() {
pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam"
depends=(gmic qt5-base)
cd build-zart
install -Dm755 zart -t "$pkgdir"/usr/bin
install -Dm644 ../gmic-$pkgver/zart/Licence_CeCILL_V2-en.html -t "$pkgdir"/usr/share/licenses/$pkgname
}
package_gimp-plugin-gmic() {
pkgdesc="Gimp plugin for the G'MIC image processing framework"
depends=(gimp gmic qt5-base)