diff options
Diffstat (limited to 'app-emulation/qtrvsim')
-rw-r--r-- | app-emulation/qtrvsim/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/qtrvsim/qtrvsim-0.9.7-r1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/app-emulation/qtrvsim/Manifest b/app-emulation/qtrvsim/Manifest index 0f54fcd43d6a..c43f7fce8899 100644 --- a/app-emulation/qtrvsim/Manifest +++ b/app-emulation/qtrvsim/Manifest @@ -1,3 +1,4 @@ DIST qtrvsim-0.9.7.tar.gz 1421805 BLAKE2B 9128dbe513860eafd01e0f37a99547797d385b57a404e06aea310404012e66e6be802920cdea62acb914d355fc842cd3759fc794d2cd417257b941f9ec62fbec SHA512 0d53e21681630cbf97db472472bd96dfe4914e0d275a1094cb18a7f0372cef23b0dea3c33092b6ab6d2403737070ef0b6f2b1f5d9d35eea8923b24a80ac6adfe +EBUILD qtrvsim-0.9.7-r1.ebuild 634 BLAKE2B 98e855ffe84e0e1949e809bf5e2865229f4450bf5066c45bca36e704f09976b53c83230e7e957ad483a3da41575cd3fba5763b70210848b31d0721646c5fd1ec SHA512 ffddaff657a86d3f27e7974f066587748764f589094d14d579b62585ccbc0345b8d2287ceb0fd8b9e52d65f911b64241a31a2c9aac005bc5319b16cc47c1c7f3 EBUILD qtrvsim-0.9.7.ebuild 503 BLAKE2B 6d410a39d6233669a391c14fa854c1ca0bc5c1ac9454600d7eb0380465bcfa3048c24d81294bfbc9a2b366a447ae71d45b5c4a7201cfd35c4ff4e3f2db40b812 SHA512 1622a493e4ba9c9ce0d0579c6b0672b3abb576519e154836514abec1a1c244f35c4535d129dbec968a367b649da89f50eb8ea4e102a927e8b71217f0ebd5e92e MISC metadata.xml 324 BLAKE2B 88e9410454f1433824206295d14983c6cd3121248db77d052d1aadce997e7fdcbfa982837bbe3ec01038af57e3d54ac0f025874c91f3e4b938a17d330b185e98 SHA512 be34381fedb16ca3f974824e0c7af4033cc1f3fd0089e93449fd04dc84624581a05ee9083dc23b12fa58f6a55994e77a0fe58b5a9263b55b36acdd52e071591f diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.7-r1.ebuild b/app-emulation/qtrvsim/qtrvsim-0.9.7-r1.ebuild new file mode 100644 index 000000000000..efe69a56f390 --- /dev/null +++ b/app-emulation/qtrvsim/qtrvsim-0.9.7-r1.ebuild @@ -0,0 +1,33 @@ +# 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}" + +CMAKE_SKIP_TESTS=( + # Fails in 0.9.7, but not in master. + cli_stalls +) + +src_prepare() { + cmake_src_prepare + + # ensure Qt6 build + sed "/^ *find_package.*QT NAMES/s/Qt5 //" \ + -i CMakeLists.txt || die +} |