aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-06 16:51:26 -0700
committerAdam Vandenberg2014-05-07 10:12:36 -0700
commit9ff9b1400fa6511b0d584b2f88b9367eef6851ba (patch)
tree7aa826b25ed371fe9a81d2141ab5c704429d57fc /Library/Formula
parent3a08663aff81425e578a5b30cfc6e33e32eb2c94 (diff)
downloadhomebrew-9ff9b1400fa6511b0d584b2f88b9367eef6851ba.tar.bz2
gsettings-desktop-schemas 3.12.0
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gsettings-desktop-schemas.rb26
1 files changed, 17 insertions, 9 deletions
diff --git a/Library/Formula/gsettings-desktop-schemas.rb b/Library/Formula/gsettings-desktop-schemas.rb
index 387c7d937..260f1dcb7 100644
--- a/Library/Formula/gsettings-desktop-schemas.rb
+++ b/Library/Formula/gsettings-desktop-schemas.rb
@@ -1,20 +1,28 @@
-require 'formula'
+require "formula"
class GsettingsDesktopSchemas < Formula
- homepage 'http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/'
- url 'http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/3.10/gsettings-desktop-schemas-3.10.1.tar.xz'
- sha256 '452378c4960a145747ec69f8c6a874e5b7715454df3e2452d1ff1a0a82e76811'
+ homepage "http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/"
+ url "http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/3.12/gsettings-desktop-schemas-3.12.0.tar.xz"
+ sha256 "a623888a47999599abca9728156459b93634e93ac7243a86cf1fc8c2d75f478d"
- depends_on 'pkg-config' => :build
- depends_on 'intltool' => :build
- depends_on 'glib' => :build # Yep, for glib-mkenums
- depends_on 'gettext'
+ depends_on "pkg-config" => :build
+ depends_on "intltool" => :build
+ depends_on "glib" => :build # Yep, for glib-mkenums
+ depends_on "gobject-introspection" => :build
+ depends_on "gettext"
+ depends_on "libffi"
def install
system "./configure", "--disable-dependency-tracking",
+ "--disable-silent-rules",
"--prefix=#{prefix}",
- "--disable-schemas-compile"
+ "--disable-schemas-compile",
+ "--enable-introspection=yes"
system "make install"
end
+ def post_install
+ # manual schema compile step
+ system Formula["glib"].opt_bin/"glib-compile-schemas", share/"glib-2.0/schemas"
+ end
end