summaryrefslogtreecommitdiff
path: root/homebrew/pdf2htmlex/.beer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/pdf2htmlex/.beer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/pdf2htmlex/.beer')
-rw-r--r--homebrew/pdf2htmlex/.beer110
1 files changed, 110 insertions, 0 deletions
diff --git a/homebrew/pdf2htmlex/.beer b/homebrew/pdf2htmlex/.beer
new file mode 100644
index 000000000..ec5c54653
--- /dev/null
+++ b/homebrew/pdf2htmlex/.beer
@@ -0,0 +1,110 @@
+{
+ "name": "Pdf2htmlex",
+ "description": "PDF to HTML converter",
+ "url": "https://github.com/coolwanglu/pdf2htmlEX/archive/v0.14.6.tar.gz",
+ "mirror": null,
+ "homepage": "https://coolwanglu.github.io/pdf2htmlEX/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": false
+ },
+ {
+ "depend": "automake",
+ "build-depend": false
+ },
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "cairo",
+ "build-depend": false
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "giflib",
+ "build-depend": false
+ },
+ {
+ "depend": "glib",
+ "build-depend": false
+ },
+ {
+ "depend": "gnu-getopt",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "libtiff",
+ "build-depend": false
+ },
+ {
+ "depend": "libtool",
+ "build-depend": false
+ },
+ {
+ "depend": "openjpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "pango",
+ "build-depend": false
+ },
+ {
+ "depend": "ttfautohint",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "fontforge",
+ "url": "https://github.com/coolwanglu/fontforge.git"
+ },
+ {
+ "name": "poppler",
+ "url": "https://poppler.freedesktop.org/poppler-0.57.0.tar.xz"
+ },
+ {
+ "name": "poppler-data",
+ "url": "https://poppler.freedesktop.org/poppler-data-0.4.8.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "resource(\"fontforge\").stage do",
+ "inreplace \"gutils/gimagereadgif.c\", \"DGifCloseFile(gif)\", \"DGifCloseFile(gif, NULL)\"",
+ "ENV.append \"LDFLAGS\", \"-lintl\"",
+ "ENV[\"ARCHFLAGS\"] = \"-arch #{MacOS.preferred_arch}\"",
+ "system \"./autogen.sh\"",
+ "system \"./configure\", \"--prefix=#{libexec}/fontforge\",",
+ "\"--without-libzmq\",",
+ "\"--without-x\",",
+ "\"--without-iconv\",",
+ "\"--disable-python-scripting\",",
+ "\"--disable-python-extension\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.14.6",
+ "file": "pdf2htmlex.rb"
+} \ No newline at end of file