1 |
commit: aae4df091b73fd414739e92179eec0d77707b288 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 14 22:35:55 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 14 23:00:18 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae4df09 |
7 |
|
8 |
dev-cpp/glibmm: bump to 2.54.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-cpp/glibmm/Manifest | 1 + |
13 |
dev-cpp/glibmm/glibmm-2.54.1.ebuild | 71 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/dev-cpp/glibmm/Manifest b/dev-cpp/glibmm/Manifest |
17 |
index 6aab3e1f752..aef4ee6c942 100644 |
18 |
--- a/dev-cpp/glibmm/Manifest |
19 |
+++ b/dev-cpp/glibmm/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST glibmm-2.50.1.tar.xz 6444576 BLAKE2B dbbdb79d8de9510f9bec770523ca7f4c93d287cbd9890b2fbc08712f6a2815186ee792f6339820a14aa9e4d49c9d1735c6c6651994cc4e03549f0d96b33f87ad SHA512 4f25c75c1628ca2f4db1c29cebc63187d372603066b06aa6a66c6da792f9e02cb4a413e41f058a81e2d5a2b38d625de13df76115b278f010ce2fc493fe6e6bbb |
22 |
DIST glibmm-2.52.1.tar.xz 6451164 BLAKE2B 740178b51a2263ecc4778833fa6f2fd3913cdfc4e93b1a732a1b0ec9d43eb4ed60ab6bea48e02081d75a3ec1f98a149ebff47ced54dcce07e7ae011b2d20452d SHA512 702158762cb28972b315ab98dc00a62e532bda08b6e76dc2a2556e8cb381c2021290891887a4af2fbff5a62bab4d50581be73037dc8e0dc47d5febd6cbeb7bda |
23 |
+DIST glibmm-2.54.1.tar.xz 6837384 BLAKE2B 98e4acb5b80786a27195bea43cc425a45219078ef839e97c60c9e3f52b3a0b3c928e19469d679529b5091d8ac1953d4f315ea75618c3fcc8f33d15f6565b5783 SHA512 94f2a4d6972684e25e38ff2e6bcfc1e9c5e4d096856d3419320c14166e27e26b1ad69be434337e9b70c23842989988113521aae7a800ef2f29e81f1ae6c25a13 |
24 |
|
25 |
diff --git a/dev-cpp/glibmm/glibmm-2.54.1.ebuild b/dev-cpp/glibmm/glibmm-2.54.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..04705cc0aa2 |
28 |
--- /dev/null |
29 |
+++ b/dev-cpp/glibmm/glibmm-2.54.1.ebuild |
30 |
@@ -0,0 +1,71 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
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 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
43 |
+IUSE="doc debug test" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] |
47 |
+ >=dev-libs/glib-2.50.0:2[${MULTILIB_USEDEP}] |
48 |
+" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ virtual/pkgconfig |
51 |
+ doc? ( app-doc/doxygen ) |
52 |
+" |
53 |
+# dev-cpp/mm-common needed for eautoreconf |
54 |
+ |
55 |
+PATCHES=( |
56 |
+ # Fix build with GCC-8 |
57 |
+ # https://bugs.gentoo.org/654776 |
58 |
+ "${FILESDIR}"/${PN}-fix-threads-gobject.patch |
59 |
+) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ if ! use test; then |
63 |
+ # don't waste time building tests |
64 |
+ sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \ |
65 |
+ -i Makefile.am Makefile.in || die "sed 1 failed" |
66 |
+ fi |
67 |
+ |
68 |
+ # don't build examples - we want to install example sources, not binaries |
69 |
+ sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \ |
70 |
+ -i Makefile.am Makefile.in || die "sed 2 failed" |
71 |
+ |
72 |
+ gnome2_src_prepare |
73 |
+} |
74 |
+ |
75 |
+multilib_src_configure() { |
76 |
+ ECONF_SOURCE="${S}" gnome2_src_configure \ |
77 |
+ $(use_enable debug debug-refcounting) \ |
78 |
+ $(multilib_native_use_enable doc documentation) \ |
79 |
+ --enable-deprecated-api |
80 |
+} |
81 |
+ |
82 |
+multilib_src_test() { |
83 |
+ cd tests |
84 |
+ default |
85 |
+ |
86 |
+ for i in */test; do |
87 |
+ ${i} || die "Running tests failed at ${i}" |
88 |
+ done |
89 |
+} |
90 |
+ |
91 |
+multilib_src_install() { |
92 |
+ gnome2_src_install |
93 |
+} |
94 |
+ |
95 |
+multilib_src_install_all() { |
96 |
+ einstalldocs |
97 |
+ |
98 |
+ find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null |
99 |
+ find examples -type f -name 'Makefile*' -exec rm -f {} \; 2>/dev/null |
100 |
+ dodoc -r examples |
101 |
+} |