From: "Ivan Lloro" <ivan.lloro.boada@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/mayo/
Date: Tue, 2 Jul 2024 15:00:25 +0000 (UTC) [thread overview]
Message-ID: <1719932423.814f22bd9f106c56a68c48b4cf7a1546923b6c0a.ivan.lloro.boada@gentoo> (raw)
commit: 814f22bd9f106c56a68c48b4cf7a1546923b6c0a
Author: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Tue Jul 2 15:00:21 2024 +0000
Commit: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Tue Jul 2 15:00:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=814f22bd
*/*: Add warning only GCC 13 compiles (so far).
Closes: https://bugs.gentoo.org/935121
Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>
media-gfx/mayo/mayo-0.8.0.ebuild | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/media-gfx/mayo/mayo-0.8.0.ebuild b/media-gfx/mayo/mayo-0.8.0.ebuild
index c8b860801..8fe1a4d74 100644
--- a/media-gfx/mayo/mayo-0.8.0.ebuild
+++ b/media-gfx/mayo/mayo-0.8.0.ebuild
@@ -15,12 +15,13 @@ KEYWORDS="~amd64"
RDEPEND="
>=sci-libs/opencascade-7.7.0-r2
- <sci-libs/opencascade-7.7.1
+ <sci-libs/opencascade-7.8.0
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
>=media-libs/assimp-5.3.1
"
+BDEPEND="sys-devel/gcc:13"
DEPEND="${RDEPEND}"
@@ -28,6 +29,19 @@ PATCHES=(
"${FILESDIR}"/${P}-nogit.patch
)
+pkg_pretend() {
+ # https://bugs.gentoo.org/935121
+ if tc-is-gcc && ver_test $(gcc-version) -ne 13 ; then
+ ewarn "GCC 13 is not in use! Versions different to gcc-13 are known to fail to compile."
+ ewarn "That is so even when any gcc >= 9 should work according to upstream."
+ ewarn "See https://bugs.gentoo.org/935121"
+ elif tc-is-clang; then
+ ewarn "LLVM/Clang >= 6 should work according to upstream but it is untested."
+ ewarn "If compilation fails, gcc-13 is known to work."
+ ewarn "See https://bugs.gentoo.org/935121"
+ fi
+}
+
src_configure() {
eqmake5 "CASCADE_INC_DIR=/usr/include/opencascade" "CASCADE_LIB_DIR=/usr/$(get_libdir)/opencascade" "ASSIMP_INC_DIR=/usr/include/assimp" "ASSIMP_LIB_DIR=/usr/$(get_libdir)" mayo.pro
}
next reply other threads:[~2024-07-02 15:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 15:00 Ivan Lloro [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-17 8:09 [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/mayo/ Ivan Lloro
2024-12-17 7:27 Ivan Lloro
2024-10-25 18:41 Ivan Lloro
2024-10-25 15:02 Ivan Lloro
2024-10-24 10:32 Ivan Lloro
2024-08-05 13:44 Ivan Lloro
2024-07-11 17:12 Ivan Lloro
2024-07-08 15:35 Ivan Lloro
2024-07-04 13:01 [gentoo-commits] repo/proj/guru:master " David Roman
2024-07-04 12:57 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-06-29 12:02 Ivan Lloro
2024-06-28 9:14 Ivan Lloro
2024-06-21 14:37 Ivan Lloro
2024-06-21 14:15 Ivan Lloro
2024-06-21 8:00 Ivan Lloro
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=1719932423.814f22bd9f106c56a68c48b4cf7a1546923b6c0a.ivan.lloro.boada@gentoo \
--to=ivan.lloro.boada@gmail.com \
--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