From 77546bc20a129e553d7051c8b875aa6d45c3ec21 Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Mon, 7 Jan 2008 05:14:09 +0000 Subject: Add dep on gtk (and check that pidgin has it too) Package-Manager: portage-2.1.3.19 --- x11-plugins/guifications/ChangeLog | 6 +++++- x11-plugins/guifications/guifications-2.14.ebuild | 17 ++++++++++++++--- x11-plugins/guifications/guifications-2.16.ebuild | 15 +++++++++++++-- 3 files changed, 32 insertions(+), 6 deletions(-) (limited to 'x11-plugins') diff --git a/x11-plugins/guifications/ChangeLog b/x11-plugins/guifications/ChangeLog index 12ffaf40212f..6ae3b3f7eb7a 100644 --- a/x11-plugins/guifications/ChangeLog +++ b/x11-plugins/guifications/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-plugins/guifications # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/guifications/ChangeLog,v 1.52 2008/01/03 19:31:44 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/guifications/ChangeLog,v 1.53 2008/01/07 05:14:09 tester Exp $ + + 07 Jan 2008; guifications-2.14.ebuild, + guifications-2.16.ebuild: + Add dep on gtk (and check that pidgin has it too) *guifications-2.16 (03 Jan 2008) diff --git a/x11-plugins/guifications/guifications-2.14.ebuild b/x11-plugins/guifications/guifications-2.14.ebuild index cea2bf039484..038e2d2eb1ac 100644 --- a/x11-plugins/guifications/guifications-2.14.ebuild +++ b/x11-plugins/guifications/guifications-2.14.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/guifications/guifications-2.14.ebuild,v 1.7 2007/12/08 16:33:47 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/guifications/guifications-2.14.ebuild,v 1.8 2008/01/07 05:14:09 tester Exp $ MY_PN=pidgin-${PN} MY_PV=${PV/_beta/beta} @@ -15,7 +15,18 @@ SLOT="0" KEYWORDS="amd64 hppa ppc sparc x86" IUSE="debug nls" -DEPEND="net-im/pidgin" +RDEPEND="net-im/pidgin + >=x11-libs/gtk+-2" + +DEPEND="${DEPEND} + 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 \ diff --git a/x11-plugins/guifications/guifications-2.16.ebuild b/x11-plugins/guifications/guifications-2.16.ebuild index ee9d551e1522..38313f185a34 100644 --- a/x11-plugins/guifications/guifications-2.16.ebuild +++ b/x11-plugins/guifications/guifications-2.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/guifications/guifications-2.16.ebuild,v 1.1 2008/01/03 19:31:44 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/guifications/guifications-2.16.ebuild,v 1.2 2008/01/07 05:14:09 tester Exp $ MY_PN=pidgin-${PN} MY_PV=${PV/_beta/beta} @@ -15,7 +15,18 @@ SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" IUSE="debug nls" -DEPEND="net-im/pidgin" +RDEPEND="net-im/pidgin + >=x11-libs/gtk+-2" + +DEPEND="${DEPEND} + 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 \ -- cgit v1.2.3-65-gdbad