[arch-commits] Commit in gmic/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 8 20:16:45 UTC 2018
Date: Tuesday, May 8, 2018 @ 20:16:44
Author: arojas
Revision: 319705
Fix opencv overlinking (FS#58500)
Modified:
gmic/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-08 19:55:12 UTC (rev 319704)
+++ PKGBUILD 2018-05-08 20:16:44 UTC (rev 319705)
@@ -8,11 +8,11 @@
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")
@@ -27,6 +27,7 @@
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
}
build() {
More information about the arch-commits
mailing list