diff options
| author | Balint Reczey | 2014-05-29 18:31:08 +0700 |
|---|---|---|
| committer | Jack Nagel | 2014-08-27 20:05:03 -0500 |
| commit | 58b3cdc50aa7068a90c835e7020bc31f02887e56 (patch) | |
| tree | 303901f7b427a0058958867a7c86181b333e1cc6 | |
| parent | e6643148b081ddf2a14b1e266ced5a0edcfff9b4 (diff) | |
| download | homebrew-58b3cdc50aa7068a90c835e7020bc31f02887e56.tar.bz2 | |
Compile GSettings schemas after installing gtk+3
Closes #29956.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/gtk+3.rb | 5 |
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 |
