gui-wm/sway: [QA] unconditionally install completion files

QA policy [0] says that we don't conditionalise installation of
small files. It's a wasteful rebuild and inconsistent across packages
for when users desire completions to be available.

[0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2021-07-25 04:04:12 +01:00
parent f6cfe4cff3
commit a5742c8160
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
3 changed files with 21 additions and 21 deletions

View File

@ -20,7 +20,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag seatd systemd tray wallpapers X zsh-completion"
IUSE="elogind +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag seatd systemd tray wallpapers X"
REQUIRED_USE="?? ( elogind systemd )
tray? ( || ( elogind seatd systemd ) )"
@ -83,16 +83,16 @@ src_configure() {
-Dtray=$(usex tray enabled disabled)
-Dxwayland=$(usex X enabled disabled)
$(meson_use wallpapers default-wallpaper)
$(meson_use fish-completion fish-completions)
$(meson_use zsh-completion zsh-completions)
"-Dbash-completions=true"
"-Dwerror=false"
-Dfish-completions=true
-Dzsh-completions=true
-Dbash-completions=true
-Dwerror=false
)
if use swaybar; then
emesonargs+=("-Dgdk-pixbuf=enabled")
emesonargs+=( -Dgdk-pixbuf=enabled )
else
emesonargs+=("-Dgdk-pixbuf=disabled")
emesonargs+=( -Dgdk-pixbuf=disabled )
fi
meson_src_configure

View File

@ -20,7 +20,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X zsh-completion"
IUSE="+man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X"
DEPEND="
>=dev-libs/json-c-0.13:0=
@ -80,16 +80,16 @@ src_configure() {
-Dtray=$(usex tray enabled disabled)
-Dxwayland=$(usex X enabled disabled)
$(meson_use wallpapers default-wallpaper)
$(meson_use fish-completion fish-completions)
$(meson_use zsh-completion zsh-completions)
"-Dbash-completions=true"
"-Dwerror=false"
-Dfish-completions=true
-Dzsh-completions=true
-Dbash-completions=true
-Dwerror=false
)
if use swaybar; then
emesonargs+=("-Dgdk-pixbuf=enabled")
emesonargs+=( -Dgdk-pixbuf=enabled )
else
emesonargs+=("-Dgdk-pixbuf=disabled")
emesonargs+=( -Dgdk-pixbuf=disabled )
fi
meson_src_configure

View File

@ -20,7 +20,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X zsh-completion"
IUSE="+man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X"
DEPEND="
>=dev-libs/json-c-0.13:0=
@ -80,16 +80,16 @@ src_configure() {
-Dtray=$(usex tray enabled disabled)
-Dxwayland=$(usex X enabled disabled)
$(meson_use wallpapers default-wallpaper)
$(meson_use fish-completion fish-completions)
$(meson_use zsh-completion zsh-completions)
"-Dbash-completions=true"
"-Dwerror=false"
-Dfish-completions=true
-Dzsh-completions=true
-Dbash-completions=true
-Dwerror=false
)
if use swaybar; then
emesonargs+=("-Dgdk-pixbuf=enabled")
emesonargs+=( -Dgdk-pixbuf=enabled )
else
emesonargs+=("-Dgdk-pixbuf=disabled")
emesonargs+=( -Dgdk-pixbuf=disabled )
fi
meson_src_configure