commit:     c638628292d79e6a7612434e5e1caabcba13ef46
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Mar  4 11:17:18 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 12:26:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6386282

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 <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/19762
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 gui-apps/swappy/swappy-1.3.1.ebuild | 8 ++++++++
 gui-apps/swappy/swappy-9999.ebuild  | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/gui-apps/swappy/swappy-1.3.1.ebuild 
b/gui-apps/swappy/swappy-1.3.1.ebuild
index 7ece9d81f14..eea557b615f 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 7ece9d81f14..eea557b615f 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
 

Reply via email to