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: Sun, 23 Feb 2020 12:24:56
Message-Id: 1582460671.70e1f6de67565389dcbe028e1d398949bf45e6e2.leio@gentoo
1 commit: 70e1f6de67565389dcbe028e1d398949bf45e6e2
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 23 12:24:16 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 23 12:24:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e1f6de
7
8 dev-cpp/glibmm: bump to 2.62.0
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-cpp/glibmm/Manifest | 1 +
14 dev-cpp/glibmm/glibmm-2.62.0.ebuild | 66 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 67 insertions(+)
16
17 diff --git a/dev-cpp/glibmm/Manifest b/dev-cpp/glibmm/Manifest
18 index 32e97841676..95fe7555692 100644
19 --- a/dev-cpp/glibmm/Manifest
20 +++ b/dev-cpp/glibmm/Manifest
21 @@ -1 +1,2 @@
22 DIST glibmm-2.60.1.tar.xz 7132072 BLAKE2B 8d25287b7805d7196bffa909447db0e0fa0edd1c243b3ccdef91f1a6573ea0723cda8e88993e878e6c8440b23488b0ab8c9ed727bd4e2d4a46f56ba251510aa0 SHA512 89f1d10bd9b60232519e2e13c02b0b1010dacbe67a8bab06c3a5873649e5090ed3593d518bfd8e12933a08aaa5fc654b1475efc208e2256c7efd197274a28b79
23 +DIST glibmm-2.62.0.tar.xz 7398144 BLAKE2B a289c2e6a5737d9fa3d507e4741c1d19e949244db5a6eaec2329bda92e7e0a78e33acf9668ced19a52507fa88531da63fa35cf59dfb44ad2a7a8fa0839c7dae4 SHA512 f26fca5724c17d915480556b6918ae6e4999c14a25e7623cda3d37a59d6965310fc2b2d8a8500a849f1d0f00fd2d326eeddc690207846d38a13ae695ad0805de
24
25 diff --git a/dev-cpp/glibmm/glibmm-2.62.0.ebuild b/dev-cpp/glibmm/glibmm-2.62.0.ebuild
26 new file mode 100644
27 index 00000000000..e960ee6c618
28 --- /dev/null
29 +++ b/dev-cpp/glibmm/glibmm-2.62.0.ebuild
30 @@ -0,0 +1,66 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +inherit gnome2 multilib-minimal
36 +
37 +DESCRIPTION="C++ interface for glib2"
38 +HOMEPAGE="https://www.gtkmm.org"
39 +
40 +LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
41 +SLOT="2"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
43 +IUSE="doc debug test"
44 +RESTRICT="!test? ( test )"
45 +
46 +RDEPEND="
47 + >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
48 + >=dev-libs/glib-2.61.2:2[${MULTILIB_USEDEP}]
49 +"
50 +DEPEND="${RDEPEND}
51 + virtual/pkgconfig
52 + doc? ( app-doc/doxygen )
53 +"
54 +# dev-cpp/mm-common needed for eautoreconf
55 +
56 +src_prepare() {
57 + if ! use test; then
58 + # don't waste time building tests
59 + sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
60 + -i Makefile.am Makefile.in || die "sed 1 failed"
61 + fi
62 +
63 + # don't build examples - we want to install example sources, not binaries
64 + sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
65 + -i Makefile.am Makefile.in || die "sed 2 failed"
66 +
67 + gnome2_src_prepare
68 +}
69 +
70 +multilib_src_configure() {
71 + ECONF_SOURCE="${S}" gnome2_src_configure \
72 + $(use_enable debug debug-refcounting) \
73 + $(multilib_native_use_enable doc documentation) \
74 + --enable-deprecated-api
75 +}
76 +
77 +multilib_src_test() {
78 + cd tests
79 + default
80 +
81 + for i in */test; do
82 + ${i} || die "Running tests failed at ${i}"
83 + done
84 +}
85 +
86 +multilib_src_install() {
87 + gnome2_src_install
88 +}
89 +
90 +multilib_src_install_all() {
91 + einstalldocs
92 +
93 + find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
94 + find examples -type f -name 'Makefile*' -exec rm -f {} \; 2>/dev/null
95 + dodoc -r examples
96 +}