aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnome-icon-theme.rb
blob: 0b7551c842e82b24317558a7ffad41f4e8b93364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require "formula"

class GnomeIconTheme < Formula
  homepage "https://developer.gnome.org"
  url "http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz"
  sha1 "cc0f0dc55db3c4ca7f2f34564402f712807f1342"
  revision 1

  bottle do
    cellar :any
    sha1 "e9329d81e8c615e78f0c96e62b91008dbc4a74e5" => :mavericks
    sha1 "84c1e818410a0c5b8b33c6b07932b8a547f69ede" => :mountain_lion
    sha1 "3bbeb7cee6c7bd1e1b070cc0be276502eee3cc6b" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "gettext" => :build
  depends_on "gtk+3" => :build # for gtk3-update-icon-cache
  depends_on "icon-naming-utils" => :build
  depends_on "intltool" => :build

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-icon-mapping",
                          "GTK_UPDATE_ICON_CACHE=#{Formula["gtk+3"].opt_bin}/gtk3-update-icon-cache"
    system "make", "install"
  end
end