diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-07-26 13:59:55 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-07-26 13:59:55 +0000 |
commit | ea071cd6ea901160584a3f7138917c1d56609344 (patch) | |
tree | 8974fb14cf73334d4757295eba45d3d3732a26c3 /sci-electronics/oregano | |
parent | Add patch to exclude the examples dir from compilation (bug 141780). Thanks t... (diff) | |
download | gentoo-2-ea071cd6ea901160584a3f7138917c1d56609344.tar.gz gentoo-2-ea071cd6ea901160584a3f7138917c1d56609344.tar.bz2 gentoo-2-ea071cd6ea901160584a3f7138917c1d56609344.zip |
Revbump, thanks to Gazer
(Portage version: 2.1-r1)
Diffstat (limited to 'sci-electronics/oregano')
4 files changed, 76 insertions, 1 deletions
diff --git a/sci-electronics/oregano/ChangeLog b/sci-electronics/oregano/ChangeLog index 2160916ad4f0..bc13fd7f3fa4 100644 --- a/sci-electronics/oregano/ChangeLog +++ b/sci-electronics/oregano/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-electronics/oregano # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.20 2006/07/07 17:35:38 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.21 2006/07/26 13:59:55 gustavoz Exp $ + +*oregano-0.50.1 (26 Jul 2006) + + 26 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org> + +files/oregano-0.50.1-dont-run-update-mime-database.patch, + +oregano-0.50.1.ebuild: + Revbump, thanks to Gazer 07 Jul 2006; Denis Dupeyron <calchan@gentoo.org> oregano-0.40.5.ebuild: Replaced einfo occurences with elog. Reduced noise in pkg_postinst(). diff --git a/sci-electronics/oregano/files/digest-oregano-0.50.1 b/sci-electronics/oregano/files/digest-oregano-0.50.1 new file mode 100644 index 000000000000..df0c2c1f54f9 --- /dev/null +++ b/sci-electronics/oregano/files/digest-oregano-0.50.1 @@ -0,0 +1,3 @@ +MD5 40f6a9dc0174034bf41a038ad9da5bb9 oregano-0.50.1.tar.gz 646017 +RMD160 cec799419b19987adf5cce1c8ae3ac2877bc733e oregano-0.50.1.tar.gz 646017 +SHA256 72c99848b920bc8d41ecf509adbbb3634decf51edb07efe5638bf340bb1249b3 oregano-0.50.1.tar.gz 646017 diff --git a/sci-electronics/oregano/files/oregano-0.50.1-dont-run-update-mime-database.patch b/sci-electronics/oregano/files/oregano-0.50.1-dont-run-update-mime-database.patch new file mode 100644 index 000000000000..120a8a3a1953 --- /dev/null +++ b/sci-electronics/oregano/files/oregano-0.50.1-dont-run-update-mime-database.patch @@ -0,0 +1,10 @@ +--- old-oregano-stable/SConstruct 2006-07-25 14:45:53.000000000 +0000 ++++ new-oregano-stable/SConstruct 2006-07-25 14:45:53.000000000 +0000 +@@ -113,6 +113,3 @@ + CEnv.Alias('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/mime/packages'), Split('oregano.xml'))) + CEnv.Alias('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/mime-info'), Split('oregano.mime oregano.keys'))) + CEnv.Alias('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/gnome/apps/Applications'), Split('oregano.desktop'))) +- +-# Update mime database # +-CEnv.Alias ('install', CEnv.Command ('update-mime-database', 'oregano.xml', "update-mime-database "+os.path.join (CEnv['INSTALL_DIR'], 'share/mime'))) + diff --git a/sci-electronics/oregano/oregano-0.50.1.ebuild b/sci-electronics/oregano/oregano-0.50.1.ebuild new file mode 100644 index 000000000000..63c67d6fc166 --- /dev/null +++ b/sci-electronics/oregano/oregano-0.50.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/oregano-0.50.1.ebuild,v 1.1 2006/07/26 13:59:55 gustavoz Exp $ + +inherit eutils fdo-mime + +DESCRIPTION="Oregano is an application for schematic capture and simulation of electrical circuits." +SRC_URI="http://gforge.lug.fi.uba.ar/frs/download.php/82/${P}.tar.gz" +HOMEPAGE="http://oregano.gforge.lug.fi.uba.ar/" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=dev-libs/libxml2-2.6.20 + >=app-text/scrollkeeper-0.3.14 + >=x11-libs/gtk+-2.8 + >=gnome-base/libglade-2.5 + >=gnome-base/libgnome-2.12 + >=gnome-base/libgnomeui-2.12 + >=gnome-base/libgnomecanvas-2.12 + >=gnome-base/libgnomeprint-2.12 + >=gnome-base/libgnomeprintui-2.12 + >=x11-libs/cairo-1.0.0 + >=x11-libs/gtksourceview-1.2 + >=dev-util/scons-0.96.1" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-dont-run-update-mime-database.patch +} + +src_compile() { + scons --cache-disable \ + PREFIX=/usr \ + || die "scons make failed" +} + +src_install() { + scons --cache-disable DESTDIR=${D} PREFIX=/usr install \ + || die "scons install failed" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} + +pkg_postinst() { + fdo-mime_desktop_database_update + einfo + einfo "You'll need to emerge your prefered simulation backend" + einfo "such as spice, ng-spice-rework or gnucap for simulation" + einfo "to work." + einfo + ebeep 5 + epause 3 +} |