diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-12-30 22:11:45 -0500 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-12-30 22:11:45 -0500 |
commit | 1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3 (patch) | |
tree | 5c62d16c2d9df189310de6516fcbb3b702a3657a /dev-util | |
parent | gnome-extra/gnome-boxes: 3.2.2 → 3.3.3 (diff) | |
download | gnome-1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3.tar.gz gnome-1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3.tar.bz2 gnome-1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3.zip |
dev-util/gdbus-codegen: add 2.31.6
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/gdbus-codegen/Manifest | 2 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest index 836951a4..b8d37ce9 100644 --- a/dev-util/gdbus-codegen/Manifest +++ b/dev-util/gdbus-codegen/Manifest @@ -1 +1,3 @@ +DIST glib-2.31.6.tar.xz 6040856 RMD160 7da09032ad13fa9ef27c43c6b576e39587842f68 SHA1 b63f117a652fb00bfca5b8486089547e9c77bd82 SHA256 26f082d3dfa017c73049a7f09333dd2114abd32849fd601394e35f4f8b34e49a +EBUILD gdbus-codegen-2.31.6.ebuild 1702 RMD160 1be573f4121ddf4e53280662981a62d9ea23713b SHA1 f18cb30e816987807c4bbaeb8c8d4ec89133f747 SHA256 6c92497153a6d4110b93cfcb4ffe8017201f229753e674e2b2ed7c80ef7a0ef1 EBUILD gdbus-codegen-9999.ebuild 1794 RMD160 2aca9c83cc16bfe6cc4cfa643c440833421bb68b SHA1 cf62e686fc33043422cfa947b2306c7a086f5349 SHA256 b73c101b6241a5de0556821cf123da4ba907c554e3b3a94b1fe02bf744e3ee3f diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild new file mode 100644 index 00000000..25622a92 --- /dev/null +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.30.2.ebuild,v 1.3 2011/12/29 17:36:36 pacho Exp $ + +EAPI="4" +GNOME_ORG_MODULE="glib" +PYTHON_DEPEND="2:2.5" +PYTHON_USE_WITH="xml" + +inherit gnome.org multilib python + +DESCRIPTION="GDBus code and documentation generator" +HOMEPAGE="http://www.gtk.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +# To prevent circular dependencies with glib[test] +PDEPEND=">=dev-libs/glib-${PV}:2" + +S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs 2 gdbus-codegen.in + sed -e "s:@libdir@:${EPREFIX}/usr/$(get_libdir):" \ + -i gdbus-codegen.in || die "sed gdbus-codegen.in failed" + sed -e "s:\"/usr/local\":\"${EPREFIX}/usr\":" \ + -i config.py || die "sed config.py failed" +} + +src_test() { + elog "Skipping tests. To test ${PN}, emerge dev-libs/glib" + elog "with FEATURES=test" +} + +src_install() { + insinto "/usr/$(get_libdir)/gdbus-2.0/codegen" + + # Keep in sync with Makefile.am! + doins __init__.py \ + codegen.py \ + codegen_main.py \ + codegen_docbook.py \ + config.py \ + dbustypes.py \ + parser.py \ + utils.py + + newbin gdbus-codegen.in gdbus-codegen + + doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize /usr/$(get_libdir)/gdbus-2.0/codegen +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/gdbus-2.0/codegen +} |