commit: a69b9c99c1c2dfd180cebf2282e39a8734b413bd Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Sun Jun 15 08:27:50 2025 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sun Jun 15 08:29:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a69b9c99
app-emulation/qtrvsim: backport build patch, inherit xdg eclass Closes: https://bugs.gentoo.org/957982 Closes: https://bugs.gentoo.org/942913 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> app-emulation/qtrvsim/Manifest | 1 + app-emulation/qtrvsim/qtrvsim-0.9.8-r1.ebuild | 36 +++++++++++++++++++++++++++ app-emulation/qtrvsim/qtrvsim-0.9.8.ebuild | 27 -------------------- 3 files changed, 37 insertions(+), 27 deletions(-) diff --git a/app-emulation/qtrvsim/Manifest b/app-emulation/qtrvsim/Manifest index c51afeaa478c..969abdddbf19 100644 --- a/app-emulation/qtrvsim/Manifest +++ b/app-emulation/qtrvsim/Manifest @@ -1 +1,2 @@ +DIST qtrvsim-0.9.8-svgscene-fix-build-when-qt6-is-specified.patch 1445 BLAKE2B d34e5dceae9f76bef0e74ac77b1f32285518cd3c49013a802933e0a37e54c2057e460d7a995679e814080b1a6e0a4562c5e060cbb1d3b8aa8fa6467ced2f7c92 SHA512 44c735f5727546178616b16376ff726f1c8d6ce671b492a8154c2631f3f06f0917a968379856a5c9c537a343702ad3d74aa475d2d24aced723ee286f2a5dd860 DIST qtrvsim-0.9.8.tar.gz 1442156 BLAKE2B d1e98f5cf0706c2d6cd1edcfdb92d60b4dcd9f74f05e4992f13fc30a11384a25e64af62dbda55a2a3befadbbb6c74d827d8316c392686212c9086487e5adf4c9 SHA512 88efbd3663faadff3f1df44edf518fa9c2f769339d336947cf61c9a9b359b264877f1062a3611b2c3446dbb26a5766316eeb2a861d9e325ca4587705eaddcf15 diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.8-r1.ebuild b/app-emulation/qtrvsim/qtrvsim-0.9.8-r1.ebuild new file mode 100644 index 000000000000..2c1f5eaacb63 --- /dev/null +++ b/app-emulation/qtrvsim/qtrvsim-0.9.8-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="RISC-V CPU simulator for education" +HOMEPAGE="https://github.com/cvut/qtrvsim" +SRC_URI=" + https://github.com/cvut/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + https://github.com/cvut/qtrvsim/commit/ce63bb060fa8adb2215547da8a12d4e8d5a8f87e.patch + -> ${PN}-0.9.8-svgscene-fix-build-when-qt6-is-specified.patch +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64" + +DEPEND=" + dev-qt/qtbase:6[gui,widgets] + virtual/libelf:= +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${DISTDIR}"/${PN}-0.9.8-svgscene-fix-build-when-qt6-is-specified.patch +) + +src_configure() { + local mycmakeargs=( + -DQT_VERSION_MAJOR=6 + ) + cmake_src_configure +} diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.8.ebuild b/app-emulation/qtrvsim/qtrvsim-0.9.8.ebuild deleted file mode 100644 index 5b892ab054f5..000000000000 --- a/app-emulation/qtrvsim/qtrvsim-0.9.8.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="RISC-V CPU simulator for education" -HOMEPAGE="https://github.com/cvut/qtrvsim" -SRC_URI="https://github.com/cvut/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64" - -DEPEND=" - dev-qt/qtbase:6[gui,widgets] - virtual/libelf:= -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DQT_VERSION_MAJOR=6 - ) - cmake_src_configure -}
