graphene 1.8.0

Closes #26024.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Tom Schoonjans 2018-04-01 10:50:12 +02:00 committed by FX Coudert
parent 64bbf1352a
commit 43b1001346

View file

@ -1,9 +1,8 @@
class Graphene < Formula
desc "Thin layer of graphic data types"
homepage "https://ebassi.github.io/graphene/"
url "https://download.gnome.org/sources/graphene/1.6/graphene-1.6.2.tar.xz"
sha256 "8f7d1984c06aefe3b47a668c12ad9f3db0bcb2d09c55e6267b82a90f6b10d961"
revision 2
url "https://download.gnome.org/sources/graphene/1.8/graphene-1.8.0.tar.xz"
sha256 "7bbc8e2f183acb522e1d9fe256f5fb483ce42260bfeb3ae69320aeb649dd8d91"
bottle do
sha256 "376d06cf0f650494fafa2bcc8f781fec0d25a13a268b99512f7f1db597d814a0" => :high_sierra
@ -13,16 +12,19 @@ class Graphene < Formula
depends_on "gobject-introspection" => :build
depends_on "pkg-config" => :build
depends_on "meson-internal" => :build
depends_on "ninja" => :build
depends_on "python" => :build
depends_on "glib"
depends_on "python"
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make", "check"
system "make", "install"
ENV.refurbish_args
mkdir "build" do
system "meson", "--prefix=#{prefix}", ".."
system "ninja"
system "ninja", "install"
end
end
test do