From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/imhex/
Date: Mon, 26 Sep 2022 09:48:07 +0000 (UTC) [thread overview]
Message-ID: <1663841440.d1a59f75541fc4aa41e9cf8d89a03bd172c4b47e.andrewammerlaan@gentoo> (raw)
commit: d1a59f75541fc4aa41e9cf8d89a03bd172c4b47e
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Sep 22 10:10:40 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 10:10:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1a59f75
app-editors/imhex: die early if gcc is too old
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
app-editors/imhex/imhex-1.22.0-r1.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/app-editors/imhex/imhex-1.22.0-r1.ebuild b/app-editors/imhex/imhex-1.22.0-r1.ebuild
index 6d16b8837..6e5fb12bb 100644
--- a/app-editors/imhex/imhex-1.22.0-r1.ebuild
+++ b/app-editors/imhex/imhex-1.22.0-r1.ebuild
@@ -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.
next reply other threads:[~2022-09-26 9:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 9:48 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-01 8:45 [gentoo-commits] repo/proj/guru:master commit in: app-editors/imhex/ David Roman
2024-12-30 15:30 Julien Roy
2024-08-31 13:06 David Roman
2024-04-11 16:22 Julien Roy
2024-03-11 17:31 David Roman
2023-06-26 22:01 Haelwenn Monnier
2023-04-26 9:44 Florian Schmaus
2023-04-23 8:40 Florian Schmaus
2023-04-19 7:32 Florian Schmaus
2023-01-10 13:59 Florian Schmaus
2022-09-08 9:31 Andrew Ammerlaan
2022-09-08 9:31 Andrew Ammerlaan
2022-09-08 9:31 Andrew Ammerlaan
2022-08-24 15:52 Ronny Gutbrod
2022-05-02 7:17 Florian Schmaus
2021-10-06 1:13 Theo Anderson
2021-07-07 14:02 Florian Schmaus
2021-07-05 15:48 Haelwenn Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1663841440.d1a59f75541fc4aa41e9cf8d89a03bd172c4b47e.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox