commit:     9bb2d56a312c9abd7ec9129b1b6e78a3da013161
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 22 17:49:21 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 17:50:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb2d56a

sci-electronics/klayout: add qt6 patches, keyword 0.29.11-r1 for ~amd64, ~x86

Closes: https://bugs.gentoo.org/947393
Bug: https://github.com/KLayout/klayout/issues/1987
See-also: https://github.com/KLayout/klayout/pull/1988
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-electronics/klayout/Manifest                  |  1 +
 sci-electronics/klayout/klayout-0.29.11-r1.ebuild | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest
index a3c569278ceb..4599a45882fc 100644
--- a/sci-electronics/klayout/Manifest
+++ b/sci-electronics/klayout/Manifest
@@ -1,2 +1,3 @@
+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.29.7.tar.gz 97112729 BLAKE2B 
3e6d97bcbef5a1ef34ab6ac035db88dfa7f590ef7ab5d3b6312248244cbe4538407db0278b6c7dc2f0a5a4a966d21ee60d1f11200327773979852ecb835ec078
 SHA512 
361337d028b8266abd2c5114643a7b2074c794f5685b336658168f09df1f3e4826de2d3cb1e094bd2f08616d6f0be78c8f6b44144c74367dcaf65785476ab8ae

diff --git a/sci-electronics/klayout/klayout-0.29.11-r1.ebuild 
b/sci-electronics/klayout/klayout-0.29.11-r1.ebuild
index b83d5613e22f..75e415a841ab 100644
--- a/sci-electronics/klayout/klayout-0.29.11-r1.ebuild
+++ b/sci-electronics/klayout/klayout-0.29.11-r1.ebuild
@@ -16,8 +16,8 @@ if [[ ${PV} = 9999* ]]; then
        inherit git-r3
        EGIT_CHECKOUT_DIR=${WORKDIR}/all/${P}
 else
-       SRC_URI="https://www.klayout.org/downloads/source/${P}.tar.gz";
-       #KEYWORDS="~amd64 ~x86"
+       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"
@@ -38,6 +38,12 @@ RDEPEND="
 "
 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

Reply via email to