From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C04D158089 for ; Fri, 29 Sep 2023 13:27:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C75F12BC0DC; Fri, 29 Sep 2023 13:27:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A073A2BC0B8 for ; Fri, 29 Sep 2023 13:27:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D41BA335C8E for ; Fri, 29 Sep 2023 13:27:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67AF31124 for ; Fri, 29 Sep 2023 13:27:01 +0000 (UTC) From: "Remigiusz Micielski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Remigiusz Micielski" Message-ID: <1695994005.e487bbdcc9cc77184afdd2bd3ef4ec2d3ac58b01.remigiusz.micielski@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild X-VCS-Directories: gui-libs/xdg-desktop-portal-hyprland/ X-VCS-Committer: remigiusz.micielski X-VCS-Committer-Name: Remigiusz Micielski X-VCS-Revision: e487bbdcc9cc77184afdd2bd3ef4ec2d3ac58b01 X-VCS-Branch: dev Date: Fri, 29 Sep 2023 13:27:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a23f95ea-26c4-4bfb-bbad-42321b55708a X-Archives-Hash: ea6e39cc80761e6d14fbbf14cc195156 commit: e487bbdcc9cc77184afdd2bd3ef4ec2d3ac58b01 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Sep 29 13:26:45 2023 +0000 Commit: Remigiusz Micielski gmail com> CommitDate: Fri Sep 29 13:26:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e487bbdc gui-libs/xdg-desktop-portal-hyprland: update 9999 Signed-off-by: Remigiusz Micielski purelymail.com> .../xdg-desktop-portal-hyprland-9999.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild index 62aa1bd3e5..22f9cd8cc1 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild @@ -49,21 +49,20 @@ BDEPEND=" >=dev-libs/wayland-protocols-1.24 dev-libs/hyprland-protocols virtual/pkgconfig + || ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* ) " pkg_setup() { [[ ${MERGE_TYPE} == binary ]] && return - if tc-is-gcc; then - STDLIBVER=$(echo '#include ' | $(tc-getCXX) -x c++ -dM -E - | \ - grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/') - - if [[ ${STDLIBVER} -lt 13 ]]; then - die "XDPH requires >=sys-devel/gcc-13.0.0 to build" - fi - else - die "XDPH 1.1.0 won't build with clang.\ - See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81"; + if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then + eerror "XDPH needs >=gcc-13 or >=clang-17 to compile." + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile XDPH!" + elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then + eerror "XDPH needs >=gcc-13 or >=clang-17 to compile." + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile XDPH!" fi }