diff options
author | Lucio Sauer <watermanpaint@posteo.net> | 2024-07-28 23:06:52 +0200 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2024-07-28 23:06:52 +0200 |
commit | 7f1048b0c59b677c7de988b1a7cdb39147d2737d (patch) | |
tree | af5d1dae5ed02d14624d157223c8b395c217b7a9 /app-admin/rbw | |
parent | app-admin/rbw: fix parser's argument group (diff) | |
download | guru-7f1048b0c59b677c7de988b1a7cdb39147d2737d.tar.gz guru-7f1048b0c59b677c7de988b1a7cdb39147d2737d.tar.bz2 guru-7f1048b0c59b677c7de988b1a7cdb39147d2737d.zip |
app-admin/rbw: advertise optional Wayland clipboard support
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'app-admin/rbw')
-rw-r--r-- | app-admin/rbw/rbw-1.11.1-r1.ebuild | 10 | ||||
-rw-r--r-- | app-admin/rbw/rbw-9999.ebuild | 10 |
2 files changed, 14 insertions, 6 deletions
diff --git a/app-admin/rbw/rbw-1.11.1-r1.ebuild b/app-admin/rbw/rbw-1.11.1-r1.ebuild index a1405bed3..8b12bc7e4 100644 --- a/app-admin/rbw/rbw-1.11.1-r1.ebuild +++ b/app-admin/rbw/rbw-1.11.1-r1.ebuild @@ -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 +} diff --git a/app-admin/rbw/rbw-9999.ebuild b/app-admin/rbw/rbw-9999.ebuild index d884f0d3b..2e93ac20b 100644 --- a/app-admin/rbw/rbw-9999.ebuild +++ b/app-admin/rbw/rbw-9999.ebuild @@ -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 +} |