mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
36
app-emulation/qtrvsim/qtrvsim-0.9.8-r1.ebuild
Normal file
36
app-emulation/qtrvsim/qtrvsim-0.9.8-r1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user