From bf8a00a88eb1e25357df477ad3836b84026efa36 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 17 May 2022 05:54:02 +0000 Subject: [PATCH] gui-libs/xdg-desktop-portal-wlr: [QA] drop implicit -Dwerror=false for meson ebuilds Since f7408ada0c4655827e7bea46c57d7af1b9004433, it's always set for Meson builds, so we don't need to repeat it in ebuilds. Signed-off-by: Sam James --- .../xdg-desktop-portal-wlr-0.4.0.ebuild | 9 +-------- .../xdg-desktop-portal-wlr-0.5.0.ebuild | 7 +++---- .../xdg-desktop-portal-wlr-9999.ebuild | 7 +++---- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.4.0.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.4.0.ebuild index 8c3cb07c2bc81..4fa2c0038d6a8 100644 --- a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.4.0.ebuild +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,10 +38,3 @@ BDEPEND=" dev-libs/inih:0 virtual/pkgconfig " - -src_configure() { - local emesonargs=( - "-Dwerror=false" - ) - meson_src_configure -} diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild index f0ce88fcabfe5..66a4144bb6763 100644 --- a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,9 +41,8 @@ BDEPEND=" " src_configure() { - local emesonargs=( - "-Dwerror=false" - ) + local emesonargs=() + if use systemd; then emesonargs+=(-Dsd-bus-provider=libsystemd) elif use elogind; then diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild index f0ce88fcabfe5..66a4144bb6763 100644 --- a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,9 +41,8 @@ BDEPEND=" " src_configure() { - local emesonargs=( - "-Dwerror=false" - ) + local emesonargs=() + if use systemd; then emesonargs+=(-Dsd-bus-provider=libsystemd) elif use elogind; then