From 51e1500e0f9937d24c57688edcf2a97599177b1d Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Tue, 25 Nov 2008 16:11:26 +0000 Subject: Adjust 1.8.4 deps for gtk-sharp-2.12.6 (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc4 x86_64) --- net-news/blam/ChangeLog | 5 ++++- net-news/blam/blam-1.8.4.ebuild | 15 +++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'net-news') diff --git a/net-news/blam/ChangeLog b/net-news/blam/ChangeLog index b18d2b42c521..a4c16b4a60c4 100644 --- a/net-news/blam/ChangeLog +++ b/net-news/blam/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-news/blam # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/blam/ChangeLog,v 1.46 2008/03/12 16:00:59 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/blam/ChangeLog,v 1.47 2008/11/25 16:11:26 loki_val Exp $ + + 25 Nov 2008; Peter Alfredsen blam-1.8.4.ebuild: + Adjust 1.8.4 deps for gtk-sharp-2.12.6 12 Mar 2008; Christian Heim metadata.xml: Removing Peter Johanson (latexer, #206688) from metadata.xml. diff --git a/net-news/blam/blam-1.8.4.ebuild b/net-news/blam/blam-1.8.4.ebuild index 5272601a8331..a3c2e3e6cc58 100644 --- a/net-news/blam/blam-1.8.4.ebuild +++ b/net-news/blam/blam-1.8.4.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/net-news/blam/blam-1.8.4.ebuild,v 1.4 2008/01/11 19:42:09 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/blam/blam-1.8.4.ebuild,v 1.5 2008/11/25 16:11:26 loki_val Exp $ inherit mono eutils autotools @@ -15,8 +15,8 @@ IUSE="" RDEPEND=">=dev-lang/mono-1.1.17 >=dev-dotnet/gtk-sharp-2.8.2 + || ( >=dev-dotnet/gtk-sharp-2.12.6 >=dev-dotnet/glade-sharp-2.8.2 ) >=dev-dotnet/gconf-sharp-2.8.2 - >=dev-dotnet/glade-sharp-2.8.2 >=dev-dotnet/gecko-sharp-0.11-r1 >=gnome-base/libgnomeui-2.2 >=gnome-base/gconf-2.4" @@ -28,6 +28,17 @@ DEPEND="${RDEPEND} # Disable parallel builds MAKEOPTS="$MAKEOPTS -j1" +pkg_setup() { + if has_version '>=dev-dotnet/gtk-sharp-2.12.6' + then + if ! built_with_use --missing false 'dev-dotnet/gtk-sharp' 'glade' + then + eerror "Please rebuild >=dev-dotnet/gtk-sharp-2.12.6 with USE='glade'" + die "Please rebuild >=dev-dotnet/gtk-sharp-2.12.6 with USE='glade'" + fi + fi +} + src_unpack() { unpack ${A} cd "${S}" -- cgit v1.2.3-65-gdbad