commit:     025f8bc5b86093dd4c9b0d7b9275298684c453a1
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 12:18:31 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 12:59:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=025f8bc5

dev-cpp/glibmm: Bump to 2.66.2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-cpp/glibmm/Manifest             |  1 +
 dev-cpp/glibmm/glibmm-2.66.2.ebuild | 54 +++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-cpp/glibmm/Manifest b/dev-cpp/glibmm/Manifest
index d18072c4450..fa95af5ab04 100644
--- a/dev-cpp/glibmm/Manifest
+++ b/dev-cpp/glibmm/Manifest
@@ -1,2 +1,3 @@
 DIST glibmm-2.66.1.tar.xz 7509820 BLAKE2B 
4750940093cadbae7c32d387ac8b16c8230eb08ed1645e457edfa27542a2e8a01d70de08bb41d1872dd1f03d1506bfaefc2af582250ca64ad480ce5f98f20d56
 SHA512 
caf57c2c9d163fff45041c33ed70d2692040d7bea44660d68e8c16a76be2609e0f857a5e16ad5220a0ec681a560c864dc86c2988a2c40741b4f29c9fe5b7d8b9
+DIST glibmm-2.66.2.tar.xz 7603104 BLAKE2B 
5696391bd5dbb35f8c961250af6d9b2644e900ac6a800054e9e7630cbf4882c17ef1bf8cf322e89a3bdbe613d13d4a045920bfc1071442daa3afc78afa8cd759
 SHA512 
097af6b140a5af3e52cc2c5d251475a5aa923d0c528c3cbc97f31d3a95868bcb3aa2328047ca94a55ef7fd188f271917dfe29faa86f477a441f0a024284216f9
 DIST glibmm-2.68.1.tar.xz 7657712 BLAKE2B 
a8141e53f89c981a9916d5f71dfd8c6d08e45a653b98c507acaadfefbedf2f22e8130a722f3398f5e0dff8196ffc8efa6567ebb2c8290f7373e34377e281db18
 SHA512 
ca164f986da651e66bb5b98a760853e73d57ff84e035809d4c3b2c0a1b6ddf8ca68ffc49a71d0e0b2e14eca1c00e2e727e3bf3821e0b2b3a808397c3d33c6d5c

diff --git a/dev-cpp/glibmm/glibmm-2.66.2.ebuild 
b/dev-cpp/glibmm/glibmm-2.66.2.ebuild
new file mode 100644
index 00000000000..d6657cf05be
--- /dev/null
+++ b/dev-cpp/glibmm/glibmm-2.66.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7..10} )
+inherit gnome.org meson-multilib python-any-r1
+
+DESCRIPTION="C++ interface for glib2"
+HOMEPAGE="https://www.gtkmm.org";
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+IUSE="doc debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
+       >=dev-libs/glib-2.61.2:2[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+       doc? (
+               app-doc/doxygen[dot]
+               dev-lang/perl
+               dev-perl/XML-Parser
+               dev-libs/libxslt
+               media-gfx/graphviz
+       )
+"
+
+src_prepare() {
+       default
+
+       # giomm_tls_client requires FEATURES=-network-sandbox and 
glib-networking rdep
+       sed -i -e '/giomm_tls_client/d' tests/meson.build || die
+
+       if ! use test; then
+               sed -i -e "/^subdir('tests')/d" meson.build || die
+       fi
+}
+
+multilib_src_configure() {
+       local emesonargs=(
+               -Dwarnings=min
+               -Dbuild-deprecated-api=true
+               $(meson_native_use_bool doc build-documentation)
+               $(meson_use debug debug-refcounting)
+               -Dbuild-examples=false
+       )
+       meson_src_configure
+}

Reply via email to