From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3AACB139694 for ; Sun, 6 Aug 2017 07:47:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4329E077D; Sun, 6 Aug 2017 07:47:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 726B9E077D for ; Sun, 6 Aug 2017 07:47:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7831D341719 for ; Sun, 6 Aug 2017 07:47:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F1AC74FA for ; Sun, 6 Aug 2017 07:47:47 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1502005648.fd8ca37cb73af8160048d4dd245c65a8c5366c6f.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/klayout/Manifest sci-electronics/klayout/klayout-0.24.10.ebuild X-VCS-Directories: sci-electronics/klayout/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: fd8ca37cb73af8160048d4dd245c65a8c5366c6f X-VCS-Branch: master Date: Sun, 6 Aug 2017 07:47:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0a314c4c-441d-48a8-9f78-4259070da7f7 X-Archives-Hash: 8b4f23314cc182513b28e40586e54c60 commit: fd8ca37cb73af8160048d4dd245c65a8c5366c6f Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Aug 6 07:46:54 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sun Aug 6 07:47:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd8ca37c sci-electronics/klayout: Version bump, using Ruby 2.2 Package-Manager: Portage-2.3.6, Repoman-2.3.3 sci-electronics/klayout/Manifest | 1 + sci-electronics/klayout/klayout-0.24.10.ebuild | 70 ++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest index fb024c05a71..789027f3953 100644 --- a/sci-electronics/klayout/Manifest +++ b/sci-electronics/klayout/Manifest @@ -1,2 +1,3 @@ DIST klayout-0.23.10.tar.gz 9561035 SHA256 f215a70ec78ac58c775527c4194c972d6588afd23a8f24f292626fb4f70028a1 SHA512 628a260d1b4f44b7eb02d166e7af47ef6c303019824ef0b9681509e53fda58576654188097e8791bb7acce635e671d016d5199c7b8777377ce6d9256756957c6 WHIRLPOOL 228bd2b76c1feb29e86740ee2efe16fc3380df6ec67cd9caff8c862097c372823f8d1a2b1c07b4b8534673161a9e538a73f78f2de85676eed42fa8ef65f53308 +DIST klayout-0.24.10.tar.gz 11262007 SHA256 b1462ec68add037a5d9d040599b2bd96cc399e57dfd9fd46bbf3e8f54c07418d SHA512 0043b91e2dae9321299c217697c93af27bc7d795209bdf95248eee3690b97728854f9f82cc95f77f05a2cfbcae6a716ae594fe2485e04ed0a3f5d950abc0a31b WHIRLPOOL fe1d4079fbc3aa9fec1da8fb48595fa6edd65060f7081f80592dc86b371c4428934629a5c7838212577416fc66f194e6677f595992734c922c2ee89c6029cbd7 DIST klayout-0.24.9.tar.gz 11262298 SHA256 475420a7858aa9d9a0f7312c0da827f1f350340a30abcaf1589a41d35946dccd SHA512 2b14f9c10968f3c69e0585a6d83756395697ebefb5ab97d37e790e180be2f17073bc488135868be8f61308388dd3b5fac0819765c5e5487bbaae8679a8863574 WHIRLPOOL 48a49d9a13e6950a8fac48965da7fe8c6dce4c239c51e21e9f3774f5a6c0ff995a86a3be0ce967ca2b4f96e780b86639b0af64f4039ec1220bc7bfae6fbb29bf diff --git a/sci-electronics/klayout/klayout-0.24.10.ebuild b/sci-electronics/klayout/klayout-0.24.10.ebuild new file mode 100644 index 00000000000..b4e090a8909 --- /dev/null +++ b/sci-electronics/klayout/klayout-0.24.10.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22" +# note: define maximally ONE implementation here + +RUBY_OPTIONAL=no +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.org/downloads/source/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/designer:4 + dev-qt/qtgui:4[qt3support] + sys-libs/zlib + $(ruby_implementations_depend) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.24.9-c++11-no-throw-in-destuctor.patch +) + +all_ruby_prepare() { + # now we generate the stub build configuration file for the home-brew build system + cp "${FILESDIR}/${PN}-0.23.10-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die +} + +each_ruby_configure() { + ./build.sh \ + -dry-run \ + -platform linux-gentoo \ + -bin bin \ + -ruby ${RUBY} \ + -qtbin /usr/lib64/qt4/bin \ + -qtinc /usr/include/qt4 \ + -qtlib /usr/$(get_libdir)/qt4 || die "Configuration failed" +} + +each_ruby_compile() { + cd build.linux-gentoo + tc-export CC CXX AR LD RANLIB + export AR="${AR} -r" + emake all +} + +each_ruby_install() { + cd build.linux-gentoo + emake install + + cd .. + dobin bin/klayout + + insinto /usr/share/${PN}/testdata/gds + doins testdata/gds/*.gds + insinto /usr/share/${PN}/testdata/oasis + doins testdata/oasis/*.oas testdata/oasis/*.ot + + insinto /usr/share/${PN} + doins -r testdata/ruby +}