Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/glibmm/
Date: Thu, 01 Apr 2021 02:12:12
Message-Id: 1617243077.b885f2af64f60f2114d95d83dadde49dc3375beb.mattst88@gentoo
1 commit: b885f2af64f60f2114d95d83dadde49dc3375beb
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 1 01:59:12 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 02:11:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b885f2af
7
8 dev-cpp/glibmm: Version bump to 2.64.5
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-cpp/glibmm/Manifest | 1 +
13 dev-cpp/glibmm/glibmm-2.64.5.ebuild | 66 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/dev-cpp/glibmm/Manifest b/dev-cpp/glibmm/Manifest
17 index a6ee6004d98..ff809e3ac3a 100644
18 --- a/dev-cpp/glibmm/Manifest
19 +++ b/dev-cpp/glibmm/Manifest
20 @@ -1,2 +1,3 @@
21 DIST glibmm-2.64.2.tar.xz 7438116 BLAKE2B 6ff458e90a5dbc606a2e04ecd3589262a1b96e827dba245985467818a7a4ba80a9c4cb15686fe479636cb8ce7e1db3334195d6334d7ec56327076cad87e22170 SHA512 0130af9a16981a54630150db6f4b1a95458d72d650c5e4781ee97ce624ec98c600b79ebf234d212e025781453fd11d78b9e8273235ffa143397423418fe970cc
22 +DIST glibmm-2.64.5.tar.xz 7491108 BLAKE2B 3c0f2215542a6ccc65c37d566856df326b7c0d45999e525df6153862edd0841c501c64fc3cfd0e4c3f1bae29bbaca1eed44738acc11b3f1515ffc8a396b0791f SHA512 e90bb722a35292b0fc54dff82604ec8d23a9e72b08581de14fd515539392ed713d0691352bf7de42d5027579959f76b268cdc11a76a3d3033ae8268f486ee817
23 DIST glibmm-2.68.0.tar.xz 7652260 BLAKE2B df87b3f3d8cd74b693f843dec15d5376f2a755b0a72042983383c15cca9fdb90c2fed6320bf0f3fe846fcda5be3ee15c0fc1b683d29cebe64e8dcdd101fc9bf0 SHA512 a13121052315e949acf2528e226079f1a2cf7853080aec770dcb269e422997e5515ed767c7a549231fb3fa5f913b3fd9ef083080589283824b6a218d066b253e
24
25 diff --git a/dev-cpp/glibmm/glibmm-2.64.5.ebuild b/dev-cpp/glibmm/glibmm-2.64.5.ebuild
26 new file mode 100644
27 index 00000000000..db0034cef75
28 --- /dev/null
29 +++ b/dev-cpp/glibmm/glibmm-2.64.5.ebuild
30 @@ -0,0 +1,66 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit gnome.org meson multilib-minimal
36 +
37 +DESCRIPTION="C++ interface for glib2"
38 +HOMEPAGE="https://www.gtkmm.org"
39 +
40 +LICENSE="LGPL-2.1+"
41 +SLOT="2"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-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 +BDEPEND="
52 + virtual/pkgconfig
53 + >=dev-cpp/mm-common-1.0.0
54 + sys-devel/m4
55 + dev-lang/perl
56 + doc? (
57 + app-doc/doxygen
58 + dev-libs/libxslt
59 + media-gfx/graphviz
60 + )
61 +"
62 +
63 +src_prepare() {
64 + default
65 +
66 + # giomm_tls_client requires FEATURES=-network-sandbox and glib-networking rdep
67 + sed -i -e '/giomm_tls_client/d' tests/meson.build || die
68 +
69 + if ! use test; then
70 + sed -i -e "/^subdir('tests')/d" meson.build || die
71 + fi
72 +}
73 +
74 +multilib_src_configure() {
75 + local emesonargs=(
76 + -Dmaintainer-mode=true # Set false and drop mm-common dep once tarballs are made with meson/ninja
77 + -Dwarnings=min
78 + -Dbuild-deprecated-api=true
79 + -Dbuild-documentation=$(usex doc true false)
80 + -Ddebug-refcounting=$(usex debug true false)
81 + -Dbuild-examples=false
82 + )
83 + meson_src_configure
84 +}
85 +
86 +multilib_src_compile() {
87 + meson_src_compile
88 +}
89 +
90 +multilib_src_test() {
91 + meson_src_test
92 +}
93 +
94 +multilib_src_install() {
95 + meson_src_install
96 +}