community/gmic to 2.2.2-2

This commit is contained in:
Kevin Mihelich 2018-05-09 00:21:16 +00:00
parent 2e56b33139
commit 55e18251f6

View file

@ -13,11 +13,11 @@ pkgbase=gmic
pkgname=(gmic zart gimp-plugin-gmic krita-plugin-gmic)
pkgver=2.2.2
_commit=26c271d8a721447f24f118c9d0236a02118d0009
pkgrel=1
pkgrel=2
arch=(x86_64)
url="http://gmic.eu/"
license=(custom:CeCILL)
makedepends=(gimp qt5-base fftw openexr opencv git hdf5 gtkglext)
makedepends=(gimp qt5-base fftw openexr opencv git)
source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz"
git://github.com/dtschump/gmic-community.git#commit=$_commit
gmic-qt-v.$pkgver.tar.gz::"https://github.com/c-koi/gmic-qt/archive/v.$pkgver.tar.gz")
@ -32,6 +32,7 @@ prepare() {
sed -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' -i gmic/src/Makefile
sed -e 's|-Ofast|-O2 -fno-fast-math|g' -i gmic-qt/gmic_qt.pro
sed -e 's/pkg-config opencv --libs ||//' -e 's/-lopencv_highgui/-lopencv_videoio/' -i gmic/src/Makefile # fix overlinking
sed -i "s|-mtune=generic|${CFLAGS}|" gmic/src/Makefile
}