Skip to content

Commit

Permalink
gui-apps/swappy: fix werror for meson build
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/774162
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Aisha Tammy <[email protected]>
Closes: gentoo#19762
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
epsilon-0 authored and juippis committed Mar 4, 2021
1 parent a293f3c commit c638628
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gui-apps/swappy/swappy-1.3.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 8 additions & 0 deletions gui-apps/swappy/swappy-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c638628

Please sign in to comment.