Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/glibmm: ChangeLog glibmm-2.42.0-r1.ebuild
Date: Fri, 06 Mar 2015 05:03:10
Message-Id: 20150306050305.6B3361323F@oystercatcher.gentoo.org
1 tetromino 15/03/06 05:03:05
2
3 Modified: ChangeLog
4 Added: glibmm-2.42.0-r1.ebuild
5 Log:
6 Add multilib support.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)
9
10 Revision Changes Path
11 1.230 dev-cpp/glibmm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?rev=1.230&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?rev=1.230&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?r1=1.229&r2=1.230
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v
20 retrieving revision 1.229
21 retrieving revision 1.230
22 diff -u -r1.229 -r1.230
23 --- ChangeLog 21 Dec 2014 12:18:54 -0000 1.229
24 +++ ChangeLog 6 Mar 2015 05:03:05 -0000 1.230
25 @@ -1,6 +1,12 @@
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.229 2014/12/21 12:18:54 eva Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.230 2015/03/06 05:03:05 tetromino Exp $
31 +
32 +*glibmm-2.42.0-r1 (06 Mar 2015)
33 +
34 + 06 Mar 2015; Alexandre Rostovtsev <tetromino@g.o>
35 + +glibmm-2.42.0-r1.ebuild:
36 + Add multilib support.
37
38 *glibmm-2.42.0 (21 Dec 2014)
39
40
41
42
43 1.1 dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: glibmm-2.42.0-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild,v 1.1 2015/03/06 05:03:05 tetromino Exp $
53
54 EAPI="5"
55 GCONF_DEBUG="no"
56
57 inherit gnome2 multilib-minimal
58
59 DESCRIPTION="C++ interface for glib2"
60 HOMEPAGE="http://www.gtkmm.org"
61
62 LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
63 SLOT="2"
64 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"
65 IUSE="doc debug examples test"
66
67 COMMON_DEPEND="
68 >=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
69 >=dev-libs/glib-2.42:2[${MULTILIB_USEDEP}]
70 "
71 RDEPEND="${COMMON_DEPEND}
72 abi_x86_32? (
73 !<=app-emulation/emul-linux-x86-gtkmmlibs-20140508
74 !app-emulation/emul-linux-x86-gtkmmlibs[-abi_x86_32(-)] )
75 "
76 DEPEND="${COMMON_DEPEND}
77 virtual/pkgconfig
78 doc? ( app-doc/doxygen )
79 "
80 # dev-cpp/mm-common needed for eautoreconf
81
82 src_prepare() {
83 if ! use test; then
84 # don't waste time building tests
85 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
86 -i Makefile.am Makefile.in || die "sed 1 failed"
87 fi
88
89 if ! use examples; then
90 # don't waste time building examples
91 sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
92 -i Makefile.am Makefile.in || die "sed 2 failed"
93 fi
94
95 # Test fails with IPv6 but not v4, upstream bug #720073
96 sed -e 's:giomm_tls_client/test::' \
97 -i tests/Makefile.{am,in} || die
98
99 gnome2_src_prepare
100 }
101
102 multilib_src_configure() {
103 ECONF_SOURCE="${S}" gnome2_src_configure \
104 $(use_enable debug debug-refcounting) \
105 $(multilib_native_use_enable doc documentation) \
106 --enable-deprecated-api
107 }
108
109 multilib_src_test() {
110 cd tests
111 default
112
113 for i in */test; do
114 ${i} || die "Running tests failed at ${i}"
115 done
116 }
117
118 multilib_src_install() {
119 gnome2_src_install
120 }
121
122 multilib_src_install_all() {
123 einstalldocs
124
125 if ! use doc && ! use examples; then
126 rm -fr "${ED}usr/share/doc/glibmm*"
127 fi
128
129 if use examples; then
130 find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
131 dodoc -r examples
132 fi
133 }