Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-cpp/glibmm/
Date: Tue, 05 Apr 2011 12:52:54
Message-Id: 952c0419655707a2abc5a9f27bc26b1792d1965c.eva@gentoo
1 commit: 952c0419655707a2abc5a9f27bc26b1792d1965c
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 5 10:55:10 2011 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 5 12:36:05 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=952c0419
7
8 dev-cpp/glibmm: QAed
9
10 * Let ebuild handle debug itself
11 * Split phases appropriatly
12 * Use appropriate slots
13
14 (Portage version: 2.2.0_alpha29/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key C6085806)
15
16 ---
17 dev-cpp/glibmm/glibmm-2.27.99.2.ebuild | 16 ++++++++++------
18 1 files changed, 10 insertions(+), 6 deletions(-)
19
20 diff --git a/dev-cpp/glibmm/glibmm-2.27.99.2.ebuild b/dev-cpp/glibmm/glibmm-2.27.99.2.ebuild
21 index e403323..bc9a820 100644
22 --- a/dev-cpp/glibmm/glibmm-2.27.99.2.ebuild
23 +++ b/dev-cpp/glibmm/glibmm-2.27.99.2.ebuild
24 @@ -3,6 +3,8 @@
25 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.24.2-r1.ebuild,v 1.5 2011/01/04 18:10:11 armin76 Exp $
26
27 EAPI="3"
28 +GCONF_DEBUG="no"
29 +
30 inherit gnome2
31
32 DESCRIPTION="C++ interface for glib2"
33 @@ -11,22 +13,24 @@ HOMEPAGE="http://www.gtkmm.org"
34 LICENSE="|| ( LGPL-2.1 GPL-2 )"
35 SLOT="2"
36 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
37 -IUSE="doc examples test"
38 +IUSE="doc debug examples test"
39
40 -RDEPEND=">=dev-libs/libsigc++-2.2
41 - >=dev-libs/glib-2.28.0"
42 +RDEPEND=">=dev-libs/libsigc++-2.2:2
43 + >=dev-libs/glib-2.28:2"
44 DEPEND="${RDEPEND}
45 dev-util/pkgconfig
46 doc? ( app-doc/doxygen )"
47
48 -DOCS="AUTHORS ChangeLog NEWS README"
49 -
50 -src_prepare() {
51 +pkg_setup() {
52 + DOCS="AUTHORS ChangeLog NEWS README"
53 G2CONF="${G2CONF}
54 + $(use_enable debug debug-refcounting)
55 $(use_enable doc documentation)
56 --disable-schemas-compile
57 --enable-deprecated-api"
58 +}
59
60 +src_prepare() {
61 if ! use test; then
62 # don't waste time building tests
63 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \