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