GLib: 2.28.4

Thanks to MacPorts.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Birger J. Nordølum 2011-03-25 21:03:54 +01:00 committed by Adam Vandenberg
parent d1cf9b2cba
commit a6907434ac

View file

@ -1,27 +1,31 @@
require 'formula'
class Libiconv < Formula
homepage 'http://www.gnu.org/software/libiconv/'
url 'http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz'
md5 '7ab33ebd26687c744a37264a330bbe9a'
homepage 'http://www.gnu.org/software/libiconv/'
end
def build_tests?; ARGV.include? '--test'; end
class Glib < Formula
url 'http://ftp.gnome.org/pub/gnome/sources/glib/2.24/glib-2.24.2.tar.bz2'
sha256 '3aeb521abd3642dd1224379f0e54915957e5010f888a4ae74afa0ad54da0160c'
homepage 'http://www.gtk.org'
url 'http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.4.tar.bz2'
sha256 'ae627cf35c6a2b4bb9b0ea624046de5fa4c40d81c29e75718bc6c2088b6bd7a1'
depends_on 'pkg-config' => :build
depends_on 'gettext'
def patches
mp = "http://trac.macports.org/export/69965/trunk/dports/devel/glib2/files/"
mp = "http://trac.macports.org/export/77283/trunk/dports/devel/glib2/files/"
{
:p0 => [
mp+"patch-configure.in.diff",
mp+"patch-child-test.c.diff"
mp+"patch-configure.ac.diff",
mp+"patch-glib-2.0.pc.in.diff",
mp+"patch-glib_gunicollate.c.diff",
mp+"patch-gi18n.h.diff",
mp+"patch-gio_xdgmime_xdgmime.c.diff",
mp+"patch-gio_gdbusprivate.c.diff"
]
}
end