mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-electronics/gspiceui: Remove old
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST gspiceui-v0.9.99.tar.gz 574595 SHA256 9d76db157c4b3f0d4b7bba289653f6646da5183eb7cdc08c9f1056aa7d3f9533 SHA512 87e3422b7425d8ed99c5f946ce27c35a12b3379ae61dd0c8114815fe2d413f9cb983da2cb3a284af6432bfd49dd4cf6d3f1e3aa78e815999e5dccc420890dffe WHIRLPOOL c8417ab5f4c4ca74987978716aa5a224a1b64f38b7e029e0fe3e589082488c8251d4dfe5c2b7e22c6a25ba23632dad0d71331283003ee06c417e9a27a2bb6a6e
|
||||
DIST gspiceui-v1.0.00.tar.gz 612517 SHA256 ff8d38b9bb10bf695c00a0660dcbd14a43072e93851c5100a85133919736d5da SHA512 9f32ad6da742ecaed0ed9ce2e076d94553cee897f0410108cc0e07ebf1c885eb7b5923a7fc69848afd17ce1844f5d636762eb63a6f923c8a88a1d067860d1edb WHIRLPOOL 9e288a8f8303068a2ef3be8d1ac1e06f54e0554b2308df3fff762467eb10dbd73d43bd3aec761e9b357b3733db2bc8ce19333d707926657fcecc8e971623381f
|
||||
DIST gspiceui-v1.1.00.tar.gz 1048236 SHA256 22cbe0a8800f9fade43235c74df2e3defb06f2d6e0ac57cff81d058ab89da564 SHA512 46ccf3dd7a5dd9ec1cac1eb742187ecab15a6c0033467d52a44c916e239696faf7b8797e1a155191cf0ed37b04619b0666cff51e78912a06ecd2c63d377cba93 WHIRLPOOL 66c0e089c9246924eee308ec120a7ecd256d91b4e54306d3c7f9e4bc2fcd2982157bbb551d376fb80f1df1c547ea9723a9dc9b0549745f79ff754f2202ef7204
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
inherit eutils 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/ngspice sci-electronics/gnucap )
|
||||
waveform? ( sci-electronics/gwave )
|
||||
schematics? ( sci-electronics/geda )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Use Gentoo LDFLAGS and CXXFLAGS
|
||||
epatch "${FILESDIR}/${P}-flags.patch"
|
||||
# Add missing models for examples
|
||||
epatch "${FILESDIR}"/${P}-examples.patch
|
||||
|
||||
# Adjusting the doc path at src/main/HelpTasks.cpp
|
||||
sed -i -e \
|
||||
"s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g" \
|
||||
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 "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
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
inherit eutils wxwidgets
|
||||
|
||||
MY_P="${PN}-v${PV}0"
|
||||
|
||||
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/ngspice sci-electronics/gnucap )
|
||||
waveform? ( sci-electronics/gwave )
|
||||
schematics? ( sci-electronics/geda )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Use Gentoo LDFLAGS and CXXFLAGS
|
||||
epatch "${FILESDIR}/${P}-flags.patch"
|
||||
|
||||
# Adjusting the doc path at src/main/HelpTasks.cpp
|
||||
sed -i -e \
|
||||
"s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g" \
|
||||
src/main/HelpTasks.cpp || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/gspiceui || die
|
||||
dodoc ChangeLog ReadMe ToDo || die
|
||||
doman gspiceui.1 || die
|
||||
newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
|
||||
|
||||
dohtml html/*.html html/*.jpg || 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 "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
|
||||
}
|
||||
Reference in New Issue
Block a user