gui-apps/swayidle: [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:
parent
1041349085
commit
f13835cb87
|
@ -15,7 +15,6 @@
|
|||
</longdescription>
|
||||
<use>
|
||||
<flag name="elogind">Enable support for rootless session via elogind</flag>
|
||||
<flag name="fish-completion">Enable fish completion support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">swaywm/swayidle</remote-id>
|
||||
|
|
|
@ -18,7 +18,7 @@ fi
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind fish-completion +man systemd zsh-completion"
|
||||
IUSE="elogind +man systemd"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
|
@ -36,11 +36,12 @@ BDEPEND="
|
|||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dman-pages=$(usex man enabled disabled)
|
||||
$(meson_use fish-completion fish-completions)
|
||||
$(meson_use zsh-completion zsh-completions)
|
||||
"-Dfish-completions=true"
|
||||
"-Dzsh-completions=true"
|
||||
"-Dbash-completions=true"
|
||||
"-Dwerror=false"
|
||||
)
|
||||
|
||||
if use systemd; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|
||||
elif use elogind; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -18,7 +18,7 @@ fi
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind fish-completion +man systemd zsh-completion"
|
||||
IUSE="elogind +man systemd"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
|
@ -36,8 +36,8 @@ BDEPEND="
|
|||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dman-pages=$(usex man enabled disabled)
|
||||
$(meson_use fish-completion fish-completions)
|
||||
$(meson_use zsh-completion zsh-completions)
|
||||
"-Dfish-completions=true"
|
||||
"-Dzsh-completions=true"
|
||||
"-Dbash-completions=true"
|
||||
"-Dwerror=false"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue