community/gmic to 2.4.0-1

This commit is contained in:
Kevin Mihelich 2018-10-04 18:33:40 +00:00
parent 0cda0e07d4
commit a6b5c8bfe0

View file

@ -11,18 +11,17 @@ highmem=1
pkgbase=gmic
pkgname=(gmic zart gimp-plugin-gmic krita-plugin-gmic)
pkgver=2.3.6
pkgver=2.4.0
pkgrel=1
arch=(x86_64)
url="http://gmic.eu/"
license=(custom:CeCILL)
makedepends=(gimp qt5-base fftw openexr opencv git)
source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz)
sha256sums=('86fe671879725863acecc207bdb86c4428635cd1a20d6043618864cf4c366113')
sha256sums=('ffc649c960f2dc52cea77039802a8c2b71f997ba300270e08fc2117e238614c3')
prepare() {
sed -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' -i gmic-$pkgver/src/Makefile
sed -e 's|-Ofast|-O2 -fno-fast-math|g' -i gmic-$pkgver/gmic-qt/gmic_qt.pro
# fix overlinking
sed -e 's/pkg-config opencv --libs ||//' -e 's/-lopencv_highgui/-lopencv_videoio/' -i gmic-$pkgver/src/Makefile