community/gmic: fix

This commit is contained in:
Kevin Mihelich 2018-06-21 19:17:25 +00:00
parent 4e495c95c4
commit 6e9052d204

View file

@ -27,7 +27,7 @@ prepare() {
# fix overlinking
sed -e 's/pkg-config opencv --libs ||//' -e 's/-lopencv_highgui/-lopencv_videoio/' -i gmic-$pkgver/src/Makefile
sed -i "s|-mtune=generic|${CFLAGS}|" gmic/src/Makefile
sed -i "s|-mtune=generic|${CFLAGS}|" gmic-$pkgver/src/Makefile
cd gmic-$pkgver/zart
patch -p1 -i ../../zart-qt5.11.patch # Fix build with Qt 5.11