summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2011-07-25 22:05:21 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2011-07-25 22:05:21 +0000
commitb36962e9870de990ab660c15848f9ba1816d954e (patch)
tree09d46aafad4896a57751ea51b4adef092c0c8e83 /sci-electronics
parentAdd sys-devel/libtool to RDEPEND, bug 376085 (diff)
downloadhistorical-b36962e9870de990ab660c15848f9ba1816d954e.tar.gz
historical-b36962e9870de990ab660c15848f9ba1816d954e.tar.bz2
historical-b36962e9870de990ab660c15848f9ba1816d954e.zip
Version bump, add missing ruby dependency (bug 369055)
Package-Manager: portage-2.1.10.7/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/klayout/ChangeLog8
-rw-r--r--sci-electronics/klayout/Manifest30
-rw-r--r--sci-electronics/klayout/klayout-0.21.11.ebuild74
3 files changed, 97 insertions, 15 deletions
diff --git a/sci-electronics/klayout/ChangeLog b/sci-electronics/klayout/ChangeLog
index 716a36699a84..6aba8ffeee19 100644
--- a/sci-electronics/klayout/ChangeLog
+++ b/sci-electronics/klayout/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/klayout
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.7 2011/05/29 08:46:30 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.8 2011/07/25 22:05:21 dilfridge Exp $
+
+*klayout-0.21.11 (25 Jul 2011)
+
+ 25 Jul 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ +klayout-0.21.11.ebuild:
+ Version bump, add missing ruby dependency (bug 369055)
29 May 2011; Andreas K. Huettel <dilfridge@gentoo.org>
-klayout-0.21.7.ebuild:
diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest
index bacc92e2df8e..49dcee7c3102 100644
--- a/sci-electronics/klayout/Manifest
+++ b/sci-electronics/klayout/Manifest
@@ -7,24 +7,26 @@ AUX klayout-0.21.10-gcc46.patch 387 RMD160 b407e1f027007c566f4f7325806fbe29fa1ac
AUX klayout-0.21.7-Makefile.conf.linux-gentoo 917 RMD160 30db9754d812069de2310532f9a8e5d3928b6141 SHA1 548fda661d02d6ef81aee9444a5d8b76dddc40cb SHA256 ffdecac8e05b7418034755e00d1a201c8bc2f0486f7eac232d2d0899ee3bdb43
DIST klayout-0.20.2.tar.gz 1582828 RMD160 925152f3173f180bc8611f59f239940bbd852183 SHA1 467af487053878f46662ddb144a44444088fbc8e SHA256 a87298bd77e61e2b64245d4fe133d68f579fcb490cc14b4889938e096bf1120f
DIST klayout-0.21.10.tar.gz 1973267 RMD160 02fe1332bc61e503dd56a6bda4a262147e5b2ac8 SHA1 20680d00ec37f89445f155c04befc0b40ee6b42d SHA256 b8f4e8960c2458283e65c3d6c791ea98a13617eceabcfad517cc0e6f1c52991e
+DIST klayout-0.21.11.tar.gz 1997595 RMD160 016825ea3e1dcc38462eaaebdd03d97f4984c026 SHA1 31547a5036cc9190860a73cc47d8d9370aada983 SHA256 98d5ea98efa165356ab2edb9c6ab606b8677d6a31ecd2b7770d7fa48294e5177
EBUILD klayout-0.20.2.ebuild 1951 RMD160 54d107d53efc4bcfaa21b6f213c0c7cc8278ac12 SHA1 9df3292837085fee59c21f03abbe09fcdf0cd38d SHA256 e1e5226263486cc4ca4749ec8a187911496e95d82fb7037d159114391c2a2781
EBUILD klayout-0.21.10.ebuild 1861 RMD160 f60c8c870baf40a07eb5992a55e851682c3c0099 SHA1 6483022e7b58901b3e33fed982e312b5e4452585 SHA256 51f228c889e31687f17c425f33b82e8c0046284da302a8c5a194c1035c13db00
-MISC ChangeLog 1377 RMD160 98e3dca4a17927fc997fc7fcd638bc174a940ace SHA1 f5dd851143255993032e52b15144cf19ad90b196 SHA256 55795ebd07ee412a125c1e82450a83a5a69e75d7c71b30ff8a3d4d9490eac084
+EBUILD klayout-0.21.11.ebuild 1866 RMD160 12a07ce6884506dace2840b516c7cf78c4bbffad SHA1 98d8adc11596575d7ff6c92952ca6a7b564ec2b1 SHA256 832b9f942c89a593af0e2de6012ea990124d60ab740698af6afb029d5027b1cc
+MISC ChangeLog 1551 RMD160 5e1f1c797b4bb156920a66e2483487ec41084567 SHA1 fe40ace1f3e39b9f9e2a8c2ad064637ee7c29d75 SHA256 948a7e40c625e17dcaffdfc36f7df413de8ad9bf0fb523219d623171a54f9e99
MISC metadata.xml 258 RMD160 0c68f5fe3ac9ddaed4725fd9f83820846a357666 SHA1 8096efa78c2c95d9a7ac54964591eb25bd6bd112 SHA256 503c5c542a8646c1a214c9cefe3beaf91b7264de196d3553fb0307c8e9ddcdfe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCgAGBQJN4gfrAAoJENwGBM22xffefVYP/A6PbGGZR9z25EouUcbMfYW6
-RV4bSYhz6Bdr8pKvvMeYEKxgso1+mpuz4kc8TmojymIrdvewb+Bts3dnT4uo1Zn9
-5HB8GV7tuV/TSCJrAfjaV6KnFvRrDSzEDvUJnFCvb9bWaGHuNMW8NXTZOhqAjKSo
-sXfvZDDK2Y5SbMu4oewc4V538Y57JYyEqNIcugSKxQ0nl4IMth7sitgPHIY0vSoZ
-OpVQ7jSSNxaYJaHd5hDdHJERJUvX8w3cEoejfiec6hSiL8VncAFzvsLMDiNk5LSi
-qogawGWWw9YOll+EWVnL0+BJgF9azLp9ay0jaH7gXrdYfFxaaF3EY1F6DZCT894T
-TENR0wWZqpBh6FX+S0XD6WMbucOtZOj4zVqX1mGiAJYFfeBU9BlmbQWCC/Nu/RHv
-gULrpa/P0bLzb8JRvbzNYGuqxaufaJtXrwUA/GM+57bbU6WVlk+yEsfybpiPdG75
-FPADaUdboY9xlLM8wPKy/mg9N8Dut7mmURyYsoUHGYuFZyJWOFtgE8PhVGIJOJAw
-x/QT/t5tN1LJxRpJMtN7zHkPxi7Ry1yyKzZDCL7GAs1QlMJKZl1oEI3Q+O02S30B
-U0NZ9Fz1IGjLPA4QSeEh+P/fe/bbqnoMAI850aMF/kVtye794fTeQ73EXR8caP9O
-tAtIsKHkR6gWkatASZWT
-=XgLB
+iQIcBAEBCgAGBQJOLe/lAAoJENwGBM22xffeS3AP/j1XCT6s004Ti+szpaYL9Fca
+UGFdYxSdHS8ih8MHh44Vquzhxe77idqyfw+iTENq1u4UdsRvK8g9+Yvw/aMu6nxp
+zMft1ThcQbdfShFZa6FH6bOoQbzNuGdr3t2jutmfFiyF12LYb0eIHjHRlwoX1ODi
+XQ6+5WD/ryGCYteTwY+kJpaiGzcRspnDLZelt7PPcT8E6YaGCHay/xM0o1ll5dib
+P9BWVzme4wBuntw373avBVgnA4accJRS2vjP1pNfe8FhtQd1VObRR1g4rCv1MHIv
+IT8QZME4fBh0PIdeii/WLDvtwTfTdJIOKNEUyALcZaSiErJ+SFxna3D97Hm6ozI9
+28iY7atEChi0E4KjL2FLJ6em2W+lLpKduRqUn9N7DR1X6Q1N8gmybT74VliHk7oU
+YCTxUVzjDhfSFzxtUzeSAG51WvqdqXsJBvInn8g3KYvgp6RQ9F/YT3PkyuyEMidF
+m4n9B/nuRqF9trEQZaJ4fbNuul3VLKuigTHv7UA7wrTTG4BG4mZZS9VVGfpLlycz
+HMvjOY4xvcVvShHozIVOnjiYBl7TzLPRfYX5ZmLltry41HWkNxIr2rl58MYOqQKq
+C0Ccokxm9zyx6mebpSb383aKV400QPWNMK90LD3/4sTpuqkJUhm3lgdGbbHfd+kN
+Tt4Jbn7ghNQDRsuSKeaV
+=xWLe
-----END PGP SIGNATURE-----
diff --git a/sci-electronics/klayout/klayout-0.21.11.ebuild b/sci-electronics/klayout/klayout-0.21.11.ebuild
new file mode 100644
index 000000000000..65d03c0d3d8c
--- /dev/null
+++ b/sci-electronics/klayout/klayout-0.21.11.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/klayout-0.21.11.ebuild,v 1.1 2011/07/25 22:05:21 dilfridge Exp $
+
+EAPI=3
+
+USE_RUBY="ruby18"
+# note: define maximally ONE implementation here
+
+RUBY_OPTIONAL=yes
+
+inherit eutils multilib toolchain-funcs ruby-ng
+
+DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts"
+HOMEPAGE="http://www.klayout.de/"
+SRC_URI="http://www.klayout.de/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ruby"
+
+RDEPEND="
+ x11-libs/qt-gui:4[qt3support]
+ ruby? ( $(ruby_implementations_depend) )
+"
+DEPEND="${RDEPEND}"
+
+all_ruby_prepare() {
+ # now we generate the stub build configuration file for the home-brew build system
+ cp "${FILESDIR}/${PN}-0.21.7-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die
+}
+
+each_ruby_configure() {
+ local rbflags
+
+ if use ruby ; then
+ rbflags="-rblib $(ruby_get_libruby) -rbinc $(ruby_get_hdrdir)"
+ fi
+
+ ./build.sh \
+ -dry-run \
+ -platform linux-gentoo \
+ -bin bin \
+ -qtbin /usr/bin \
+ -qtinc /usr/include/qt4 \
+ -qtlib /usr/$(get_libdir)/qt4 \
+ ${rbflags} || die "Configuration failed"
+}
+
+each_ruby_compile() {
+ cd build.linux-gentoo
+ tc-export CC CXX AR LD RANLIB
+ export AR="${AR} -r"
+ emake all || die "Build failed"
+}
+
+each_ruby_install() {
+ cd build.linux-gentoo
+ emake install || die "make install failed"
+
+ cd ..
+ dobin bin/klayout || die
+
+ insinto /usr/share/${PN}/testdata/gds
+ doins testdata/gds/*.gds || die "Installation of gds testdata failed"
+ insinto /usr/share/${PN}/testdata/oasis
+ doins testdata/oasis/*.oas testdata/oasis/*.ot || die "Installation of oasis testdata failed"
+
+ if use ruby; then
+ insinto /usr/share/${PN}
+ doins -r testdata/ruby || die "Installation of ruby testdata failed"
+ fi
+}