mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
app-editors/imhex: die early if gcc is too old
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE="Release"
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit cmake desktop llvm python-r1 xdg
|
||||
inherit cmake desktop llvm python-r1 toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
|
||||
HOMEPAGE="https://github.com/WerWolv/ImHex"
|
||||
@@ -51,6 +51,12 @@ BDEPEND="
|
||||
sys-devel/llvm
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -lt 12 ]]; then
|
||||
die "${PN} requires GCC 12 or newer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Due to network sandboxing, we can't do network test here.
|
||||
|
||||
Reference in New Issue
Block a user