gmic: Makefile patch openexr-2.4.0 library names

This commit is contained in:
Jürgen Buchmüller 2019-12-06 15:18:54 +01:00
parent f6ba552970
commit 9ec032ab03

View file

@ -5,7 +5,7 @@ revision=2
build_wrksrc="src"
build_style=gnu-makefile
hostmakedepends="pkg-config gimp"
makedepends="fftw-devel libopenexr-devel MesaLib-devel libopencv-devel
makedepends="fftw-devel ilmbase-devel libopenexr-devel MesaLib-devel libopencv-devel
libgomp-devel libpng-devel libjpeg-turbo-devel tiff-devel libcurl-devel
gtk+-devel gimp-devel qt5-devel"
short_desc="GREYC's Magic for Image Computing (image processing framework)"
@ -17,6 +17,11 @@ checksum="c71e784abd2141252efad505b6a48b6974c388788db5530b3ca0dfb07baeafeb"
disable_parallel_build="yes"
nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/8869/steps/shell_3/logs/stdio"
pre_build() {
# Fix library names for openexr-2.4.0
vsed -i Makefile -e "s;-lIlmImf -lHalf;-lIlmImf-2_4 -lHalf-2_4;"
}
post_install() {
vlicense ../COPYING
}