commit:     2109dd4f59eb78992cae449fe6876fb0ec3a2c4c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  4 23:26:25 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  4 23:29:21 2026 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2109dd4f

kde-plasma/plasma-vault: Make app-crypt/gocryptfs exclusive RDEPEND

Dropping deprecated CryFS/EncFS backends with pkg_pretend ewarn for upgraders.

Bug: https://bugs.gentoo.org/968295
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/plasma-vault/plasma-vault-6.5.49.9999.ebuild | 13 ++++++++-----
 kde-plasma/plasma-vault/plasma-vault-9999.ebuild        | 13 ++++++++-----
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/kde-plasma/plasma-vault/plasma-vault-6.5.49.9999.ebuild 
b/kde-plasma/plasma-vault/plasma-vault-6.5.49.9999.ebuild
index a6a72ec6b9..7f35ea4acc 100644
--- a/kde-plasma/plasma-vault/plasma-vault-6.5.49.9999.ebuild
+++ b/kde-plasma/plasma-vault/plasma-vault-6.5.49.9999.ebuild
@@ -32,13 +32,16 @@ DEPEND="
        networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:6 )
 "
 RDEPEND="${DEPEND}
-       || (
-               >=app-crypt/gocryptfs-1.8
-               >=sys-fs/cryfs-0.9.9
-               >=sys-fs/encfs-1.9.2
-       )
+       >=app-crypt/gocryptfs-1.8
 "
 
+pkg_pretend() {
+       if [[ -n "${REPLACING_VERSIONS}" ]] && ! has_version 
app-crypt/gocryptfs; then
+               ewarn "${CATEGORY}/${PN} now depends on app-crypt/gocryptfs 
exclusively."
+               ewarn "If you still use deprecated CryFS or EncFS, you must put 
them in @world."
+       fi
+}
+
 src_configure() {
        # ODR violations (bug #909446, kde#471836)
        filter-lto

diff --git a/kde-plasma/plasma-vault/plasma-vault-9999.ebuild 
b/kde-plasma/plasma-vault/plasma-vault-9999.ebuild
index 51870dc49c..2779ba4e73 100644
--- a/kde-plasma/plasma-vault/plasma-vault-9999.ebuild
+++ b/kde-plasma/plasma-vault/plasma-vault-9999.ebuild
@@ -32,13 +32,16 @@ DEPEND="
        networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:6 )
 "
 RDEPEND="${DEPEND}
-       || (
-               >=app-crypt/gocryptfs-1.8
-               >=sys-fs/cryfs-0.9.9
-               >=sys-fs/encfs-1.9.2
-       )
+       >=app-crypt/gocryptfs-1.8
 "
 
+pkg_pretend() {
+       if [[ -n "${REPLACING_VERSIONS}" ]] && ! has_version 
app-crypt/gocryptfs; then
+               ewarn "${CATEGORY}/${PN} now depends on app-crypt/gocryptfs 
exclusively."
+               ewarn "If you still use deprecated CryFS or EncFS, you must put 
them in @world."
+       fi
+}
+
 src_configure() {
        # ODR violations (bug #909446, kde#471836)
        filter-lto

Reply via email to