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