dilfridge    15/04/12 23:40:35

  Modified:             ChangeLog
  Added:                klayout-0.23.10.ebuild
  Log:
  Version bump, now building against ruby-2.0
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0B08240A96F66571)

Revision  Changes    Path
1.23                 sci-electronics/klayout/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?rev=1.23&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?rev=1.23&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog   7 Dec 2013 13:22:31 -0000       1.22
+++ ChangeLog   12 Apr 2015 23:40:35 -0000      1.23
@@ -1,6 +1,12 @@
 # ChangeLog for sci-electronics/klayout
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.22 
2013/12/07 13:22:31 dilfridge Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/klayout/ChangeLog,v 1.23 
2015/04/12 23:40:35 dilfridge Exp $
+
+*klayout-0.23.10 (12 Apr 2015)
+
+  12 Apr 2015; Andreas K. Huettel <[email protected]>
+  +klayout-0.23.10.ebuild, +files/klayout-0.23.10-Makefile.conf.linux-gentoo:
+  Version bump, now building against ruby-2.0
 
   07 Dec 2013; Andreas K. Huettel <[email protected]>
   -klayout-0.22.4.ebuild:



1.1                  sci-electronics/klayout/klayout-0.23.10.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/klayout-0.23.10.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/klayout/klayout-0.23.10.ebuild?rev=1.1&content-type=text/plain

Index: klayout-0.23.10.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sci-electronics/klayout/klayout-0.23.10.ebuild,v 1.1 
2015/04/12 23:40:35 dilfridge Exp $

EAPI=5

USE_RUBY="ruby20"
# 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://178.77.72.242/downloads/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
        dev-qt/qtgui:4[qt3support]
        $(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.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/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
}




Reply via email to