From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
Date: Thu, 22 Sep 2022 10:12:22 +0000 (UTC) [thread overview]
Message-ID: <1663841440.d1a59f75541fc4aa41e9cf8d89a03bd172c4b47e.tastytea@gentoo> (raw)
commit: d1a59f75541fc4aa41e9cf8d89a03bd172c4b47e
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Sep 22 10:10:40 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
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-22 10:12 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 10:12 Ronny Gutbrod [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-09 15:37 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/ Henri Gasc
2025-04-16 16:01 RavFX
2025-03-31 19:31 Henri Gasc
2025-03-06 20:38 Henri Gasc
2024-12-30 12:48 Henri Gasc
2024-08-31 11:52 Henri Gasc
2024-04-11 15:05 Henri Gasc
2024-03-11 11:35 Henri Gasc
2024-03-09 12:44 Henri Gasc
2023-06-26 19:13 Henri Gasc
2023-04-24 21:22 Henri Gasc
2023-04-22 16:54 Henri Gasc
2023-04-18 12:02 Henri Gasc
2023-04-15 19:41 Henri Gasc
2023-04-07 7:34 Rui Huang
2023-01-13 7:35 Rui Huang
2023-01-10 10:35 Henri Gasc
2022-09-08 4:14 Rui Huang
2022-09-08 4:14 Rui Huang
2022-09-08 4:14 Rui Huang
2022-09-06 3:36 Rui Huang
2022-08-20 11:42 Rui Huang
2022-04-30 3:40 Alessandro Barbieri
2021-10-05 20:50 Alessandro Barbieri
2021-07-09 10:38 Alessandro Barbieri
2021-07-05 21:09 Alessandro Barbieri
2021-07-05 0:43 Alessandro Barbieri
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.tastytea@gentoo \
--to=gentoo@tastytea.de \
--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