commit:     eea3de13d327b280262097254d35f209b5b13027
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Thu Apr  3 17:57:48 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Apr  3 17:57:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eea3de13

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 <AT> rahil.rocks>

 app-admin/vaultwarden/vaultwarden-1.33.2.ebuild | 6 ++++--
 app-admin/vaultwarden/vaultwarden-9999.ebuild   | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-admin/vaultwarden/vaultwarden-1.33.2.ebuild 
b/app-admin/vaultwarden/vaultwarden-1.33.2.ebuild
index 1289338c5..804c67201 100644
--- a/app-admin/vaultwarden/vaultwarden-1.33.2.ebuild
+++ b/app-admin/vaultwarden/vaultwarden-1.33.2.ebuild
@@ -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}"

diff --git a/app-admin/vaultwarden/vaultwarden-9999.ebuild 
b/app-admin/vaultwarden/vaultwarden-9999.ebuild
index 1289338c5..804c67201 100644
--- a/app-admin/vaultwarden/vaultwarden-9999.ebuild
+++ b/app-admin/vaultwarden/vaultwarden-9999.ebuild
@@ -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}"

Reply via email to