Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/klayout: klayout-0.21.10.ebuild ChangeLog
Date: Sat, 28 May 2011 22:41:41
Message-Id: 20110528224130.6EEFE20054@flycatcher.gentoo.org
1 dilfridge 11/05/28 22:41:30
2
3 Modified: ChangeLog
4 Added: klayout-0.21.10.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 sci-electronics/klayout/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 30 Mar 2011 21:49:59 -0000 1.4
24 +++ ChangeLog 28 May 2011 22:41:30 -0000 1.5
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-electronics/klayout
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.4 2011/03/30 21:49:59 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.5 2011/05/28 22:41:30 dilfridge Exp $
30 +
31 +*klayout-0.21.10 (28 May 2011)
32 +
33 + 28 May 2011; Andreas K. Huettel <dilfridge@g.o>
34 + +klayout-0.21.10.ebuild:
35 + Version bump
36
37 *klayout-0.21.7 (30 Mar 2011)
38
39
40
41
42 1.1 sci-electronics/klayout/klayout-0.21.10.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/klayout-0.21.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/klayout-0.21.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: klayout-0.21.10.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/klayout-0.21.10.ebuild,v 1.1 2011/05/28 22:41:30 dilfridge Exp $
52
53 EAPI=3
54
55 USE_RUBY="ruby18"
56 # note: define maximally ONE implementation here
57
58 RUBY_OPTIONAL=yes
59
60 inherit eutils multilib toolchain-funcs ruby-ng
61
62 DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts"
63 HOMEPAGE="http://www.klayout.de/"
64 SRC_URI="http://www.klayout.de/${P}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="ruby"
70
71 RDEPEND="x11-libs/qt-gui:4[qt3support]"
72 DEPEND="${RDEPEND}"
73
74 all_ruby_prepare() {
75 # now we generate the stub build configuration file for the home-brew build system
76 cp "${FILESDIR}/${PN}-0.21.7-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die
77 }
78
79 each_ruby_configure() {
80 local rbflags
81
82 if use ruby ; then
83 rbflags="-rblib $(ruby_get_libruby) -rbinc $(ruby_get_hdrdir)"
84 fi
85
86 ./build.sh \
87 -dry-run \
88 -platform linux-gentoo \
89 -bin bin \
90 -qtbin /usr/bin \
91 -qtinc /usr/include/qt4 \
92 -qtlib /usr/$(get_libdir)/qt4 \
93 ${rbflags} || die "Configuration failed"
94 }
95
96 each_ruby_compile() {
97 cd build.linux-gentoo
98 tc-export CC CXX AR LD RANLIB
99 export AR="${AR} -r"
100 emake all || die "Build failed"
101 }
102
103 each_ruby_install() {
104 cd build.linux-gentoo
105 emake install || die "make install failed"
106
107 cd ..
108 dobin bin/klayout || die
109
110 insinto /usr/share/${PN}/testdata/gds
111 doins testdata/gds/*.gds || die "Installation of gds testdata failed"
112 insinto /usr/share/${PN}/testdata/oasis
113 doins testdata/oasis/*.oas testdata/oasis/*.ot || die "Installation of oasis testdata failed"
114
115 if use ruby; then
116 insinto /usr/share/${PN}
117 doins -r testdata/ruby || die "Installation of ruby testdata failed"
118 fi
119 }