diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2011-01-30 07:39:53 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2011-01-30 07:39:53 +0000 |
commit | f5a4ad558fde03b56571d9ddb986458ed6c99b18 (patch) | |
tree | 7ecb29ccc208dbf45c93f95ac2bdce5e8f75083e /sci-electronics | |
parent | Version bump. (diff) | |
download | gentoo-2-f5a4ad558fde03b56571d9ddb986458ed6c99b18.tar.gz gentoo-2-f5a4ad558fde03b56571d9ddb986458ed6c99b18.tar.bz2 gentoo-2-f5a4ad558fde03b56571d9ddb986458ed6c99b18.zip |
Fix RDEPS (bug #352938). Thanks for reporting Pacho.
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/geda-xgsch2pcb/ChangeLog | 10 | ||||
-rw-r--r-- | sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild | 78 |
2 files changed, 86 insertions, 2 deletions
diff --git a/sci-electronics/geda-xgsch2pcb/ChangeLog b/sci-electronics/geda-xgsch2pcb/ChangeLog index b3fea83a3341..ed11ac8c6cc2 100644 --- a/sci-electronics/geda-xgsch2pcb/ChangeLog +++ b/sci-electronics/geda-xgsch2pcb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/geda-xgsch2pcb -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog,v 1.2 2010/12/22 08:18:36 jlec Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog,v 1.3 2011/01/30 07:39:53 tomjbe Exp $ + +*geda-xgsch2pcb-0.1.3-r2 (30 Jan 2011) + + 30 Jan 2011; Thomas Beierlein <tomjbe@gentoo.org> + +geda-xgsch2pcb-0.1.3-r2.ebuild: + Fix RDEPS (bug #352938). Thanks for reporting Pacho. *geda-xgsch2pcb-0.1.3-r1 (22 Dec 2010) diff --git a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild new file mode 100644 index 000000000000..d4a27abeb3ce --- /dev/null +++ b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild,v 1.1 2011/01/30 07:39:53 tomjbe Exp $ + +EAPI="2" + +WANT_AUTOCONF="2.5" +PYTHON_DEPEND="2" + +inherit autotools eutils fdo-mime gnome2-utils python + +DESCRIPTION="A graphical front-end for the gschem -> pcb workflow" +HOMEPAGE="http://www.gpleda.org/tools/xgsch2pcb/index.html" +SRC_URI="http://geda.seul.org/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome nls" + +CDEPEND=" + >=dev-python/pygtk-2.10 + >=dev-python/pygobject-2.10 + dev-python/dbus-python + sci-electronics/pcb[dbus] + sci-electronics/geda + nls? ( virtual/libintl )" + +RDEPEND=" + ${CDEPEND} + sci-electronics/electronics-menu + gnome? ( dev-python/gnome-vfs-python )" + +DEPEND=" + ${CDEPEND} + dev-util/intltool + dev-lang/perl + nls? ( sys-devel/gettext )" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare(){ + echo '#!/bin/sh' > py-compile + epatch "${FILESDIR}"/${PV}-python.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + --disable-update-desktop-database \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog || die +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update + python_mod_optimize $(python_get_sitedir)/${PN} +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update + python_mod_cleanup $(python_get_sitedir)/${PN} +} |