Gentoo Archives: gentoo-commits

From: "Thomas Beierlein (tomjbe)" <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/gspiceui: ChangeLog gspiceui-1.0.0.ebuild
Date: Sat, 11 Feb 2012 13:50:33
Message-Id: 20120211135023.522C52004B@flycatcher.gentoo.org
1 tomjbe 12/02/11 13:50:23
2
3 Modified: ChangeLog
4 Added: gspiceui-1.0.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.45/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 sci-electronics/gspiceui/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 15 Jul 2011 22:56:38 -0000 1.6
24 +++ ChangeLog 11 Feb 2012 13:50:23 -0000 1.7
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-electronics/gspiceui
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.6 2011/07/15 22:56:38 calchan Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.7 2012/02/11 13:50:23 tomjbe Exp $
31 +
32 +*gspiceui-1.0.0 (11 Feb 2012)
33 +
34 + 11 Feb 2012; Thomas Beierlein <tomjbe@g.o> +gspiceui-1.0.0.ebuild,
35 + +files/gspiceui-1.0.0-flags.patch:
36 + Version bump
37
38 15 Jul 2011; Denis Dupeyron <calchan@g.o> gspiceui-0.9.99.ebuild,
39 gspiceui-0.9.99-r1.ebuild:
40
41
42
43 1.1 sci-electronics/gspiceui/gspiceui-1.0.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gspiceui-1.0.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild,v 1.1 2012/02/11 13:50:23 tomjbe Exp $
53
54 EAPI="2"
55
56 WX_GTK_VER="2.8"
57 inherit eutils wxwidgets
58
59 MY_P="${PN}-v${PV}0"
60
61 DESCRIPTION="GUI frontend for Ngspice and Gnucap"
62 HOMEPAGE="http://www.geda.seul.org/tools/gspiceui/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="examples schematics waveform"
69
70 DEPEND="x11-libs/wxGTK:2.8[X]
71 sci-electronics/electronics-menu"
72 RDEPEND="${DEPEND}
73 || ( sci-electronics/ngspice sci-electronics/gnucap )
74 waveform? ( sci-electronics/gwave )
75 schematics? ( sci-electronics/geda )"
76
77 S="${WORKDIR}/${MY_P}"
78
79 src_prepare() {
80 # Use Gentoo LDFLAGS and CXXFLAGS
81 epatch "${FILESDIR}/${P}-flags.patch"
82
83 # Adjusting the doc path at src/main/HelpTasks.cpp
84 sed -i -e \
85 "s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g" \
86 src/main/HelpTasks.cpp || die
87 }
88
89 src_install() {
90 dobin bin/gspiceui || die
91 dodoc ChangeLog ReadMe ToDo || die
92 doman gspiceui.1 || die
93 newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
94
95 dohtml html/*.html html/*.jpg || die
96
97 # installing examples and according model and symbol files
98 if use examples ; then
99 insinto /usr/share/doc/${PF}/sch
100 doins -r sch/* || die
101 insinto /usr/share/doc/${PF}/lib
102 doins -r lib/* || die
103 fi
104
105 make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
106 }
107
108 pkg_postinst() {
109 if use examples ; then
110 elog "If you want to use the examples, copy from"
111 elog "/usr/share/doc/${PF} the sch and lib directory"
112 elog "side by side to your home directory to be able"
113 elog "to generate the netlists as normal user."
114 fi
115 }