From ae1151592e11bce8a266a9e50bc23a92a432d541 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sun, 6 Feb 2011 17:00:01 +0000 Subject: Add ruby-glib2 as a dependency of rcairo (it uses pkg-config to look it up); also execute preparation once rather than once-per-target. (Portage version: 2.2.0_alpha20/cvs/Linux x86_64) --- dev-ruby/rcairo/ChangeLog | 7 ++++++- dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index e578595e103e..174d00e1688a 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rcairo # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.50 2011/02/02 20:02:07 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.51 2011/02/06 17:00:01 flameeyes Exp $ + + 06 Feb 2011; Diego E. Pettenò + rcairo-1.10.0-r2.ebuild: + Add ruby-glib2 as a dependency of rcairo (it uses pkg-config to look it up); + also execute preparation once rather than once-per-target. *rcairo-1.10.0-r2 (02 Feb 2011) diff --git a/dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild b/dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild index 17c8d9fd2417..6ea1c5f3d359 100644 --- a/dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild +++ b/dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild,v 1.1 2011/02/02 20:02:07 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.0-r2.ebuild,v 1.2 2011/02/06 17:00:01 flameeyes Exp $ EAPI=2 @@ -39,9 +39,11 @@ DEPEND="${DEPEND} >=x11-libs/cairo-1.2.0[svg] dev-util/pkgconfig" -ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )" +ruby_add_bdepend " + dev-ruby/ruby-glib2 + test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )" -each_ruby_prepare() { +all_ruby_prepare() { # Remove a failing test for the new recording surface. It's not # clear if this is a test failure or not, but we need to move on # with cairo 1.10. -- cgit v1.2.3-65-gdbad