mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
gui-wm/hyprland: update failure for GCC12
no revbump since -r1 was merged yet Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -69,12 +69,17 @@ src_unpack() {
|
|||||||
mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
|
mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_prepare() {
|
||||||
if ! (tc-is-gcc && [[ $(gcc-major-version) -ge 12 ]] && [[ $(gcc-minor-version) -ge 1 ]]) \
|
STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
|
||||||
&& ! (tc-is-clang && [[ $(clang-major-version) -ge 15 ]]); then
|
grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
|
||||||
die "Hyprland requires >=sys-devel/gcc-12.1.0 or >=sys-devel/clang-15.0.0 to build"
|
if ! [[ ${STDLIBVER} -ge 12 ]]; then
|
||||||
|
die "Hyprland requires >=sys-devel/gcc-12.1.0 to build"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
local emesonargs=(
|
local emesonargs=(
|
||||||
$(meson_feature X xwayland)
|
$(meson_feature X xwayland)
|
||||||
$(meson_feature systemd)
|
$(meson_feature systemd)
|
||||||
|
|||||||
Reference in New Issue
Block a user