Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libglademm/
Date: Sun, 09 Jan 2022 18:40:21
Message-Id: 1641753592.5fda5b708d0d8122f070a784aea413cd13992207.soap@gentoo
1 commit: 5fda5b708d0d8122f070a784aea413cd13992207
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 18:39:52 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 9 18:39:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fda5b70
7
8 dev-cpp/libglademm: update EAPI 5 -> 8
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 ...-2.6.7-r2.ebuild => libglademm-2.6.7-r3.ebuild} | 33 ++++++++--------------
13 1 file changed, 11 insertions(+), 22 deletions(-)
14
15 diff --git a/dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild b/dev-cpp/libglademm/libglademm-2.6.7-r3.ebuild
16 similarity index 68%
17 rename from dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild
18 rename to dev-cpp/libglademm/libglademm-2.6.7-r3.ebuild
19 index 4b75e756ca7e..0a8fa5f985cd 100644
20 --- a/dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild
21 +++ b/dev-cpp/libglademm/libglademm-2.6.7-r3.ebuild
22 @@ -1,11 +1,11 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI="5"
28 -GCONF_DEBUG="no"
29 +EAPI=8
30 +
31 GNOME_TARBALL_SUFFIX="bz2"
32
33 -inherit eutils flag-o-matic gnome2 multilib-minimal
34 +inherit gnome2 multilib-minimal
35
36 DESCRIPTION="C++ bindings for libglade"
37 HOMEPAGE="https://www.gtkmm.org"
38 @@ -20,9 +20,8 @@ RDEPEND="
39 >=dev-cpp/gtkmm-2.24.3:2.4[${MULTILIB_USEDEP}]
40 >=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}]
41 "
42 -DEPEND="${RDEPEND}
43 - virtual/pkgconfig
44 -"
45 +DEPEND="${RDEPEND}"
46 +BDEPEND="virtual/pkgconfig"
47
48 src_prepare() {
49 # we will control install manually in install
50 @@ -33,8 +32,6 @@ src_prepare() {
51 sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
52 Makefile.am Makefile.in || die "sed Makefile.{am,in} failed (2)"
53
54 - append-cxxflags -std=c++11 #566584
55 -
56 gnome2_src_prepare
57 }
58
59 @@ -45,30 +42,22 @@ multilib_src_configure() {
60 multilib_src_compile() {
61 gnome2_src_compile
62
63 - if multilib_is_native_abi && use doc; then
64 - emake -C "docs/reference" all
65 - fi
66 + multilib_is_native_abi && use doc && emake -C docs/reference all
67 }
68
69 multilib_src_install() {
70 gnome2_src_install
71
72 - if use examples; then
73 - emake -C "examples" distclean
74 - fi
75 + use examples && emake -C examples distclean
76 }
77
78 multilib_src_install_all() {
79 + use doc && HTML_DOCS=( docs/reference/html/. )
80 einstalldocs
81
82 - if use doc ; then
83 - dohtml -r docs/reference/html/*
84 - fi
85 -
86 if use examples; then
87 - find "${S}/examples" -name "Makefile*" -delete \
88 + find examples/ -name 'Makefile*' -delete \
89 || die "examples cleanup failed"
90 - insinto "/usr/share/doc/${PF}"
91 - doins -r examples
92 + dodoc -r examples
93 fi
94 }