Will need packaing qtpas.
There's a copy of libqt5pas in the lazarus source archive, but there's also one in github following a conversation about versioning in the lazarus forums in March 2020: https://forum.lazarus.freepascal.org/index.php?topic=48889.0 The v1.2.8 in github works with lazarus-2.0.6 and v1.2.9 in github works with lazarus-2.0.12. The attached ebuild uses the github sources and version numbers follow the ones in qmake.pro. When running Lazarus IDE in qt5, an additional patch is required to fix a font issue in the IDE editor windows, Lazarus bug #36483. This affects Lazarus 2.0.6 & 2.0.12. The attached patch fixes both these versions.
Created attachment 746832 [details] dev-lib/libqt5pas-1.2.9.ebuild
Created attachment 746835 [details, diff] Patch for dev-lang/lazarus-2.0.2/6/12 - fix qt5 font issues in IDE
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c183aa7b01e8a994bc18ebb3a0d4b74402b45b commit e9c183aa7b01e8a994bc18ebb3a0d4b74402b45b Author: Michael Corvinus <voron1@gmail.com> AuthorDate: 2022-12-12 14:49:41 +0000 Commit: Amy Liffey <amynka@gentoo.org> CommitDate: 2022-12-12 18:39:59 +0000 dev-lang/lazarus: add 2.2.4 Make GUI optional, switch to Qt5. Closes: https://github.com/gentoo/gentoo/pull/28622 Closes: https://bugs.gentoo.org/818142 Closes: https://bugs.gentoo.org/885283 Signed-off-by: Amy Liffey <amynka@gentoo.org> Signed-off-by: Michael Corvinus <voron1@gmail.com> dev-lang/lazarus/Manifest | 1 + dev-lang/lazarus/lazarus-2.2.4.ebuild | 91 +++++++++++++++++++++++++++++++++++ dev-lang/lazarus/metadata.xml | 11 +++++ 3 files changed, 103 insertions(+)