summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2010-09-23 20:53:13 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2010-09-23 20:53:13 +0000
commitd1f627d568fed6a0de7f8a0013e8ee0a87cabdb2 (patch)
treedc81ea56b182bdfee52b31ee7a4020c0a77a51e1 /sci-electronics
parentadd ~arm, bug #324129 (diff)
downloadhistorical-d1f627d568fed6a0de7f8a0013e8ee0a87cabdb2.tar.gz
historical-d1f627d568fed6a0de7f8a0013e8ee0a87cabdb2.tar.bz2
historical-d1f627d568fed6a0de7f8a0013e8ee0a87cabdb2.zip
Import from sci overlay. Fixes bug 74201.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/gspiceui/ChangeLog11
-rw-r--r--sci-electronics/gspiceui/Manifest24
-rw-r--r--sci-electronics/gspiceui/gspiceui-0.9.99.ebuild70
-rw-r--r--sci-electronics/gspiceui/metadata.xml10
4 files changed, 115 insertions, 0 deletions
diff --git a/sci-electronics/gspiceui/ChangeLog b/sci-electronics/gspiceui/ChangeLog
new file mode 100644
index 000000000000..a41b4d400aa0
--- /dev/null
+++ b/sci-electronics/gspiceui/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-electronics/gspiceui
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.1 2010/09/23 20:53:13 dilfridge Exp $
+
+*gspiceui-0.9.99 (23 Sep 2010)
+
+ 23 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org>
+ +gspiceui-0.9.99.ebuild, +metadata.xml:
+ New application, fixes bug 74201 (!). Thanks to jokey, jakub, tomjbe, and
+ Rafael G. Martins.
+
diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest
new file mode 100644
index 000000000000..045013200493
--- /dev/null
+++ b/sci-electronics/gspiceui/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST gspiceui-v0.9.99.tar.gz 574595 RMD160 5e8078ff3864a5ea0d5d811db5ad3bbbd296e5b3 SHA1 5d258093a3d3ea81be1fb2ab5dc13aa93164f90e SHA256 9d76db157c4b3f0d4b7bba289653f6646da5183eb7cdc08c9f1056aa7d3f9533
+EBUILD gspiceui-0.9.99.ebuild 2017 RMD160 615e52171474e9c706066515680022c518f41d17 SHA1 4e885ab32ce360c9b1b1593bb488bf093535c22a SHA256 b761f5a4f0265b041dfc38f17a5aba2d451ccae028224fd1e1efeecd1f16e19a
+MISC ChangeLog 453 RMD160 7e532a27bc65c9018ba077797ed07b6873bbe534 SHA1 5e22b8864d0e5b023105a677098c749feeda1e2f SHA256 26dac904a7da7ba28b83f8f727a7cac0d3c570f541206485b91c31225e1b7112
+MISC metadata.xml 426 RMD160 4f83194fc96fa997263115398ae5c9f0b4f25001 SHA1 dd8a38bdad3bc4db4c1d59b6aaf5a29b226cc205 SHA256 fcdf00fa0e75997dc6326344470c80e7c380f4c9d3e163f49581302387b36132
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQIcBAEBAgAGBQJMm74uAAoJENwGBM22xffe+3cP/A+pzwxcziLnFr9+SqwsC+J8
+4x3t1/Sc/KaTeMMKrbDaW3yXzFpg0kxkqJnSDohOn0y2INeWcMSxLPZKm2ByEk2L
+Svyvc+HSq57emaE8IQ66BiCpLC0WwRVnnxM+p0OWQG3nwIKcuBFAEhlpxMkRGWsb
+G3SsLJrN4MR1JjGzQGExvCiiunaKPYXZ5/ZRTJoGzVl1XYuSlCl+OfYsmtUeHgto
+nutkfCgdF3KlLalOAlbYkViWx+35+3/MxskNHH/VtZ5S3C9fm8ySiVvAvUFlYNuS
+iV2txkWP/fMtzIJipmp0Qx+uky9TpE6KRcImh8EQeqFC+MiO91tzQW1tlT6WWGIR
+t5iJwPJH+/P2yDlgBgjtxwp3ivXJ66Qj4CsAGBU1n9Hu/ntWKbD1Yu5MjRJwbASq
+chWHGfSMUdZAWtfAHT4yKOtkfrI8rpMDJ5QBSOO0MAvkUuv722cdh72to1TaWJll
+C/lFO1pv7sGTXBKsQRfyAy9cdiCqzBS1XQ++mCFfF1XjITn+TilIxeXz5PhA1rb2
+LaTNaL7epBUQrbqTkFQ3UmCGJ6prpfjzcscg/+MzisXFPk36bJWYoh1qTxdqALj1
+vXAzSalmMIZrNzaEKOj9gJVazC1d2nt2CnFuTzU//TOgOqd6nQnpscQ/tswSqgRz
+AqRSfw+XCmUHm1eAfKMv
+=6o8r
+-----END PGP SIGNATURE-----
diff --git a/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild b/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild
new file mode 100644
index 000000000000..c52acf1663ba
--- /dev/null
+++ b/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild,v 1.1 2010/09/23 20:53:13 dilfridge Exp $
+
+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/${PF}/html/gSpiceUI.html:" \
+ src/main/HelpTasks.cpp \
+ || die "Patching src/main/HelpTasks.cpp failed"
+}
+
+src_install() {
+ dobin bin/gspiceui || die
+ dodoc ChangeLog ToDo || die
+ doman gspiceui.1 || die
+ newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
+
+ dohtml html/*.html html/*.jpeg || die
+
+ # installing examples and according model and symbol files
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/sch
+ doins -r sch/* || die
+ insinto /usr/share/doc/${PF}/lib
+ doins -r lib/* || 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 from"
+ elog "/usr/share/doc/${PF} the sch and lib directory"
+ elog "side by side to your home directory to be able"
+ elog "to generate the netlists as normal user."
+ fi
+}
diff --git a/sci-electronics/gspiceui/metadata.xml b/sci-electronics/gspiceui/metadata.xml
new file mode 100644
index 000000000000..4237c33b3037
--- /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>sci</herd>
+<maintainer><email>dilfridge@gentoo.org</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>