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.22.8.ebuild
Date: Sun, 30 Jun 2013 11:48:39
Message-Id: 20130630114833.56E572171C@flycatcher.gentoo.org
1 dilfridge 13/06/30 11:48:33
2
3 Modified: ChangeLog
4 Added: klayout-0.22.8.ebuild
5 Log:
6 Version bump; does not build yet, needs further investigation.
7
8 (Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
9
10 Revision Changes Path
11 1.17 sci-electronics/klayout/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 19 Jun 2013 04:19:09 -0000 1.16
24 +++ ChangeLog 30 Jun 2013 11:48:33 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-electronics/klayout
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.16 2013/06/19 04:19:09 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.17 2013/06/30 11:48:33 dilfridge Exp $
30 +
31 +*klayout-0.22.8 (30 Jun 2013)
32 +
33 + 30 Jun 2013; Andreas K. Huettel <dilfridge@g.o>
34 + +klayout-0.22.8.ebuild:
35 + Version bump; does not build yet, needs further investigation.
36
37 19 Jun 2013; Sébastien Fabbro <bicatali@g.o> metadata.xml:
38 Switch to sci-electronics herd
39
40
41
42 1.1 sci-electronics/klayout/klayout-0.22.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/klayout-0.22.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/klayout-0.22.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: klayout-0.22.8.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.22.8.ebuild,v 1.1 2013/06/30 11:48:33 dilfridge Exp $
52
53 EAPI=5
54
55 USE_RUBY="ruby19"
56 # note: define maximally ONE implementation here
57
58 RUBY_OPTIONAL=no
59 inherit eutils multilib toolchain-funcs ruby-ng
60
61 DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts"
62 HOMEPAGE="http://www.klayout.de/"
63 SRC_URI="http://178.77.72.242/downloads/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS=""
68 IUSE=""
69
70 RDEPEND="
71 dev-qt/qtgui:4[qt3support]
72 $(ruby_implementations_depend)
73 "
74 DEPEND="${RDEPEND}"
75
76 all_ruby_prepare() {
77 # now we generate the stub build configuration file for the home-brew build system
78 cp "${FILESDIR}/${PN}-0.21.7-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die
79 }
80
81 each_ruby_configure() {
82 local rbflags
83 rbflags="-rblib $(ruby_get_libruby) -rbinc $(ruby_get_hdrdir)"
84
85 ./build.sh \
86 -dry-run \
87 -platform linux-gentoo \
88 -bin bin \
89 -qtbin /usr/bin \
90 -qtinc /usr/include/qt4 \
91 -qtlib /usr/$(get_libdir)/qt4 \
92 ${rbflags} || die "Configuration failed"
93 }
94
95 each_ruby_compile() {
96 cd build.linux-gentoo
97 tc-export CC CXX AR LD RANLIB
98 export AR="${AR} -r"
99 emake all
100 }
101
102 each_ruby_install() {
103 cd build.linux-gentoo
104 emake install
105
106 cd ..
107 dobin bin/klayout
108
109 insinto /usr/share/${PN}/testdata/gds
110 doins testdata/gds/*.gds
111 insinto /usr/share/${PN}/testdata/oasis
112 doins testdata/oasis/*.oas testdata/oasis/*.ot
113
114 insinto /usr/share/${PN}
115 doins -r testdata/ruby
116 }