From c638628292d79e6a7612434e5e1caabcba13ef46 Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Thu, 4 Mar 2021 06:17:18 -0500 Subject: gui-apps/swappy: fix werror for meson build Closes: https://bugs.gentoo.org/774162 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Aisha Tammy Closes: https://github.com/gentoo/gentoo/pull/19762 Signed-off-by: Joonas Niilola --- gui-apps/swappy/swappy-1.3.1.ebuild | 8 ++++++++ gui-apps/swappy/swappy-9999.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'gui-apps') diff --git a/gui-apps/swappy/swappy-1.3.1.ebuild b/gui-apps/swappy/swappy-1.3.1.ebuild index 7ece9d81f145..eea557b615f4 100644 --- a/gui-apps/swappy/swappy-1.3.1.ebuild +++ b/gui-apps/swappy/swappy-1.3.1.ebuild @@ -40,6 +40,14 @@ src_prepare() { sed -i -e 's/Utility;Graphics;Annotation;/Utility;Graphics;/' src/po/swappy.desktop.in || die "Sed failed!" } +src_configure() { + local emesonargs=( + -Dwerror=false + -Dman-pages=enabled + ) + meson_src_configure +} + pkg_postinst() { xdg_pkg_postinst diff --git a/gui-apps/swappy/swappy-9999.ebuild b/gui-apps/swappy/swappy-9999.ebuild index 7ece9d81f145..eea557b615f4 100644 --- a/gui-apps/swappy/swappy-9999.ebuild +++ b/gui-apps/swappy/swappy-9999.ebuild @@ -40,6 +40,14 @@ src_prepare() { sed -i -e 's/Utility;Graphics;Annotation;/Utility;Graphics;/' src/po/swappy.desktop.in || die "Sed failed!" } +src_configure() { + local emesonargs=( + -Dwerror=false + -Dman-pages=enabled + ) + meson_src_configure +} + pkg_postinst() { xdg_pkg_postinst -- cgit v1.2.3-65-gdbad