pdf2htmlex: revision for gobject-introspection switch to system python

to avoid readline linkage in the bottle.

Also, fix build with latest openjpeg.

Fixes #22331.

Closes #22333.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2018-01-01 23:25:39 -08:00
parent 38bbecb148
commit 379c15315c

View file

@ -3,7 +3,7 @@ class Pdf2htmlex < Formula
homepage "https://coolwanglu.github.io/pdf2htmlEX/"
url "https://github.com/coolwanglu/pdf2htmlEX/archive/v0.14.6.tar.gz"
sha256 "320ac2e1c2ea4a2972970f52809d90073ee00a6c42ef6d9833fb48436222f0e5"
revision 18
revision 19
head "https://github.com/coolwanglu/pdf2htmlEX.git"
@ -82,8 +82,6 @@ class Pdf2htmlex < Formula
ENV.prepend_path "PATH", "#{libexec}/fontforge/bin"
resource("poppler").stage do
ENV["LIBOPENJPEG_CFLAGS"] = "-I#{Formula["openjpeg"].opt_include}/openjpeg-2.2"
inreplace "poppler.pc.in", "Cflags: -I${includedir}/poppler",
"Cflags: -I${includedir}/poppler -I${includedir}"