mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/gmic to 2.8.4-2
This commit is contained in:
parent
1e80fd40d1
commit
dbf8b354d4
1 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,7 @@ highmem=1
|
|||
pkgbase=gmic
|
||||
pkgname=(gmic zart gimp-plugin-gmic krita-plugin-gmic)
|
||||
pkgver=2.8.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=(x86_64)
|
||||
url="https://gmic.eu/"
|
||||
license=(custom:CeCILL)
|
||||
|
@ -30,6 +30,8 @@ prepare() {
|
|||
mv zart gmic-$pkgver
|
||||
|
||||
sed -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' -i gmic-$pkgver/src/Makefile
|
||||
# Fix segfault on zart due to optimization https://github.com/c-koi/zart/issues/14
|
||||
sed -e 's|-Ofast||g' -e 's|-flto||g' -i gmic-$pkgver/src/Makefile -i gmic-$pkgver/gmic-qt/gmic_qt.pro
|
||||
# fix overlinking
|
||||
sed -e 's/pkg-config opencv --libs ||//' -e 's/-lopencv_highgui/-lopencv_videoio/' \
|
||||
-e 's/pkg-config opencv/pkg-config opencv4/' -i gmic-$pkgver/src/Makefile
|
||||
|
@ -44,6 +46,9 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
#unset CFLAGS
|
||||
CFLAGS=`echo $CFLAGS | sed -e 's/-O2//'` && CXXFLAGS="$CFLAGS"
|
||||
|
||||
cd gmic-$pkgver
|
||||
make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} -j1
|
||||
|
||||
|
|
Loading…
Reference in a new issue