kde-plasma/plasma-vault - 9999 (kde)

Search

Install

Install this version:

emerge -a =kde-plasma/plasma-vault-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =kde-plasma/plasma-vault-9999

Or alternatively:

emerge --autounmask-write -a =kde-plasma/plasma-vault-9999

Package Information

Description:
Plasma applet and services for creating encrypted vaults
Homepage:
https://cukic.co/2017/02/03/vaults-encryption-in-plasma/
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 6
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

KFMIN=9999
QTMIN=6.10.1
inherit ecm flag-o-matic plasma.kde.org xdg

DESCRIPTION="Plasma applet and services for creating encrypted vaults"
HOMEPAGE+=" https://cukic.co/2017/02/03/vaults-encryption-in-plasma/"

LICENSE="LGPL-3"
SLOT="6"
KEYWORDS=""
IUSE="networkmanager"

DEPEND="
	>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
	>=dev-qt/qtdeclarative-${QTMIN}:6
	>=kde-frameworks/kcodecs-${KFMIN}:6
	>=kde-frameworks/kconfig-${KFMIN}:6
	>=kde-frameworks/kcoreaddons-${KFMIN}:6
	>=kde-frameworks/kdbusaddons-${KFMIN}:6
	>=kde-frameworks/ki18n-${KFMIN}:6
	>=kde-frameworks/kio-${KFMIN}:6
	>=kde-frameworks/kitemmodels-${KFMIN}:6
	>=kde-frameworks/kservice-${KFMIN}:6
	>=kde-plasma/libksysguard-${KDE_CATV}:6
	>=kde-plasma/libplasma-${KDE_CATV}:6=
	>=kde-plasma/plasma-activities-${KDE_CATV}:6=
	networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:6 )
"
RDEPEND="${DEPEND}
	>=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

	local mycmakeargs=(
		$(cmake_use_find_package networkmanager KF6NetworkManagerQt)
	)

	ecm_src_configure
}

pkg_postinst() {
	xdg_pkg_postinst

	local has_deprecated_backend
	dropping_backend() {
		if has_version ${2}; then
			elog "${CATEGORY}/${PN} will drop support for ${1} in the future."
			elog "Migrate away from any ${2} vaults before that happens."
			elog
			has_deprecated_backend=1
		fi
	}

	dropping_backend CryFS sys-fs/cryfs
	dropping_backend EncFS sys-fs/encfs

	if [[ has_deprecated_backend ]]; then
		elog "The only supported backend going forward will be app-crypt/gocryptfs."
		elog
		elog "See also:"
		elog "https://invent.kde.org/plasma/plasma-vault/-/merge_requests/57"
		elog "https://invent.kde.org/plasma/plasma-vault/-/merge_requests/62"
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p kde-plasma/plasma-vault | euse -E <flag> -p kde-plasma/plasma-vault | euse -D <flag> -p kde-plasma/plasma-vault

Global/Standard Flags

Inherited Eclasses

ecm
xdg

Dependencies

DEPEND

	>=dev-qt/qtbase-6.10.1:6[dbus,gui,widgets]
	>=dev-qt/qtdeclarative-:6
	>=kde-frameworks/kcodecs-9999:6
	>=kde-frameworks/kconfig-:6
	>=kde-frameworks/kcoreaddons-:6
	>=kde-frameworks/kdbusaddons-:6
	>=kde-frameworks/ki18n-:6
	>=kde-frameworks/kio-:6
	>=kde-frameworks/kitemmodels-:6
	>=kde-frameworks/kservice-:6
	>=kde-plasma/libksysguard-:6
	>=kde-plasma/libplasma-:6=
	>=kde-plasma/plasma-activities-:6=
	networkmanager? ( >=kde-frameworks/networkmanager-qt-:6 )

RDEPEND

	>=dev-qt/qtbase-6.10.1:6[dbus,gui,widgets]
	>=dev-qt/qtdeclarative-:6
	>=kde-frameworks/kcodecs-9999:6
	>=kde-frameworks/kconfig-:6
	>=kde-frameworks/kcoreaddons-:6
	>=kde-frameworks/kdbusaddons-:6
	>=kde-frameworks/ki18n-:6
	>=kde-frameworks/kio-:6
	>=kde-frameworks/kitemmodels-:6
	>=kde-frameworks/kservice-:6
	>=kde-plasma/libksysguard-:6
	>=kde-plasma/libplasma-:6=
	>=kde-plasma/plasma-activities-:6=
	networkmanager? ( >=kde-frameworks/networkmanager-qt-:6 )

	>=app-crypt/gocryptfs-1.8