2013-12-12 08:02:20 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class GnomeIconTheme < Formula
|
|
|
|
homepage "https://developer.gnome.org"
|
2014-05-11 17:29:06 +00:00
|
|
|
url "http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz"
|
|
|
|
sha1 "cc0f0dc55db3c4ca7f2f34564402f712807f1342"
|
2014-05-11 19:22:46 +00:00
|
|
|
revision 1
|
|
|
|
|
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "e9329d81e8c615e78f0c96e62b91008dbc4a74e5" => :mavericks
|
|
|
|
sha1 "84c1e818410a0c5b8b33c6b07932b8a547f69ede" => :mountain_lion
|
|
|
|
sha1 "3bbeb7cee6c7bd1e1b070cc0be276502eee3cc6b" => :lion
|
|
|
|
end
|
2013-12-12 08:02:20 +00:00
|
|
|
|
|
|
|
depends_on "pkg-config" => :build
|
2014-05-11 17:29:06 +00:00
|
|
|
depends_on "gettext" => :build
|
2014-05-11 19:22:46 +00:00
|
|
|
depends_on "gtk+3" => :build # for gtk3-update-icon-cache
|
2014-05-11 17:29:06 +00:00
|
|
|
depends_on "icon-naming-utils" => :build
|
2013-12-12 08:02:20 +00:00
|
|
|
depends_on "intltool" => :build
|
|
|
|
|
|
|
|
def install
|
2014-05-11 19:22:46 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-icon-mapping",
|
|
|
|
"GTK_UPDATE_ICON_CACHE=#{Formula["gtk+3"].opt_bin}/gtk3-update-icon-cache"
|
2013-12-12 08:02:20 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|