ghostscript: use system lcms2 and openjpeg (#13320)

Fixes #13303
This commit is contained in:
Johannes 2018-04-09 19:29:43 +02:00 committed by Alessio Sergi
parent 5fdf707e4d
commit 8d0caa3ad4

View file

@ -1,7 +1,7 @@
# Template file for 'ghostscript'
pkgname=ghostscript
version=9.23
revision=1
revision=2
short_desc="An interpreter for the PostScript language"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.ghostscript.com/"
@ -11,7 +11,7 @@ checksum=1fcedc27d4d6081105cdf35606cb3f809523423a6cf9e3c23cead3525d6ae8d9
hostmakedepends="automake libtool pkg-config"
makedepends="cups-devel dbus-devel fontconfig-devel jasper-devel jbig2dec-devel
lcms2-devel libXext-devel libXt-devel libpaper-devel"
lcms2-devel libXext-devel libXt-devel libpaper-devel libopenjpeg2-devel"
depends="gsfonts"
if [ "$CROSS_BUILD" ]; then
@ -20,7 +20,7 @@ fi
pre_configure() {
# force it to use system libs.
rm -rf zlib jpeg libpng jasper expat tiff lcms2 freetype cups/libs jbig2dec
rm -rf zlib jpeg libpng jasper expat tiff lcms2art freetype cups/libs jbig2dec openjpeg
# add missing LDFLAGS
sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak