public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/hyprland/
Date: Mon,  5 Jun 2023 05:15:34 +0000 (UTC)	[thread overview]
Message-ID: <1685941970.61c03dd0e0d108c62376e97cf587ddbb8d43cda2.sam@gentoo> (raw)

commit:     61c03dd0e0d108c62376e97cf587ddbb8d43cda2
Author:     Mia Ksenia <koishi <AT> koishi <DOT> de>
AuthorDate: Thu May 18 17:35:04 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  5 05:12:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c03dd0

gui-wm/hyprland: Added check for LLVM16

Signed-off-by: Mia Ksenia <koishi <AT> koishi.de>
Closes: https://github.com/gentoo/gentoo/pull/31084
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-wm/hyprland/hyprland-0.25.0.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gui-wm/hyprland/hyprland-0.25.0.ebuild b/gui-wm/hyprland/hyprland-0.25.0.ebuild
index bf62573979c1..aff592df7d8c 100644
--- a/gui-wm/hyprland/hyprland-0.25.0.ebuild
+++ b/gui-wm/hyprland/hyprland-0.25.0.ebuild
@@ -54,10 +54,14 @@ BDEPEND="
 "
 
 src_prepare() {
-	STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
+	if [[ $(tc-is-gcc) ]]; then
+	   STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
 					grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
-	if ! [[ ${STDLIBVER} -ge 12 ]]; then
-		die "Hyprland requires >=sys-devel/gcc-12.1.0 to build"
+	   if ! [[ ${STDLIBVER} -ge 12 ]]; then
+		   die "Hyprland requires >=sys-devel/gcc-12.1.0 to build"
+	   fi
+	elif [[ $(clang-major-version) -lt 16 ]]; then
+		die "Hyprland requires >=sys-devel/clang-16.0.3 to build";
 	fi
 
 	if use video_cards_nvidia; then


             reply	other threads:[~2023-06-05  5:15 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05  5:15 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-09 20:44 [gentoo-commits] repo/gentoo:master commit in: gui-wm/hyprland/ Sam James
2025-08-13 23:14 Yixun Lan
2025-08-13 23:14 Yixun Lan
2025-08-07  0:07 Yixun Lan
2025-06-23  9:47 Sam James
2025-05-30  6:30 Yixun Lan
2025-05-20 23:52 Yixun Lan
2025-05-17 14:17 Sam James
2025-05-17 14:17 Sam James
2025-05-17 14:17 Sam James
2025-04-04  9:34 Yixun Lan
2025-04-01  2:32 Yixun Lan
2025-04-01  2:05 Yixun Lan
2025-03-08 20:26 Sam James
2024-12-29  0:11 Yixun Lan
2024-12-29  0:11 Yixun Lan
2024-12-29  0:11 Yixun Lan
2024-12-27  7:02 Sam James
2024-12-27  0:50 Yixun Lan
2024-12-27  0:50 Yixun Lan
2024-12-10 15:22 Sam James
2024-11-20 21:30 Yixun Lan
2024-11-19  0:12 Yixun Lan
2024-11-17 10:15 Yixun Lan
2024-11-17 10:15 Yixun Lan
2024-10-17 11:40 Yixun Lan
2024-10-17 11:40 Yixun Lan
2024-09-26 12:49 Yixun Lan
2024-09-11  2:34 Yixun Lan
2024-09-11  2:34 Yixun Lan
2024-09-10 15:46 Jakov Smolić
2024-08-11  2:44 Yixun Lan
2024-08-11  2:44 Yixun Lan
2024-08-11  2:44 Yixun Lan
2024-08-11  2:44 Yixun Lan
2024-08-09  3:18 Yixun Lan
2024-08-09  3:18 Yixun Lan
2024-08-09  3:18 Yixun Lan
2024-08-09  3:18 Yixun Lan
2024-08-09  3:18 Yixun Lan
2024-07-27 17:16 Arthur Zamarin
2024-07-25  0:06 Yixun Lan
2024-07-01 22:40 Yixun Lan
2024-07-01 22:40 Yixun Lan
2024-06-30 15:05 James Le Cuirot
2024-06-25  8:18 Yixun Lan
2024-05-28 14:08 Yixun Lan
2024-05-23 16:10 Matt Turner
2024-05-15  8:04 Yixun Lan
2024-05-15  8:04 Yixun Lan
2024-05-13 18:00 Arthur Zamarin
2024-05-06  2:21 Yixun Lan
2024-04-27 11:09 Yixun Lan
2024-04-16 22:09 Yixun Lan
2024-04-16 22:09 Yixun Lan
2024-04-16 22:09 Yixun Lan
2024-04-15 23:51 Yixun Lan
2024-04-15 23:51 Yixun Lan
2024-04-13  5:45 Joonas Niilola
2024-04-08 12:56 Yixun Lan
2024-04-02 11:44 Yixun Lan
2024-03-17  9:10 Yixun Lan
2024-03-16 23:51 Yixun Lan
2024-03-16 23:51 Yixun Lan
2024-03-02  1:23 Yixun Lan
2024-03-01  1:08 Yixun Lan
2024-03-01  1:08 Yixun Lan
2024-02-23  0:50 Yixun Lan
2024-02-23  0:50 Yixun Lan
2024-02-23  0:50 Yixun Lan
2024-02-18  8:57 Yixun Lan
2024-02-18  8:57 Yixun Lan
2024-02-18  0:15 Sam James
2024-01-05 19:42 Jakov Smolić
2024-01-05 10:36 Sam James
2024-01-03 13:45 Yixun Lan
2024-01-03 13:45 Yixun Lan
2024-01-03 13:45 Yixun Lan
2023-12-20 15:19 Sam James
2023-12-13 12:27 Yixun Lan
2023-12-12  8:14 Yixun Lan
2023-12-12  8:14 Yixun Lan
2023-11-26  7:49 Yixun Lan
2023-11-26  7:49 Yixun Lan
2023-11-12 23:56 Yixun Lan
2023-11-12 23:29 Yixun Lan
2023-11-12 23:29 Yixun Lan
2023-11-12  6:39 Sam James
2023-11-12  0:02 Yixun Lan
2023-11-11 11:23 Yixun Lan
2023-11-11 10:28 Yixun Lan
2023-11-11 10:28 Yixun Lan
2023-11-04 19:48 Sam James
2023-11-04 19:48 Sam James
2023-10-27  3:20 Sam James
2023-10-01  7:47 Sam James
2023-10-01  7:47 Sam James
2023-09-18  9:50 Sam James
2023-09-18  9:50 Sam James
2023-07-27  3:10 Sam James
2023-07-23  1:52 Sam James
2023-07-19 15:10 Sam James
2023-07-19 15:10 Sam James
2023-06-11  8:22 Joonas Niilola
2023-06-05  8:05 Sam James
2023-06-05  5:32 Sam James
2023-05-29 14:21 Sam James

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=1685941970.61c03dd0e0d108c62376e97cf587ddbb8d43cda2.sam@gentoo \
    --to=sam@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