aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gtk+3.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/gtk+3.rb b/Library/Formula/gtk+3.rb
index de0e2f3a4..80ec7bd44 100644
--- a/Library/Formula/gtk+3.rb
+++ b/Library/Formula/gtk+3.rb
@@ -23,6 +23,7 @@ class Gtkx3 < Formula
depends_on 'atk'
depends_on 'at-spi2-atk'
depends_on 'gobject-introspection'
+ depends_on 'gsettings-desktop-schemas' => :recommended
def install
# gtk-update-icon-cache is used during installation, and
@@ -44,4 +45,8 @@ class Gtkx3 < Formula
# Prevent a conflict between this and Gtk+2
mv bin/'gtk-update-icon-cache', bin/'gtk3-update-icon-cache'
end
+
+ def post_install
+ system "#{Formula["glib"].opt_bin}/glib-compile-schemas", "#{HOMEBREW_PREFIX}/share/glib-2.0/schemas"
+ end
end