diff options
author | 2008-01-06 21:18:52 +0000 | |
---|---|---|
committer | 2008-01-06 21:18:52 +0000 | |
commit | ee17dbcb6cadbae98b107e6fd18410c83f96d210 (patch) | |
tree | 6d53085ad9778124ae93ac95eacebbc523ff4584 /kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild | |
parent | Latest version fixes amd64 issue and range problems. (diff) | |
download | gentoo-2-ee17dbcb6cadbae98b107e6fd18410c83f96d210.tar.gz gentoo-2-ee17dbcb6cadbae98b107e6fd18410c83f96d210.tar.bz2 gentoo-2-ee17dbcb6cadbae98b107e6fd18410c83f96d210.zip |
Added a check for app-crypt/pinentry having been built with either the gtk or qt3 USE flag as otherwise essential functionality of kgpg won't be accessible. Fixes bug 204139.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild')
-rw-r--r-- | kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild b/kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild index 43a2fffd87fd..8591cba0662b 100644 --- a/kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild +++ b/kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild,v 1.1 2007/11/20 13:46:02 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.5.8-r1.ebuild,v 1.2 2008/01/06 21:18:52 philantrop Exp $ inherit kde-dist eutils @@ -20,7 +20,8 @@ BOTH_DEPEND="~kde-base/kdebase-${PV} x11-libs/libXtst" RDEPEND="${BOTH_DEPEND} - crypt? ( app-crypt/gnupg )" + crypt? ( app-crypt/gnupg + app-crypt/pinentry )" DEPEND="${BOTH_DEPEND} xscreensaver? ( x11-libs/libXScrnSaver ) @@ -34,6 +35,16 @@ PATCHES="${FILESDIR}/superkaramba-3.5.7-network_sensor.patch EPATCH_EXCLUDE="klaptopdaemon-3.5-suspend2+xsession-errors.diff klaptopdaemon-3.5-lock-and-hibernate.diff" +pkg_setup() { + if use crypt && ! built_with_use app-crypt/pinentry gtk && ! built_with_use app-crypt/pinentry qt3 ; then + eerror "kgpg needs app-crypt/pinentry built with either the gtk or qt3 USE flag." + eerror "Please enable either USE flag and re-install app-crypt/pinentry." + die "app-crypt/pinentry needs to be rebuilt with gtk or qt3 support." + fi + + kde_pkg_setup +} + src_unpack() { kde_src_unpack |