app-admin/vaultwarden: move +web dep to BDEPEND

* Recently it came to my light that vaulwarden-web-bin is NOT needed at
runtime with +web as it is statically built into the compiled binary by
rust. So webui will even work when you rm -rf
/usr/share/webapps/vaultwarden-web. Thus it it a BDEPEND not RDEPEND

Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
Rahil Bhimjiani
2025-04-03 23:27:48 +05:30
parent 20da68f0a0
commit eea3de13d3
2 changed files with 8 additions and 4 deletions

View File

@@ -36,11 +36,13 @@ RDEPEND="
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite:3 )
web? ( www-apps/vaultwarden-web-bin )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
BDEPEND="
virtual/pkgconfig
web? ( www-apps/vaultwarden-web-bin )
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
QA_PRESTRIPPED="usr/bin/${PN}"

View File

@@ -36,11 +36,13 @@ RDEPEND="
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite:3 )
web? ( www-apps/vaultwarden-web-bin )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
BDEPEND="
virtual/pkgconfig
web? ( www-apps/vaultwarden-web-bin )
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
QA_PRESTRIPPED="usr/bin/${PN}"