diff options
Diffstat (limited to 'kde-apps/kwalletd/kwalletd-16.04.2.ebuild')
-rw-r--r-- | kde-apps/kwalletd/kwalletd-16.04.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kde-apps/kwalletd/kwalletd-16.04.2.ebuild b/kde-apps/kwalletd/kwalletd-16.04.2.ebuild new file mode 100644 index 000000000000..78846bf20e4e --- /dev/null +++ b/kde-apps/kwalletd/kwalletd-16.04.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KMNAME="kde-runtime" +inherit kde4-meta + +DESCRIPTION="KDE Password Server" +KEYWORDS="~amd64 ~x86" +IUSE="debug gpg" + +DEPEND=" + dev-libs/libgcrypt:0= + gpg? ( + app-crypt/gpgme + || ( $(add_kdeapps_dep gpgmepp) $(add_kdeapps_dep kdepimlibs) ) + ) +" +RDEPEND="${DEPEND}" + +RESTRICT="test" +# testpamopen crashes with a buffer overflow (__fortify_fail) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package gpg Gpgme) + $(cmake-utils_use_find_package gpg QGpgme) + ) + + kde4-base_src_configure +} + +pkg_postinst() { + if ! has_version "kde-apps/kwalletd-pam" || ! has_version "kde-apps/kwalletmanager:4" ; then + elog + elog "Install kde-apps/kwalletd-pam for auto-unlocking after account login." + elog "Install kde-apps/kwalletmanager:4 to manage your kwallet." + elog + fi +} |