homebrew-core/Formula/gsettings-desktop-schemas.rb

36 lines
1.2 KiB
Ruby
Raw Normal View History

2014-05-06 23:51:26 +00:00
require "formula"
class GsettingsDesktopSchemas < Formula
2014-05-06 23:51:26 +00:00
homepage "http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/"
2014-09-23 06:48:58 +00:00
url "http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/3.14/gsettings-desktop-schemas-3.14.0.tar.xz"
sha256 "cf3ba58f6257155080b1872b4a6ce4a2424bb7af3f08e607b428cb47b065f2d7"
bottle do
revision 1
sha1 "23d7c8b2d97fc5a9957573c140da28afe8acfacb" => :yosemite
sha1 "2bcb5e43cdefd81eef7e3bc45b9df4b7d8c2c847" => :mavericks
sha1 "b812cc34c9f54f053707cd4a5f5995cf903dd278" => :mountain_lion
end
2014-05-06 23:51:26 +00:00
depends_on "pkg-config" => :build
depends_on "intltool" => :build
2014-09-23 06:48:58 +00:00
depends_on "glib" => :build # for glib-mkenums
2014-05-06 23:51:26 +00:00
depends_on "gobject-introspection" => :build
depends_on "gettext"
depends_on "libffi"
def install
system "./configure", "--disable-dependency-tracking",
2014-05-06 23:51:26 +00:00
"--disable-silent-rules",
"--prefix=#{prefix}",
2014-05-06 23:51:26 +00:00
"--disable-schemas-compile",
"--enable-introspection=yes"
system "make install"
end
2014-05-06 23:51:26 +00:00
def post_install
# manual schema compile step
system Formula["glib"].opt_bin/"glib-compile-schemas", share/"glib-2.0/schemas"
end
end