1 |
commit: b4216e8a2dbd9ecb2a429ab9fd6fbdb7d240b7a4 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 7 10:58:14 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 7 10:58:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4216e8a |
7 |
|
8 |
dev-cpp/glibmm: bump to 2.60.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-cpp/glibmm/Manifest | 1 + |
14 |
dev-cpp/glibmm/glibmm-2.60.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 82e9164a7a2..f34956b15c1 100644 |
19 |
--- a/dev-cpp/glibmm/Manifest |
20 |
+++ b/dev-cpp/glibmm/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST glibmm-2.56.1.tar.xz 6841240 BLAKE2B db0e1402f322fd31138cf4db2fc2fabb6fb9896f226f98bd524fe005f0e3412f6973774571b7ec79a9e3c79f6622b0969a55dc91631cc996906dd1e558ad4fe8 SHA512 fd5ad19c5dcba484573520e1d00b5bbb600ee805ab8cd9c0d985880cc1bcbe67ad31fa9f2b5789b5892eddd6be345e3f308593e5ef021e1cfda132e4235fb735 |
23 |
DIST glibmm-2.58.1.tar.xz 6778632 BLAKE2B e51e43cb9361147627c2ffc4c232bd8b15d935cc3a20a4fa8d98f5be9c45f7dd635aab69177d033cf65a6e39cee53bcc723be56cc8db966e88b00b5f9cb1f29a SHA512 c1a67412e6de3853557318cd921e6e73874a14ffd3cb51fc158b0d45fb1d5c2560e011b3b0be7f8cf8afee13952e824625d832e5237288b974c2ba20a6f042cb |
24 |
+DIST glibmm-2.60.0.tar.xz 6874840 BLAKE2B 4d71bb394fe88d0a6b0286b1d9651e6063957f7d4adca6af16b2e5698d8f87984f37257c879fa4b655a03519d6adf6400695197d29e0dd14552ac3bf174f60e3 SHA512 ea0477d5cb6e59019e87f929630ff32ac38dd5e4fb53fe84ef64b5b41c1090c8e10a0a67b26c786ab4d9ebf64b993fa0044333b4aa8554c331a0a6d02039c5ad |
25 |
|
26 |
diff --git a/dev-cpp/glibmm/glibmm-2.60.0.ebuild b/dev-cpp/glibmm/glibmm-2.60.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1f41a3b2f17 |
29 |
--- /dev/null |
30 |
+++ b/dev-cpp/glibmm/glibmm-2.60.0.ebuild |
31 |
@@ -0,0 +1,65 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit gnome2 multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="C++ interface for glib2" |
39 |
+HOMEPAGE="https://www.gtkmm.org" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system |
42 |
+SLOT="2" |
43 |
+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" |
44 |
+IUSE="doc debug test" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] |
48 |
+ >=dev-libs/glib-2.59.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 |
+} |