Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/glibmm: glibmm-2.40.0.ebuild ChangeLog
Date: Sun, 27 Apr 2014 18:29:18
Message-Id: 20140427182914.97E3B2004B@flycatcher.gentoo.org
1 eva 14/04/27 18:29:14
2
3 Modified: ChangeLog
4 Added: glibmm-2.40.0.ebuild
5 Log:
6 Version bump for Gnome 3.12.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.219 dev-cpp/glibmm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?rev=1.219&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?rev=1.219&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?r1=1.218&r2=1.219
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v
20 retrieving revision 1.218
21 retrieving revision 1.219
22 diff -u -r1.218 -r1.219
23 --- ChangeLog 27 Apr 2014 10:31:46 -0000 1.218
24 +++ ChangeLog 27 Apr 2014 18:29:14 -0000 1.219
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-cpp/glibmm
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.218 2014/04/27 10:31:46 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.219 2014/04/27 18:29:14 eva Exp $
30 +
31 +*glibmm-2.40.0 (27 Apr 2014)
32 +
33 + 27 Apr 2014; Gilles Dartiguelongue <eva@g.o> +glibmm-2.40.0.ebuild:
34 + Version bump for Gnome 3.12.
35
36 *glibmm-2.38.2 (27 Apr 2014)
37
38
39
40
41 1.1 dev-cpp/glibmm/glibmm-2.40.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/glibmm-2.40.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/glibmm-2.40.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: glibmm-2.40.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.40.0.ebuild,v 1.1 2014/04/27 18:29:14 eva Exp $
51
52 EAPI="5"
53 GCONF_DEBUG="no"
54
55 inherit gnome2
56
57 DESCRIPTION="C++ interface for glib2"
58 HOMEPAGE="http://www.gtkmm.org"
59
60 LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
61 SLOT="2"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
63 IUSE="doc debug examples test"
64
65 RDEPEND="
66 >=dev-libs/libsigc++-2.2.10:2
67 >=dev-libs/glib-2.40:2
68 "
69 DEPEND="${RDEPEND}
70 virtual/pkgconfig
71 doc? ( app-doc/doxygen )
72 "
73 # dev-cpp/mm-common needed for eautoreconf
74
75 src_prepare() {
76 if ! use test; then
77 # don't waste time building tests
78 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
79 -i Makefile.am Makefile.in || die "sed 1 failed"
80 fi
81
82 if ! use examples; then
83 # don't waste time building examples
84 sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
85 -i Makefile.am Makefile.in || die "sed 2 failed"
86 fi
87
88 gnome2_src_prepare
89 }
90
91 src_configure() {
92 gnome2_src_configure \
93 $(use_enable debug debug-refcounting) \
94 $(use_enable doc documentation) \
95 --enable-deprecated-api
96 }
97
98 src_test() {
99 cd "${S}/tests/"
100 default
101
102 for i in */test; do
103 ${i} || die "Running tests failed at ${i}"
104 done
105 }
106
107 src_install() {
108 gnome2_src_install
109
110 if ! use doc && ! use examples; then
111 rm -fr "${ED}usr/share/doc/glibmm*"
112 fi
113
114 if use examples; then
115 find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
116 dodoc -r examples
117 fi
118 }