gui-wm/sway: (live) depend on stable scdoc

For a long time already, scdoc is considered feature complete, and
no apparent changes are expected upstream, so we can also assume no
"new features" will be used by sway.
By simplifying the required package, we enable users to use
sway-9999 without scdoc-9999.

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-05-04 21:20:02 +03:00
parent 1f71fd91c7
commit 5cd7b90214

View File

@@ -64,12 +64,8 @@ BDEPEND="
>=dev-libs/wayland-protocols-1.24
>=dev-build/meson-0.60.0
virtual/pkgconfig
man? ( >=app-text/scdoc-1.11.3 )
"
if [[ ${PV} == 9999 ]]; then
BDEPEND+="man? ( ~app-text/scdoc-9999 )"
else
BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
fi
FILECAPS=(
cap_sys_nice usr/bin/${PN} # bug 919298