app-admin/rbw: advertise optional Wayland clipboard support

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-07-28 23:06:52 +02:00
parent 76ce5ffa89
commit 7f1048b0c5
2 changed files with 14 additions and 6 deletions

View File

@@ -300,7 +300,7 @@ CRATES="
zeroize@1.8.1
"
inherit cargo shell-completion
inherit cargo optfeature shell-completion
DESCRIPTION="Unofficial Bitwarden CLI"
HOMEPAGE="https://git.tozt.net/rbw"
@@ -321,8 +321,6 @@ LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-DFS-2016"
LICENSE+=" openssl"
SLOT="0"
# copypasta crate provides wayland clipboard support via dlopen calls against
# libwayland-client.so
RDEPEND="app-crypt/pinentry"
BDEPEND=">=virtual/rust-1.74"
@@ -361,3 +359,9 @@ src_install() {
newzshcomp rbw.zsh _rbw
einstalldocs
}
pkg_postinst() {
# copypasta crate provides wayland clipboard support via dlopen calls against
# libwayland-client.so
optfeature "Wayland clipboard support" dev-libs/wayland
}

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit cargo shell-completion
inherit cargo optfeature shell-completion
DESCRIPTION="Unofficial Bitwarden CLI"
HOMEPAGE="https://git.tozt.net/rbw"
@@ -24,8 +24,6 @@ LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-DFS-2016"
LICENSE+=" openssl"
SLOT="0"
# copypasta crate provides wayland clipboard support via dlopen calls against
# libwayland-client.so
RDEPEND="app-crypt/pinentry"
BDEPEND=">=virtual/rust-1.74"
@@ -64,3 +62,9 @@ src_install() {
newzshcomp rbw.zsh _rbw
einstalldocs
}
pkg_postinst() {
# copypasta crate provides wayland clipboard support via dlopen calls against
# libwayland-client.so
optfeature "Wayland clipboard support" dev-libs/wayland
}