Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/glibmm/
Date: Mon, 20 Aug 2018 06:12:52
Message-Id: 1534745498.6c50f5a936318aa51ece069011ebdbdba446d51d.leio@gentoo
1 commit: 6c50f5a936318aa51ece069011ebdbdba446d51d
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 20 06:07:13 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 20 06:11:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c50f5a9
7
8 dev-cpp/glibmm: bump to 2.56.0
9
10 Bug: https://bugs.gentoo.org/657562
11 Package-Manager: Portage-2.3.47, Repoman-2.3.10
12
13 dev-cpp/glibmm/Manifest | 1 +
14 dev-cpp/glibmm/glibmm-2.56.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 66 insertions(+)
16
17 diff --git a/dev-cpp/glibmm/Manifest b/dev-cpp/glibmm/Manifest
18 index aef4ee6c942..49475c5066a 100644
19 --- a/dev-cpp/glibmm/Manifest
20 +++ b/dev-cpp/glibmm/Manifest
21 @@ -1,3 +1,4 @@
22 DIST glibmm-2.50.1.tar.xz 6444576 BLAKE2B dbbdb79d8de9510f9bec770523ca7f4c93d287cbd9890b2fbc08712f6a2815186ee792f6339820a14aa9e4d49c9d1735c6c6651994cc4e03549f0d96b33f87ad SHA512 4f25c75c1628ca2f4db1c29cebc63187d372603066b06aa6a66c6da792f9e02cb4a413e41f058a81e2d5a2b38d625de13df76115b278f010ce2fc493fe6e6bbb
23 DIST glibmm-2.52.1.tar.xz 6451164 BLAKE2B 740178b51a2263ecc4778833fa6f2fd3913cdfc4e93b1a732a1b0ec9d43eb4ed60ab6bea48e02081d75a3ec1f98a149ebff47ced54dcce07e7ae011b2d20452d SHA512 702158762cb28972b315ab98dc00a62e532bda08b6e76dc2a2556e8cb381c2021290891887a4af2fbff5a62bab4d50581be73037dc8e0dc47d5febd6cbeb7bda
24 DIST glibmm-2.54.1.tar.xz 6837384 BLAKE2B 98e4acb5b80786a27195bea43cc425a45219078ef839e97c60c9e3f52b3a0b3c928e19469d679529b5091d8ac1953d4f315ea75618c3fcc8f33d15f6565b5783 SHA512 94f2a4d6972684e25e38ff2e6bcfc1e9c5e4d096856d3419320c14166e27e26b1ad69be434337e9b70c23842989988113521aae7a800ef2f29e81f1ae6c25a13
25 +DIST glibmm-2.56.0.tar.xz 6859520 BLAKE2B 8d7f0120de211002d587e6ec0d3750dcdce60abae6506395b318be876d5ed680b1451920063f06d6d9655137d50482a9ba936caa0f6da127bb3855e43b4d877f SHA512 65e577009019e30e340ae5fe6e4c854e5a75551b2eb83ad85403d73eb4e77879783162d4c3c354bc37be0be842f0ddffc1977021a5e0c32985fb596d86929c08
26
27 diff --git a/dev-cpp/glibmm/glibmm-2.56.0.ebuild b/dev-cpp/glibmm/glibmm-2.56.0.ebuild
28 new file mode 100644
29 index 00000000000..f1bd461d832
30 --- /dev/null
31 +++ b/dev-cpp/glibmm/glibmm-2.56.0.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit gnome2 multilib-minimal
38 +
39 +DESCRIPTION="C++ interface for glib2"
40 +HOMEPAGE="https://www.gtkmm.org"
41 +
42 +LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
43 +SLOT="2"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
45 +IUSE="doc debug test"
46 +
47 +RDEPEND="
48 + >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
49 + >=dev-libs/glib-2.55.1:2[${MULTILIB_USEDEP}]
50 +"
51 +DEPEND="${RDEPEND}
52 + virtual/pkgconfig
53 + doc? ( app-doc/doxygen )
54 +"
55 +# dev-cpp/mm-common needed for eautoreconf
56 +
57 +src_prepare() {
58 + if ! use test; then
59 + # don't waste time building tests
60 + sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
61 + -i Makefile.am Makefile.in || die "sed 1 failed"
62 + fi
63 +
64 + # don't build examples - we want to install example sources, not binaries
65 + sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
66 + -i Makefile.am Makefile.in || die "sed 2 failed"
67 +
68 + gnome2_src_prepare
69 +}
70 +
71 +multilib_src_configure() {
72 + ECONF_SOURCE="${S}" gnome2_src_configure \
73 + $(use_enable debug debug-refcounting) \
74 + $(multilib_native_use_enable doc documentation) \
75 + --enable-deprecated-api
76 +}
77 +
78 +multilib_src_test() {
79 + cd tests
80 + default
81 +
82 + for i in */test; do
83 + ${i} || die "Running tests failed at ${i}"
84 + done
85 +}
86 +
87 +multilib_src_install() {
88 + gnome2_src_install
89 +}
90 +
91 +multilib_src_install_all() {
92 + einstalldocs
93 +
94 + find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
95 + find examples -type f -name 'Makefile*' -exec rm -f {} \; 2>/dev/null
96 + dodoc -r examples
97 +}