From 58b3cdc50aa7068a90c835e7020bc31f02887e56 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Thu, 29 May 2014 18:31:08 +0700 Subject: Compile GSettings schemas after installing gtk+3 Closes #29956. Signed-off-by: Jack Nagel --- Library/Formula/gtk+3.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3