aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-06-15 22:10:38 +0200
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-06-15 22:10:38 +0200
commitf715343ac8b2b3b00737e740086387000a9b41fb (patch)
tree466af2d015bed8cf98d7c1c038622fc9bb5afa1a /sci-electronics
parent[sci-electronics/klayout] Fixed manifest. (See bug 321871...) (diff)
downloadsci-f715343ac8b2b3b00737e740086387000a9b41fb.tar.gz
sci-f715343ac8b2b3b00737e740086387000a9b41fb.tar.bz2
sci-f715343ac8b2b3b00737e740086387000a9b41fb.zip
[sci-electronics/gspiceui] Imported from sunrise.
(Portage version: 2.1.8.3/git/Linux x86_64) (Unsigned Manifest commit)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/gspiceui/ChangeLog29
-rw-r--r--sci-electronics/gspiceui/Manifest4
-rw-r--r--sci-electronics/gspiceui/gspiceui-0.9.98.ebuild67
-rw-r--r--sci-electronics/gspiceui/metadata.xml10
4 files changed, 110 insertions, 0 deletions
diff --git a/sci-electronics/gspiceui/ChangeLog b/sci-electronics/gspiceui/ChangeLog
new file mode 100644
index 000000000..f35f3f51d
--- /dev/null
+++ b/sci-electronics/gspiceui/ChangeLog
@@ -0,0 +1,29 @@
+# ChangeLog for sci-electronics/gspiceui
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*gspiceui-0.9.98 (15 Jun 2010)
+
+ 15 Jun 2010; Andreas K. Huettel (dilfridge) <mail@akhuettel.de>
+ +gspiceui-0.9.98.ebuild, +metadata.xml:
+ Moved to sci overlay.
+
+ 06 Dec 2009; Andreas K. Huettel (dilfridge) <mail@akhuettel.de>
+ -gspiceui-0.9.65.ebuild, +gspiceui-0.9.98.ebuild, metadata.xml:
+ Version bump, plus conversion to EAPI 2 and more improvements. Thanks to
+ Rafael G. Martins.
+
+ 19 Nov 2008; Thomas Beierlein (TomJBE) <tb@forth-ev.de>
+ -gspiceui-0.8.90.ebuild, +gspiceui-0.9.65.ebuild:
+ Version bump. changed SRC_URI to sourceforge
+
+ 13 Jan 2008; Jakub Moc <jakub@gentoo.org> gspiceui-0.8.90.ebuild:
+ Fix wxGTK handling
+
+ 05 Apr 2007; Jakub Moc <jakub@gentoo.org> gspiceui-0.8.90.ebuild:
+ Fix desktop entry
+
+ 21 Dec 2006; Markus Ullmann <jokey@gentoo.org> +gspiceui-0.8.90.ebuild,
+ +metadata.xml:
+ Import for bug #74201
+
diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest
new file mode 100644
index 000000000..bf2cdcce1
--- /dev/null
+++ b/sci-electronics/gspiceui/Manifest
@@ -0,0 +1,4 @@
+DIST gspiceui-v0.9.98.tar.gz 504306 RMD160 47a24e44a9d0614b16d9bb55564f348da3a8e40a SHA1 1e2b42c46472f35b534922bc08e21fc040521af9 SHA256 afe4012073e1842890ec24581d2ddfa558d3564e1cc8a258e16836c269cdc734
+EBUILD gspiceui-0.9.98.ebuild 1755 RMD160 c16b5b238906162564ce64a63f09bd12f0edf0c0 SHA1 d7edbf945670321a20702c741fe6f04dbdb2130c SHA256 ad19ffb9a5735386b7ff498eed5d503b76bf926379332e1d730823259edda6c1
+MISC ChangeLog 972 RMD160 111db54274c43edaa409321bbcb57da09596bc1c SHA1 ce1d37f18cbbe77940b8614013803f6a5d54946c SHA256 50a9aa0a5ecfaae1637d885b0696e3a27b1c1bfb9a6eeca302562c9290695fb1
+MISC metadata.xml 427 RMD160 76fb4f84a34237faa03ee72aeeb5f06d24266380 SHA1 6cd4ccb392020544e3c3eb01101e5a9a984ced52 SHA256 bb15da88aa207d3f1ad5f3fa13edad9c3c1b190bd37ccf9355f4448d1136cd23
diff --git a/sci-electronics/gspiceui/gspiceui-0.9.98.ebuild b/sci-electronics/gspiceui/gspiceui-0.9.98.ebuild
new file mode 100644
index 000000000..48a08f954
--- /dev/null
+++ b/sci-electronics/gspiceui/gspiceui-0.9.98.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+WX_GTK_VER="2.8"
+inherit wxwidgets
+
+MY_P="${PN}-v${PV}"
+
+DESCRIPTION="GUI frontend for Ngspice and Gnucap"
+HOMEPAGE="http://www.geda.seul.org/tools/gspiceui/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples schematics waveform"
+
+DEPEND="x11-libs/wxGTK:2.8[X]
+ sci-electronics/electronics-menu"
+RDEPEND="${DEPEND}
+ || ( sci-electronics/ng-spice-rework sci-electronics/gnucap )
+ waveform? ( sci-electronics/gwave )
+ schematics? ( sci-electronics/geda )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Removing pre-configured CXXFLAGS from Makefile. The Makefile then only appends
+ # the flags required for wxwidgets to the Gentoo preset.
+ sed -i \
+ -e "s:CXXFLAGS = -O -pipe:CXXFLAGS += :" \
+ src/Makefile || die "Patching src/Makefile failed"
+
+ # Adjusting the doc path at src/main/HelpTasks.cpp
+ sed -i \
+ -e "s:/share/gspiceui/html/gSpiceUI.html:/share/doc/${P}/html/gSpiceUI.html:" \
+ src/main/HelpTasks.cpp \
+ || die "Patching src/main/HelpTasks.cpp failed"
+}
+
+src_install() {
+ dobin bin/gspiceui || die
+ dodoc ChangeLog || die
+ doman gspiceui.1 || die
+ newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
+
+ dohtml html/*.html html/*.jpeg || die
+
+ # installing examples
+ if use examples ; then
+ insinto /usr/share/doc/${P}/sch
+ doins -r sch/* || die
+ fi
+
+ make_desktop_entry gspiceui "GNU Spice GUI" gspiceui.xpm "Electronics"
+}
+
+pkg_postinst() {
+ if use examples ; then
+ elog "If you want to use the examples, copy then from"
+ elog "/usr/share/doc/${P}/sch to your home to be able"
+ elog "to generate the netlists as an normal user."
+ fi
+}
diff --git a/sci-electronics/gspiceui/metadata.xml b/sci-electronics/gspiceui/metadata.xml
new file mode 100644
index 000000000..03b71ee91
--- /dev/null
+++ b/sci-electronics/gspiceui/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>mail@akhuettel.de</email></maintainer>
+ <use>
+ <flag name='schematics'>Use sci-electronics/geda for schematics editing</flag>
+ <flag name='waveform'>Use sci-electronics/gwave for waveform display</flag>
+ </use>
+</pkgmetadata>