# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit kde5 DESCRIPTION="KWallet PAM module to not enter password again" LICENSE="LGPL-2.1" KEYWORDS="~amd64 ~arm ~x86" IUSE="" DEPEND=" dev-libs/libgcrypt:0= virtual/pam " RDEPEND="${DEPEND} net-misc/socat " PATCHES=( "${FILESDIR}"/${PN}-5.11.5-CVE-2018-10380-{1,2,3}.patch ) src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)" -DKWALLET4=0 ) kde5_src_configure } pkg_postinst() { kde5_pkg_postinst elog "This package enables auto-unlocking of kde-frameworks/kwallet:5." elog "See also: https://wiki.gentoo.org/wiki/KDE#KWallet_auto-unlocking" }