ttfautohint: remove with-qt option.
Used by ~10% of installs (https://formulae.brew.sh/formula/ttfautohint) and reported broken in #34257. Fixes #34257.
This commit is contained in:
parent
c773b9ff8a
commit
0998b4eb8b
1 changed files with 6 additions and 20 deletions
|
@ -21,36 +21,22 @@ class Ttfautohint < Formula
|
|||
depends_on "pkg-config" => :build
|
||||
end
|
||||
|
||||
option "with-qt", "Build ttfautohintGUI also"
|
||||
|
||||
deprecated_option "with-qt5" => "with-qt"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "freetype"
|
||||
depends_on "harfbuzz"
|
||||
depends_on "libpng"
|
||||
depends_on "qt" => :optional
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
--disable-dependency-tracking
|
||||
--disable-silent-rules
|
||||
--prefix=#{prefix}
|
||||
--without-doc
|
||||
]
|
||||
|
||||
args << "--without-qt" if build.without? "qt"
|
||||
|
||||
system "./bootstrap" if build.head?
|
||||
system "./configure", *args
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}",
|
||||
"--without-doc",
|
||||
"--without-qt"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
if build.with? "qt"
|
||||
system "#{bin}/ttfautohintGUI", "-V"
|
||||
else
|
||||
system "#{bin}/ttfautohint", "-V"
|
||||
end
|
||||
system "#{bin}/ttfautohint", "-V"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue