Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jp2a: downgrade from 1.0.7 to 1.0.6 #52582

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions Formula/jp2a.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
class Jp2a < Formula
desc "Convert JPG images to ASCII"
homepage "https://csl.name/jp2a/"
url "https://github.com/cslarsen/jp2a/archive/v1.0.7.tar.gz"
sha256 "e509d8bbf9434afde5c342568b21d11831a61d9942ca8cb1633d4295b7bc5059"
# Do not change source from SourceForge to GitHub until this issue is resolved:
# https://github.com/cslarsen/jp2a/issues/8
# Currently, GitHub only has jp2a v1.0.7, which is broken as described above.
# jp2a v1.0.6 is stable, but it is only available on SourceForge, not GitHub.
url "https://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz"
sha256 "0930ac8a9545c8a8a65dd30ff80b1ae0d3b603f2ef83b04226da0475c7ccce1c"
revision 1
version_scheme 1

bottle do
cellar :any
Expand All @@ -12,13 +18,12 @@ class Jp2a < Formula
sha256 "a45231943df5bffc1589114b20b5b6c9745f909fd1e85db63da40e28bec02709" => :sierra
end

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "jpeg"

def install
system "autoreconf", "-ivf"
system "./configure", "--disable-dependency-tracking",
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
Expand Down