aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
l---------Library/Aliases/adwaita-icon-theme1
-rw-r--r--Library/Formula/gnome-icon-theme.rb18
2 files changed, 13 insertions, 6 deletions
diff --git a/Library/Aliases/adwaita-icon-theme b/Library/Aliases/adwaita-icon-theme
new file mode 120000
index 000000000..7ee1d16e5
--- /dev/null
+++ b/Library/Aliases/adwaita-icon-theme
@@ -0,0 +1 @@
+../Formula/gnome-icon-theme.rb \ No newline at end of file
diff --git a/Library/Formula/gnome-icon-theme.rb b/Library/Formula/gnome-icon-theme.rb
index 0b7551c84..92c06cf19 100644
--- a/Library/Formula/gnome-icon-theme.rb
+++ b/Library/Formula/gnome-icon-theme.rb
@@ -1,10 +1,7 @@
-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
+ url "http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/3.14/adwaita-icon-theme-3.14.1.tar.xz"
+ sha1 "e1d603d9cc4e4b7f83f749ba20934832d4321dd2"
bottle do
cellar :any
@@ -18,12 +15,21 @@ class GnomeIconTheme < Formula
depends_on "gtk+3" => :build # for gtk3-update-icon-cache
depends_on "icon-naming-utils" => :build
depends_on "intltool" => :build
+ depends_on "librsvg"
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
+
+ test do
+ # This checks that a -symbolic png file generated from svg exists
+ # and that a file created late in the install process exists.
+ # Someone who understands GTK+3 could probably write better tests that
+ # check if GTK+3 can find the icons.
+ assert (share/"icons/Adwaita/96x96/status/weather-storm-symbolic.symbolic.png").exist?
+ assert (share/"icons/Adwaita/index.theme").exist?
+ end
end