Ghostscript: bump (#3686)

* Ghostscript: bump

* SONAME should be 9
This commit is contained in:
miqlas
2019-03-10 21:42:19 +01:00
committed by Adrien Destugues
parent 9541fd1e77
commit 7f9af83664
2 changed files with 8 additions and 7 deletions

View File

@@ -7,9 +7,9 @@ the conversion between PostScript and PDF files."
HOMEPAGE="https://ghostscript.com/"
COPYRIGHT="2001-2018 Artifex Software, Inc."
LICENSE="AGPL-3.0"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${portVersion/./}/ghostscript-$portVersion.tar.xz"
CHECKSUM_SHA256="a2971a23bf15bbd9ddcd173141b15504e51ddc1d5a0a0144b00a6a8b14a62fed"
CHECKSUM_SHA256="90ed475f37584f646e9ef829932b2525d5c6fc2e0147e8d611bc50aa0e718598"
SOURCE_DIR="ghostscript-$portVersion"
PATCHES="ghostscript_gpl-$portVersion.patchset"
@@ -54,7 +54,7 @@ PROVIDES="
cmd:ps2ps2
cmd:unix_lpr.sh
cmd:wftopfa
lib:libgs$secondaryArchSuffix = 9.25 compat >= 9
lib:libgs$secondaryArchSuffix = 9 compat >= 9
"
REQUIRES="
@@ -74,11 +74,11 @@ REQUIRES="
PROVIDES_devel="
ghostscript_gpl${secondaryArchSuffix}_devel = $portVersion
devel:libgs$secondaryArchSuffix = 9.25 compat >= 9
devel:libgs$secondaryArchSuffix = 9 compat >= 9
"
REQUIRES_devel="
ghostscript_gpl${secondaryArchSuffix} == $portVersion base
ghostscript_gpl$secondaryArchSuffix == $portVersion base
"
@@ -106,7 +106,8 @@ BUILD_PREREQUIRES="
"
defineDebugInfoPackage ghostscript_gpl$secondaryArchSuffix \
"$commandBinDir"/gs
"$commandBinDir"/gs \
"$libDir"/libgs.so.9
BUILD()
{

View File

@@ -63,7 +63,7 @@ index 86be8a3..2320578 100644
$(GS_XE): $(ld_tr) $(gs_tr) $(ECHOGS_XE) $(XE_ALL) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) \
$(UNIXLINK_MAK)
- $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(GS_LDFLAGS) -o $(GS_XE)
+ $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(GS_LDFLAGS) -shared -Wl,-soname=libgs.so.9.25 -o $(GS_XE)
+ $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(GS_LDFLAGS) -shared -Wl,-soname=libgs.so.9 -o $(GS_XE)
$(ECHOGS_XE) -a $(ldt_tr) -n -s $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) $(GS_DOT_O) -s
cat $(gsld_tr) >> $(ldt_tr)
$(ECHOGS_XE) -a $(ldt_tr) -s - $(EXTRALIBS) $(STDLIBS)