From: Nirbheek Chauhan Date: Fri, 26 Feb 2010 23:41:36 +0000 (+0000) Subject: Add initial ebuild for gobject-introspection, infrastructure for generation of gobjec... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e68bf3ce8260b68707385f33d471edf3834688f;p=gentoo.git Add initial ebuild for gobject-introspection, infrastructure for generation of gobject library bindings Package-Manager: portage-2.1.7.17/cvs/Linux i686 --- diff --git a/dev-libs/gobject-introspection/ChangeLog b/dev-libs/gobject-introspection/ChangeLog new file mode 100644 index 000000000000..3f98d64244f3 --- /dev/null +++ b/dev-libs/gobject-introspection/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/gobject-introspection +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.1 2010/02/26 23:41:36 nirbheek Exp $ + +*gobject-introspection-0.6.7 (26 Feb 2010) + + 26 Feb 2010; Nirbheek Chauhan + +gobject-introspection-0.6.7.ebuild, +metadata.xml: + Add initial ebuild for gobject-introspection, infrastructure for + generation of gobject library bindings + diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest new file mode 100644 index 000000000000..20aa652619b2 --- /dev/null +++ b/dev-libs/gobject-introspection/Manifest @@ -0,0 +1,4 @@ +DIST gobject-introspection-0.6.7.tar.bz2 579956 RMD160 7bc190bdeb8fa5553b34c180d66e7652b7571d16 SHA1 3bcf1f694e6603c2645c579b7d358feb10ece14c SHA256 c97ca4e978b0583999775640e9e9f97b64a5880ad2a6adc3ce903207b616f24a +EBUILD gobject-introspection-0.6.7.ebuild 1002 RMD160 ab08c6e36518aa794c334b4fea98b2a52770cc9d SHA1 3e28850899f0207f8ebfe8121d6072354ffe466c SHA256 c4ac9b31ae8d87f730ed31c3747aeea9c106a72968034672736811a08e01c4d4 +MISC ChangeLog 496 RMD160 19499fc61e826bee380113a43438c2c8e0e427d8 SHA1 8217acfb175fea5f44275731f69f927dbd694b18 SHA256 96fda1a9530bcc8f05a40648304426c6c8996f2cf59c8909014601c43f3e4726 +MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 diff --git a/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild b/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild new file mode 100644 index 000000000000..10a5421b2ee6 --- /dev/null +++ b/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild,v 1.1 2010/02/26 23:41:36 nirbheek Exp $ + +EAPI="2" + +inherit python gnome2 + +DESCRIPTION="Introspection infrastructure for gobject library bindings" +HOMEPAGE="http://live.gnome.org/GObjectIntrospection/" + +LICENSE="LGPL-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=dev-libs/glib-2.19.0 + >=dev-lang/python-2.5 + virtual/libffi" +DEPEND="${RDEPEND} + doc? ( >=dev-util/gtk-doc-1.12 ) + dev-util/pkgconfig + sys-devel/flex" + +src_prepare() { + G2CONF="${G2CONF} --disable-static" + + # FIXME: Parallel compilation failure with USE=doc + use doc && MAKEOPTS="-j1" + + # Don't pre-compile .py + ln -sf $(type -P true) py-compile +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner/* + python_need_rebuild +} + +pkg_postrm() { + python_mod_cleanup /usr/lib*/${PN}/giscanner/* +} diff --git a/dev-libs/gobject-introspection/metadata.xml b/dev-libs/gobject-introspection/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/dev-libs/gobject-introspection/metadata.xml @@ -0,0 +1,5 @@ + + + +gnome +