Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/libqb/
Date: Wed, 01 Dec 2021 11:39:50
Message-Id: 1638358783.4100b62e9ff8cfaf77eab39e4b17ad9ffaf0e846.ultrabug@gentoo
1 commit: 4100b62e9ff8cfaf77eab39e4b17ad9ffaf0e846
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 1 11:39:31 2021 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 1 11:39:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4100b62e
7
8 sys-cluster/libqb: version bump
9
10 closes #720910 #775605
11
12 Package-Manager: Portage-3.0.28, Repoman-3.0.3
13 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
14
15 sys-cluster/libqb/Manifest | 1 +
16 sys-cluster/libqb/libqb-2.0.4.ebuild | 68 ++++++++++++++++++++++++++++++++++++
17 2 files changed, 69 insertions(+)
18
19 diff --git a/sys-cluster/libqb/Manifest b/sys-cluster/libqb/Manifest
20 index 32dcc9ef08a4..7d91d5cc8aa4 100644
21 --- a/sys-cluster/libqb/Manifest
22 +++ b/sys-cluster/libqb/Manifest
23 @@ -1 +1,2 @@
24 DIST libqb-2.0.1.tar.xz 480516 BLAKE2B 402ca20f16a232497c9a363c557556bbdcfffff5d0f075898bf4008bb51b30771f284c29b64421be1dae8215e153b8978ac06c9bd10f3e5e23632b597549d2c7 SHA512 6d989d30b381253c7d7c4ff1e6400ad3445b92184906c859f10d6352dd604a309d7e2d9c8298d8b8d59a0e884e2d821608a39f043db7e96db2118a867ef57672
25 +DIST libqb-2.0.4.tar.xz 504444 BLAKE2B a363a06bcfc34557e634b9be4f625db5b1aba15be89c5d2c7f897ae7c23f229410ce7d697daf6d27364c0cc4c58c13d61db775f8ffe2822673821c2726b7bef0 SHA512 a726b9c1828cbef741ba9c50b9588cbd421637a8fac0d8f4381e2bf6d349cb228935e86f4e8cf409656ef789f4f5c0d096914d7a13637ee1f1e607894349d330
26
27 diff --git a/sys-cluster/libqb/libqb-2.0.4.ebuild b/sys-cluster/libqb/libqb-2.0.4.ebuild
28 new file mode 100644
29 index 000000000000..3713ef20b133
30 --- /dev/null
31 +++ b/sys-cluster/libqb/libqb-2.0.4.ebuild
32 @@ -0,0 +1,68 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="Library providing high performance logging, tracing, ipc, and poll"
41 +HOMEPAGE="https://github.com/ClusterLabs/libqb"
42 +SRC_URI="https://github.com/ClusterLabs/${PN}/releases/download/v${PV}/${P}.tar.xz"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0/100"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
47 +IUSE="debug doc examples systemd test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="dev-libs/glib:2
51 + dev-libs/libxml2"
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="app-arch/xz-utils
54 + test? ( dev-libs/check )
55 + doc? (
56 + app-doc/doxygen[dot]
57 + )"
58 +
59 +DOCS=( ChangeLog README.markdown )
60 +
61 +PATCHES=()
62 +
63 +src_prepare() {
64 + default
65 +
66 + # Skip installation of text documents without value
67 + sed -e '/dist_doc_DATA/d' -i Makefile.am || die
68 +
69 + # Do not append version suffix "-yank"
70 + sed 's|1-yank|1|' -i configure.ac || die
71 +
72 + eautoreconf
73 +}
74 +
75 +src_configure() {
76 + econf \
77 + --disable-static \
78 + --with-socket-dir=/run \
79 + $(use_enable systemd systemd-journal) \
80 + $(use_enable debug)
81 +}
82 +
83 +src_compile() {
84 + default
85 + use doc && emake doxygen
86 +}
87 +
88 +src_install() {
89 + emake install DESTDIR="${D}"
90 +
91 + if use examples ; then
92 + docinto examples
93 + dodoc examples/*.c
94 + fi
95 +
96 + use doc && HTML_DOCS=("docs/html/.")
97 + einstalldocs
98 +
99 + find "${D}" -name '*.la' -delete || die
100 +}