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.1.0.ebuild
Date: Sat, 04 Jul 2015 07:09:13
Message-Id: 20150704070907.E139074A@oystercatcher.gentoo.org
1 tomjbe 15/07/04 07:09:07
2
3 Modified: ChangeLog
4 Added: gspiceui-1.1.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x24083D3E28343508)
9
10 Revision Changes Path
11 1.10 sci-electronics/gspiceui/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 19 Jun 2013 04:15:05 -0000 1.9
24 +++ ChangeLog 4 Jul 2015 07:09:07 -0000 1.10
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-electronics/gspiceui
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.9 2013/06/19 04:15:05 bicatali Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.10 2015/07/04 07:09:07 tomjbe Exp $
31 +
32 +*gspiceui-1.1.0 (04 Jul 2015)
33 +
34 + 04 Jul 2015; Thomas Beierlein <tomjbe@g.o> +gspiceui-1.1.0.ebuild,
35 + +files/gspiceui-1.1.0-flags.patch:
36 + Version bump
37
38 19 Jun 2013; Sébastien Fabbro <bicatali@g.o> metadata.xml:
39 Switch to sci-electronics herd
40
41
42
43 1.1 sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gspiceui-1.1.0.ebuild
49 ===================================================================
50 # Copyright 1999-2015 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.1.0.ebuild,v 1.1 2015/07/04 07:09:07 tomjbe Exp $
53
54 EAPI="5"
55
56 WX_GTK_VER="3.0"
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-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="examples schematics waveform"
69
70 DEPEND="x11-libs/wxGTK:3.0[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 # Adjusting call to gwave program
89 sed -i -e "s/gwave2/gwave/g" src/TypeDefs.hpp || die
90 }
91
92 src_install() {
93 dobin bin/gspiceui
94 dodoc ChangeLog ReadMe ToDo release-notes-v1.1.00.txt
95 doman gspiceui.1
96 newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm
97
98 dohtml html/*.html html/*.jpg html/*.png
99
100 # installing examples and according model and symbol files
101 if use examples ; then
102 insinto /usr/share/doc/${PF}/sch
103 doins -r sch/*
104 insinto /usr/share/doc/${PF}/lib
105 doins -r lib/*
106 fi
107
108 make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
109 }
110
111 pkg_postinst() {
112 if use examples ; then
113 elog "If you want to use the examples, copy and extract from"
114 elog "/usr/share/doc/${PF} the sch and lib directory"
115 elog "side by side to your home directory to be able"
116 elog "to generate the netlists as normal user."
117 fi
118 }