Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ucommon/
Date: Sun, 14 Oct 2018 10:19:07
Message-Id: 1539512295.5aaeaca38d2f1f8cb0a510200cd90f8255bcf77f.pacho@gentoo
1 commit: 5aaeaca38d2f1f8cb0a510200cd90f8255bcf77f
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 14 10:14:51 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 14 10:18:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aaeaca3
7
8 dev-libs/ucommon: Bump to 7.0.0
9
10 Closes: https://bugs.gentoo.org/596826
11 Closes: https://bugs.gentoo.org/634680
12 Closes: https://bugs.gentoo.org/650572
13 Closes: https://bugs.gentoo.org/663560
14 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
15 Package-Manager: Portage-2.3.51, Repoman-2.3.11
16
17 dev-libs/ucommon/Manifest | 1 +
18 dev-libs/ucommon/ucommon-7.0.0.ebuild | 77 +++++++++++++++++++++++++++++++++++
19 2 files changed, 78 insertions(+)
20
21 diff --git a/dev-libs/ucommon/Manifest b/dev-libs/ucommon/Manifest
22 index de2a4cd6e0e..a06751e6794 100644
23 --- a/dev-libs/ucommon/Manifest
24 +++ b/dev-libs/ucommon/Manifest
25 @@ -3,3 +3,4 @@ DIST ucommon-6.1.10.tar.gz 833384 BLAKE2B 790d47b529550ab02651ed41954d1f6c171154
26 DIST ucommon-6.3.1.tar.gz 830661 BLAKE2B be97174c44ad79ed3e526f263da085dbc112c8f5f0b4f8415a5d30ff7f919fea65e1468aeaaf301940ce060952842fc0e59184539c63ba965c01a0cb598dce30 SHA512 6f4832ac53aaf1456f2d913730b66588a89a3c1292fb79f3f56da466a2542af9c836579c0a3c4daf3f896a0c3e35f861b71514f960052adcb4e3abb872b781ec
27 DIST ucommon-6.5.2.tar.gz 847128 BLAKE2B a4bd6975ad0a83a109a85b5654fbf176957df0bad8edf1a519438c49af00a5523258e97a231021f9a3a3492746b6b6b88aa79600e58bf47b60ac6466b2f4fa12 SHA512 dc6dc048bad52d117edd1936ad31fd9fc6dba418fea3f7fd1578a96909c1eb53d2a42c4773a168db38ff24fc73b467ab30ec9b5ad5132ae473c36cea0e77b341
28 DIST ucommon-6.5.7.tar.gz 855822 BLAKE2B 56b5eb5f8372f983e0f348e5fc494c15bea57dc711e88a9a9f4ceeb8abf03680a82948ea080053a9d4c846172b64443a3947b3774b50c6d0a60c1f2ced63e69d SHA512 9927c9726252cdf050f217fa5993d34dcf9f76fab8399ee3a4c91cf087d9409947ed486a21e8448cb57ea95b52826682120f99d39287983c306434f9121b4d24
29 +DIST ucommon-7.0.0.tar.gz 837905 BLAKE2B ddc82d5d1a88d66f353d9e69eacd7cfaaa0204acb8b9c4152559a009d287f2ffdb7feedc6fc0303c93a39d607498dd15bf83798d088857582f79be435d010ca7 SHA512 d32f8603d920eb98b5d4bc75224a7a8bb8bf2001a8dd3152626a8438ea4c39503a7446dec3aa90cf464b7abb68a6e42bac488ef9705517bd333b64bce219915b
30
31 diff --git a/dev-libs/ucommon/ucommon-7.0.0.ebuild b/dev-libs/ucommon/ucommon-7.0.0.ebuild
32 new file mode 100644
33 index 00000000000..77953319a89
34 --- /dev/null
35 +++ b/dev-libs/ucommon/ucommon-7.0.0.ebuild
36 @@ -0,0 +1,77 @@
37 +# Copyright 1999-2018 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +inherit autotools
42 +
43 +DESCRIPTION="Portable C++ runtime for threads and sockets"
44 +HOMEPAGE="https://www.gnu.org/software/commoncpp"
45 +SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
46 +
47 +LICENSE="LGPL-3"
48 +SLOT="0/8" # soname version
49 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
50 +IUSE="doc static-libs +cxx debug libressl ssl gnutls"
51 +
52 +RDEPEND="
53 + ssl? (
54 + gnutls? (
55 + net-libs/gnutls:0=
56 + dev-libs/libgcrypt:0=
57 + )
58 + !gnutls? (
59 + !libressl? ( dev-libs/openssl:0= )
60 + libressl? ( dev-libs/libressl:0= )
61 + )
62 + )"
63 +
64 +DEPEND="${RDEPEND}
65 + virtual/pkgconfig
66 + doc? ( app-doc/doxygen )
67 +"
68 +
69 +DOCS=(README NEWS SUPPORT ChangeLog AUTHORS)
70 +
71 +PATCHES=(
72 + "${FILESDIR}/${PN}-6.0.3-install_gcrypt.m4_file.patch"
73 +)
74 +
75 +src_prepare() {
76 + default
77 +
78 + # Aclocal 1.13 deprecated error BGO #467674
79 + sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' -i configure.ac || die
80 +
81 + # don't install latex and rtf documents
82 + sed -e '/^GENERATE_LATEX/s@YES@NO@' -e '/^GENERATE_RTF/s@YES@NO@' \
83 + -i Doxyfile.in || die
84 +
85 + eautoreconf
86 +}
87 +
88 +src_configure() {
89 + local myconf=""
90 + if use ssl; then
91 + myconf+=" --with-sslstack=$(usex gnutls gnu ssl) "
92 + else
93 + myconf+=" --with-sslstack=nossl ";
94 + fi
95 +
96 + local myeconfargs=(
97 + $(use_enable cxx stdcpp)
98 + ${myconf}
99 + --enable-atomics
100 + --with-pkg-config
101 + )
102 + econf "${myeconfargs}"
103 +}
104 +
105 +src_compile() {
106 + default
107 + use doc && emake doxy
108 +}
109 +
110 +src_install() {
111 + use doc && HTML_DOCS="doc/html/*"
112 + default
113 +}