diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/ghostscript/.beer | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/ghostscript/.beer')
-rw-r--r-- | homebrew/ghostscript/.beer | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/homebrew/ghostscript/.beer b/homebrew/ghostscript/.beer new file mode 100644 index 000000000..8cf5f0f3a --- /dev/null +++ b/homebrew/ghostscript/.beer @@ -0,0 +1,113 @@ +{ + "name": "Ghostscript", + "description": "Interpreter for PostScript and PDF", + "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/ghostpdl-9.26.tar.xz", + "mirror": null, + "homepage": "https://www.ghostscript.com/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "libtiff", + "build-depend": false + } + ], + "resource": [ + { + "name": "fonts", + "url": "https://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz" + } + ], + "conflicts": [], + "patches": [ + { + "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/0001-Bug700317-Address-.force-operators-exposure.tgz", + "strip": "1" + }, + { + "url": null, + "data": [ + "diff --git i/base/unix-dll.mak w/base/unix-dll.mak\n", + "index f50c09c00adb..8855133b400c 100644\n", + "--- i/base/unix-dll.mak\n", + "+++ w/base/unix-dll.mak\n", + "@@ -89,18 +89,33 @@ GPDL_SONAME_MAJOR_MINOR=$(GPDL_SONAME_BASE)$(GS_SOEXT)$(SO_LIB_VERSION_SEPARATOR\n", + " # similar linkers it must containt the trailing \"=\"\n", + " # LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR)\n", + " \n", + " \n", + " # MacOS X\n", + "-#GS_SOEXT=dylib\n", + "-#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)\n", + "-#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)\n", + "-#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)\n", + "+GS_SOEXT=dylib\n", + "+GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)\n", + "+GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)\n", + "+GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)\n", + " #LDFLAGS_SO=-dynamiclib -flat_namespace\n", + "-#LDFLAGS_SO_MAC=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)\n", + "+GS_LDFLAGS_SO=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)\n", + " #LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME)\n", + " \n", + "+PCL_SONAME=$(PCL_SONAME_BASE).$(GS_SOEXT)\n", + "+PCL_SONAME_MAJOR=$(PCL_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)\n", + "+PCL_SONAME_MAJOR_MINOR=$(PCL_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)\n", + "+PCL_LDFLAGS_SO=-dynamiclib -install_name $(PCL_SONAME_MAJOR_MINOR)\n", + "+\n", + "+XPS_SONAME=$(XPS_SONAME_BASE).$(GS_SOEXT)\n", + "+XPS_SONAME_MAJOR=$(XPS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)\n", + "+XPS_SONAME_MAJOR_MINOR=$(XPS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)\n", + "+XPS_LDFLAGS_SO=-dynamiclib -install_name $(XPS_SONAME_MAJOR_MINOR)\n", + "+\n", + "+GPDL_SONAME=$(GPDL_SONAME_BASE).$(GS_SOEXT)\n", + "+GPDL_SONAME_MAJOR=$(GPDL_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)\n", + "+GPDL_SONAME_MAJOR_MINOR=$(GPDL_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)\n", + "+GPDL_LDFLAGS_SO=-dynamiclib -install_name $(GPDL_SONAME_MAJOR_MINOR)\n", + "+\n", + " GS_SO=$(BINDIR)/$(GS_SONAME)\n", + " GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR)\n", + " GS_SO_MAJOR_MINOR=$(BINDIR)/$(GS_SONAME_MAJOR_MINOR)\n", + "\n", + " PCL_SO=$(BINDIR)/$(PCL_SONAME)\n" + ] + } + ], + "install": [ + "args = %W[", + "--prefix=#{prefix}", + "--disable-cups", + "--disable-compile-inits", + "--disable-gtk", + "--disable-fontconfig", + "--without-libidn", + "--with-system-libtiff", + "--without-x", + "]", + "if build.head?", + "system \"./autogen.sh\", *args", + "else", + "system \"./configure\", *args", + "end", + "system \"make\", \"install\"", + "system \"make\", \"install-so\"", + "(pkgshare/\"fonts\").install resource(\"fonts\")", + "(man/\"de\").rmtree" + ], + "version": "9.26", + "file": "ghostscript.rb" +}
\ No newline at end of file |