sci-electronics/klayout: drop 0.29.11-r1

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2025-11-05 17:08:53 +01:00
parent c35f410553
commit bd44b2d7e2
No known key found for this signature in database
GPG Key ID: DC2B16215ED5412A
2 changed files with 0 additions and 90 deletions

View File

@ -1,3 +1 @@
DIST klayout-0.29.11-qt6.tar.xz 12956 BLAKE2B 9ae4d6f1645806cb1a039a0e905f47cba99f2c5fde3f49ea5a0354ea98df1c9e577fbf1b82bfaf73c8437733b630b1a46dbae026052df71c81270d0fb36c7c46 SHA512 6ba133119afa5ee4b39f1987c1333fa5e3eeac6eaeb1514d110db7ebb943613ce01c2d496d28479944193e5f8f68693e254a8208a9fab5df373866202748e0a5
DIST klayout-0.29.11.tar.gz 97526183 BLAKE2B 6da5c4590ae14c46f677b0e87fd001c89731db15abcbce42c3a22844a2277be7998c80cf8e39f0df8d3bdcc00ac39290fab87973ec3cf6aa21d4967f047ef143 SHA512 a03bc5e3ca612e0dab894a193e7f942ef4fb8860364fcdda2128b55fd81c82eb2c8122a1e340c03097a9def7942d151ba115def8322e3c103fcec09d4849f6dd
DIST klayout-0.30.4.tar.gz 101138011 BLAKE2B 8d8e44bd2b87cc0b668d896b6cd0b1b7fd4b43b223da7fd65883b0cff23145f8da244d3898f6815778a32df5b2474e5dc9bec087e3a635ff296017c80fb6ad22 SHA512 0e94b7342d9cb3e3d91030948a9448eee75e682a7a1972a118c3de5e7dcee7dab10820c555c5cda10b4877f73fb8e2e1413330160e75bdfbd781fa7963e5bd0f

View File

@ -1,88 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUBY_OPTIONAL=no
USE_RUBY="ruby32"
# note: define maximally ONE implementation here
PYTHON_COMPAT=( python3_{11,12,13} )
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 https://dev.gentoo.org/~dilfridge/distfiles/${P}-qt6.tar.xz"
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"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
RDEPEND="
dev-qt/qtbase:6[gui,network,sql,ssl,widgets,xml]
dev-qt/qtmultimedia:6
dev-qt/qtsvg:6
dev-qt/qttools:6[designer]
dev-libs/libgit2:=
virtual/zlib:=
${PYTHON_DEPS}
$(ruby_implementations_depend)
"
DEPEND="${RDEPEND}"
PATCHES=(
"${WORKDIR}"/all/qt6-patches/klayout-0.29.11-0001-Fixing-issue-1987-build-failure-against-Qt6.8.patch
"${WORKDIR}"/all/qt6-patches/klayout-0.29.11-0002-WIP-more-fixes-for-Qt-6.8-compatibility.patch
"${WORKDIR}"/all/qt6-patches/klayout-0.29.11-0003-More-patches.patch
)
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)/qt6/bin/qmake" \
-ruby "${RUBY}" \
-python "${PYTHON}" \
-build . \
-bin "${T}/bin" \
-rpath "$EPREFIX/usr/$(get_libdir)/klayout" \
-option "${MAKEOPTS}" \
-with-qtbinding \
-without-64bit-coord || 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
}