babl 0.1.68

Closes #42515.

Signed-off-by: Thierry Moisan <thierry.moisan@gmail.com>
This commit is contained in:
Caleb Xu 2019-07-27 00:20:27 -04:00 committed by Thierry Moisan
parent 3a949103ed
commit e7e14a7f06
No known key found for this signature in database
GPG key ID: A9A4CB593D38CDD0

View file

@ -1,8 +1,10 @@
class Babl < Formula
desc "Dynamic, any-to-any, pixel format translation library"
homepage "https://www.gegl.org/babl/"
url "https://download.gimp.org/pub/babl/0.1/babl-0.1.66.tar.bz2"
sha256 "369dd89345489a3949e83d5ad63295029088230626f64a05e530761b176fa163"
homepage "http://www.gegl.org/babl/"
url "https://download.gimp.org/pub/babl/0.1/babl-0.1.68.tar.xz"
sha256 "412dc8356b1e200e0f3aaa41bc6c317b9e489936c17c4e92cc5db9d34ca1e94c"
# Use GitHub instead of GNOME's git. The latter is unreliable.
head "https://github.com/GNOME/babl.git"
bottle do
sha256 "c31ce72d90cf85ffc1391edfe53cb7675c3b96de966d3e36ac02f435640dbf8d" => :mojave
@ -10,19 +12,13 @@ class Babl < Formula
sha256 "1e21ec92d5d7afc3d096929271a393b1d39fd68e6f582e004802afce6ba5f07b" => :sierra
end
head do
# Use Github instead of GNOME's git. The latter is unreliable.
url "https://github.com/GNOME/babl.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
def install
system "./autogen.sh" if build.head?
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"