mm-common 1.0.0
Closes #45949. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
4c59b14045
commit
2c6422e9cb
1 changed files with 11 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
class MmCommon < Formula
|
class MmCommon < Formula
|
||||||
desc "Build utilities for C++ interfaces of GTK+ and GNOME packages"
|
desc "Build utilities for C++ interfaces of GTK+ and GNOME packages"
|
||||||
homepage "https://www.gtkmm.org/"
|
homepage "https://www.gtkmm.org/"
|
||||||
url "https://download.gnome.org/sources/mm-common/0.9/mm-common-0.9.12.tar.xz"
|
url "https://download.gnome.org/sources/mm-common/1.0/mm-common-1.0.0.tar.xz"
|
||||||
sha256 "ceffdcce1e5b52742884c233ec604bf6fded12eea9da077ce7a62c02c87e7c0b"
|
sha256 "b97d9b041e5952486cab620b44ab09f6013a478f43b6699ae899b8a4da189cd4"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any_skip_relocation
|
cellar :any_skip_relocation
|
||||||
|
@ -13,8 +13,15 @@ class MmCommon < Formula
|
||||||
sha256 "42c9654bebbc472d90bc31d14e0832d55367d8d86d6750ab546a129a48de342b" => :el_capitan
|
sha256 "42c9654bebbc472d90bc31d14e0832d55367d8d86d6750ab546a129a48de342b" => :el_capitan
|
||||||
end
|
end
|
||||||
|
|
||||||
|
depends_on "meson" => :build
|
||||||
|
depends_on "ninja" => :build
|
||||||
|
depends_on "python"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-silent-rules", "--prefix=#{prefix}"
|
mkdir "build" do
|
||||||
system "make", "install"
|
system "meson", "--prefix=#{prefix}", ".."
|
||||||
|
system "ninja"
|
||||||
|
system "ninja", "install"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue