From 1494784ae35c6fa7b6a92a80dea93265fc54ccd0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Jun 2023 19:48:47 +0100 Subject: gentoo auto-resync : 18:06:2023 - 19:48:47 --- sci-electronics/klayout/Manifest | 4 +- sci-electronics/klayout/klayout-0.28.9.ebuild | 91 +++++++++++++++++++++++++++ sci-electronics/klayout/klayout-9999.ebuild | 2 +- 3 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 sci-electronics/klayout/klayout-0.28.9.ebuild (limited to 'sci-electronics/klayout') diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest index 742b1ec434bf..6920c8f28939 100644 --- a/sci-electronics/klayout/Manifest +++ b/sci-electronics/klayout/Manifest @@ -1,4 +1,6 @@ DIST klayout-0.28.5.tar.gz 88218961 BLAKE2B 59154bc1cc6596c4deb10b9c59f8957c2fcb8815b8d8ab09e79521a2e281e82d5437a222a48e0f378188b34162cd92229694c58e15ff74b6cde4c2b65df7bfe7 SHA512 ae2f4a08d8939eccba41f2a76ef3e1a97bdd61925329f3d3c314206dfc2783e0db0ffad58cc1357355f0853079987b9c083dde78ae29914b4db8aadc24181082 +DIST klayout-0.28.9.tar.gz 88388706 BLAKE2B 0997bf15aae1dd1e8356fec91ae281511751db0ae1a4bfdfde38d5a04392351a7893206806a0eb7d842f8ee2fd7819b1a86257376d3ba5af11bb81b84836e571 SHA512 dcd882ef84161f2d28195f8e0239fd122f17f9954e5cc146f71bbb6816b9fb723eb3b0299e01fbb293ef7fb7f87c25efbfe09126349ee13f89de68c5bb5f7e93 EBUILD klayout-0.28.5.ebuild 1873 BLAKE2B 9e2273a61172683645bd0d5b9111d2c6c51701abe899ae3657f9b46f8cc23a419ce78873cc05b4c30ae27a034610e7dce9cf4b2faf803526497bced614db81fa SHA512 a713d02746333386a4ef1600685c8485bb9e0b300b593c7a9c59e23fcdf79320123e5cc8db9325d4adcdd6fea6ebc1de4c15b7f2e0648febc69433be2a9ec8ff -EBUILD klayout-9999.ebuild 1874 BLAKE2B e9eb55e306c99fb910b2f5ece353831cafcd892f4c65513257bedafe01ae8412da75af2250d5f9393985294e2d35528a887b2a19c4ce66a053171721bc38a373 SHA512 7732a188ed63db16d5f9b444854e22fa60f51d281a2b590130e70b691afc4040d8245332da4f51180b0d8c6eb878babe8e6157b9fc70edbccd3f6244708c5f06 +EBUILD klayout-0.28.9.ebuild 1874 BLAKE2B bc4363a9b2c14365d5d44b7f2df3d2d0356ea282de1b7e0eb85491004a3dcb3376eca0b0f78fb5c7e251f02eadbf164a916b4edcfe9867e11e7a8018bec8f212 SHA512 da5d9833766f78b59f6c55facc8bef50f624965241d91e168ab6ae0ba1ffde05ee7b6bbab12d905b8ae803a4f26970768bde32c3585327b223e4385379f07ebb +EBUILD klayout-9999.ebuild 1874 BLAKE2B bc4363a9b2c14365d5d44b7f2df3d2d0356ea282de1b7e0eb85491004a3dcb3376eca0b0f78fb5c7e251f02eadbf164a916b4edcfe9867e11e7a8018bec8f212 SHA512 da5d9833766f78b59f6c55facc8bef50f624965241d91e168ab6ae0ba1ffde05ee7b6bbab12d905b8ae803a4f26970768bde32c3585327b223e4385379f07ebb MISC metadata.xml 459 BLAKE2B 991af576cef99c2b7a659026da387777cdd94dcba1037147fd476cde48d3b150755d4da3d44815ac34e4260387d5fbd9a8c107a5a64b7a4261dcd42c04c8e828 SHA512 d8766767f4af4b83ffe2f2485d40cca3a893a270d04ac62be3188f6a74b9f426e62223acc1900784f3ac0b36f6481c9b2a2b7181c4fa37d05b87d012d9213dc2 diff --git a/sci-electronics/klayout/klayout-0.28.9.ebuild b/sci-electronics/klayout/klayout-0.28.9.ebuild new file mode 100644 index 000000000000..93673852a5a8 --- /dev/null +++ b/sci-electronics/klayout/klayout-0.28.9.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUBY_OPTIONAL=no +USE_RUBY="ruby31" +# note: define maximally ONE implementation here + +PYTHON_COMPAT=( python3_{9,10,11} ) + +inherit toolchain-funcs python-single-r1 ruby-ng + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/klayoutmatthias/${PN}.git" + inherit git-r3 + EGIT_CHECKOUT_DIR=${WORKDIR}/all/${P} +else + SRC_URI="https://www.klayout.org/downloads/source/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts" +HOMEPAGE="https://www.klayout.de/" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND=" + dev-qt/designer:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets] + dev-qt/qtnetwork:5[ssl] + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + sys-libs/zlib + ${PYTHON_DEPS} + $(ruby_implementations_depend) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + python-single-r1_pkg_setup + ruby-ng_pkg_setup +} + +each_ruby_configure() { + tc-export CC CXX AR LD RANLIB + export CFLAGS CXXFLAGS + ./build.sh \ + -expert \ + -dry-run \ + -qmake "$EPREFIX/usr/$(get_libdir)/qt5/bin/qmake" \ + -ruby "${RUBY}" \ + -python "${PYTHON}" \ + -build . \ + -bin "${T}/bin" \ + -rpath "$EPREFIX/usr/$(get_libdir)/klayout" \ + -option "${MAKEOPTS}" \ + -with-qtbinding \ + -without-64bit-coord \ + -qt5 || die "Configuration failed" +} + +each_ruby_compile() { + emake all +} + +each_ruby_install() { + emake install + + cd "${T}/bin" || die + + dodir "/usr/$(get_libdir)/klayout" + mv lib* lay_plugins db_plugins "${ED}/usr/$(get_libdir)/klayout/" || die + + mkdir -p "${D}/$(python_get_sitedir)" || die + mv pymod/* "${D}/$(python_get_sitedir)/" || die + rmdir pymod || die + + dobin * + + python_optimize +} diff --git a/sci-electronics/klayout/klayout-9999.ebuild b/sci-electronics/klayout/klayout-9999.ebuild index 9f93b3381a94..93673852a5a8 100644 --- a/sci-electronics/klayout/klayout-9999.ebuild +++ b/sci-electronics/klayout/klayout-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 RUBY_OPTIONAL=no -USE_RUBY="ruby30" +USE_RUBY="ruby31" # note: define maximally ONE implementation here PYTHON_COMPAT=( python3_{9,10,11} ) -- cgit v1.2.3