1 |
commit: d518a32a5e973b0041e35b5e51352758622902d2 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 31 13:16:27 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 31 13:16:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d518a32a |
7 |
|
8 |
dev-libs/libsigc++: bump to 2.20.1 |
9 |
|
10 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
dev-libs/libsigc++/Manifest | 1 + |
14 |
dev-libs/libsigc++/libsigc++-2.10.1.ebuild | 54 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libsigc++/Manifest b/dev-libs/libsigc++/Manifest |
18 |
index bbc5954d998..023cf505a27 100644 |
19 |
--- a/dev-libs/libsigc++/Manifest |
20 |
+++ b/dev-libs/libsigc++/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libsigc++-1.2.7.tar.bz2 326205 BLAKE2B b316460178224c0b8177ce9a236c69a8b737bf7356b290b59eaeb60b09285c61d113bfc7de89bd712c3c049a492f5cc36d205ac77816aff73e587e8a42ade520 SHA512 79fd9657219459bce64fc069dbcb054959e324b5d546b5f11acaae5e5bedcc4dca699a21c949e3f6b2ec0dbe1c3dba3981158e5950d0aaba5028445b2ad5740f |
23 |
DIST libsigc++-2.10.0.tar.xz 3794612 BLAKE2B 205cd8cedbe25d04108df888c392fe6a14829826cf1b6b7604a03f357788dfa83a5ba213d6365c48965dd16fcd7b545c9e76d4e4d10971cc1c9ccb172ec0400f SHA512 5b96df21d6bd6ba41520c7219e77695a86aabc60b7259262c7a9f4b8475ce0e2fd8dc37bcf7c17e24e818ff28c262d682b964c83e215b51bdbe000f3f58794ae |
24 |
+DIST libsigc++-2.10.1.tar.xz 4062388 BLAKE2B 3bd988acae78b7d463c966fa5c8da68b35d8a0b0bf4762811b7a9fdf82357b29aaa48d64e19f4cb6bd0f42ee70ad77a64a4905d1ad609dbe11ca8ff7596527c6 SHA512 e2bd7b1a97019be010dee1594271bbf7cae92b28e31dcb3c6d7d60643a0996233f0a75a9337b4afcb5b7dc453bfc3159d82f6daacfbcd8993a39ccecaf811bb2 |
25 |
|
26 |
diff --git a/dev-libs/libsigc++/libsigc++-2.10.1.ebuild b/dev-libs/libsigc++/libsigc++-2.10.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8bb40813d76 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libsigc++/libsigc++-2.10.1.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit gnome2 flag-o-matic multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="Typesafe callback system for standard C++" |
39 |
+HOMEPAGE="http://libsigc.sourceforge.net/" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1+" |
42 |
+SLOT="2" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
44 |
+IUSE="doc static-libs test" |
45 |
+ |
46 |
+RDEPEND="" |
47 |
+DEPEND="sys-devel/m4 |
48 |
+ doc? ( app-doc/doxygen ) |
49 |
+ test? ( dev-libs/boost[${MULTILIB_USEDEP}] )" |
50 |
+# Needs mm-common for eautoreconf |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ # don't waste time building examples |
54 |
+ sed -i 's|^\(SUBDIRS =.*\)examples\(.*\)$|\1\2|' \ |
55 |
+ Makefile.am Makefile.in || die "sed examples failed" |
56 |
+ |
57 |
+ # don't waste time building tests unless USE=test |
58 |
+ if ! use test ; then |
59 |
+ sed -i 's|^\(SUBDIRS =.*\)tests\(.*\)$|\1\2|' \ |
60 |
+ Makefile.am Makefile.in || die "sed tests failed" |
61 |
+ fi |
62 |
+ |
63 |
+ gnome2_src_prepare |
64 |
+} |
65 |
+ |
66 |
+multilib_src_configure() { |
67 |
+ filter-flags -fno-exceptions #84263 |
68 |
+ |
69 |
+ ECONF_SOURCE="${S}" gnome2_src_configure \ |
70 |
+ $(multilib_native_use_enable doc documentation) \ |
71 |
+ $(use_enable static-libs static) \ |
72 |
+ $(use_enable test benchmark) |
73 |
+} |
74 |
+ |
75 |
+multilib_src_install() { |
76 |
+ gnome2_src_install |
77 |
+} |
78 |
+ |
79 |
+multilib_src_install_all() { |
80 |
+ einstalldocs |
81 |
+ |
82 |
+ # Note: html docs are installed into /usr/share/doc/libsigc++-2.0 |
83 |
+ # We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs |
84 |
+ use doc && dodoc -r examples |
85 |
+} |