summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2008-01-07 05:05:31 +0000
committerOlivier Crête <tester@gentoo.org>2008-01-07 05:05:31 +0000
commit1dac0458718e59a57b1ac06bd64c8a04274c8414 (patch)
tree607d9936f80a6a6f24f4debf816d5b2626924f95 /x11-plugins/pidgin-hotkeys
parentAdd dep on gtk (and check that pidgin has it too) (diff)
downloadgentoo-2-1dac0458718e59a57b1ac06bd64c8a04274c8414.tar.gz
gentoo-2-1dac0458718e59a57b1ac06bd64c8a04274c8414.tar.bz2
gentoo-2-1dac0458718e59a57b1ac06bd64c8a04274c8414.zip
Add dep on gtk (and check that pidgin has it too)
(Portage version: 2.1.3.19)
Diffstat (limited to 'x11-plugins/pidgin-hotkeys')
-rw-r--r--x11-plugins/pidgin-hotkeys/ChangeLog7
-rw-r--r--x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild17
2 files changed, 19 insertions, 5 deletions
diff --git a/x11-plugins/pidgin-hotkeys/ChangeLog b/x11-plugins/pidgin-hotkeys/ChangeLog
index 79b50a1a8769..fa1d119bfeb4 100644
--- a/x11-plugins/pidgin-hotkeys/ChangeLog
+++ b/x11-plugins/pidgin-hotkeys/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/pidgin-hotkeys
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-hotkeys/ChangeLog,v 1.8 2007/10/26 11:45:00 seemant Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-hotkeys/ChangeLog,v 1.9 2008/01/07 05:05:31 tester Exp $
+
+ 07 Jan 2008; <tester@gentoo.org> pidgin-hotkeys-0.2.3.ebuild:
+ Add dep on gtk (and check that pidgin has it too)
26 Oct 2007; Seemant Kulleen <seemant@gentoo.org>
pidgin-hotkeys-0.2.3.ebuild:
diff --git a/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild b/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild
index c75f26283be9..6bbde3596542 100644
--- a/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild
+++ b/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.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/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild,v 1.8 2007/10/26 11:45:00 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild,v 1.9 2008/01/07 05:05:31 tester Exp $
DESCRIPTION="pidgin-hotkeys is a Pidgin plugin that allows you to define global hotkeys for various actions such as toggling buddy list, fetching queued messages, opening preferences or account dialog."
@@ -13,7 +13,18 @@ SLOT="0"
KEYWORDS="amd64 hppa ppc x86"
IUSE=""
-DEPEND="net-im/pidgin"
+RDEPEND="net-im/pidgin
+ >=x11-libs/gtk+-2"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ if ! built_with_use net-im/pidgin gtk; then
+ eerror "You need to compile net-im/pidgin with USE=gtk"
+ die "Missing gtk USE flag on net-im/pidgin"
+ fi
+}
src_compile() {
econf || die "econf failed"