1 |
commit: 7e5e69bf829c1d7972ad069d415f24937417ffa4 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 2 21:38:41 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 2 21:44:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5e69bf |
7 |
|
8 |
sys-cluster/libqb: 1.9.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/704514 |
11 |
Bug: https://bugs.gentoo.org/699860 |
12 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
14 |
|
15 |
sys-cluster/libqb/Manifest | 1 + |
16 |
sys-cluster/libqb/libqb-1.9.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 63 insertions(+) |
18 |
|
19 |
diff --git a/sys-cluster/libqb/Manifest b/sys-cluster/libqb/Manifest |
20 |
index 61ac9d1299a..65dd7711761 100644 |
21 |
--- a/sys-cluster/libqb/Manifest |
22 |
+++ b/sys-cluster/libqb/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST libqb-0.17.2.tar.xz 373540 BLAKE2B b9d751fca21cc25798a24207740b14722502cbb918cc652cd33b0159a9bd1254a8a64bc73684ae3274a2cf346db5b19924cf010ba487f4c6a9a5f9deade792c4 SHA512 9c6dce7d18aa4da31594faecd0ea2737c2beefa749290094f733fe89ac40f094ec6409f310c534b8144d500e8c204c328386eaf1029995698d7019c014433443 |
25 |
DIST libqb-1.0.1.tar.xz 438204 BLAKE2B be4d4dbe624721a6434f7e3023bcaef017e1358f67fa308e4107bd96469675eca51b5787f498857d22104e3ffa55ded9c44fe320c37fec639a84648c1f517223 SHA512 9afdf5b7064f4e79f70e3c21d1ae954d1444d202d5903bd84866e502b2afc218d4a84fd21fab637a198357e1dad5da94814a6c0bdaa0ba6ac4a24ff40422c185 |
26 |
DIST libqb-1.0.5.tar.xz 488516 BLAKE2B 96f61ce681d0c259e8df38f35c04349ab3b1199f62c2311d60c6f229bf15e8f62825c965a4847cbda4701119fc7ae3c68cc3a7187f927f8ddf7496cf1931c7c2 SHA512 a695bc4c913a32d47535cb2d8812f14a39732cae32651521a8f7b6d05c4202bfc28a477c88875bbfbe1a0238cd33f1fe64f2d2217b0c27cf11acf7233fc2cbdf |
27 |
+DIST libqb-1.9.0.tar.gz 225147 BLAKE2B d8200d5eec8c05a18675de585e2f85694d3d062d82afca38c421859e3e0287d1691fe9726a75d3726afc58a94765f6a201f8fb51bf1ed25c1cfeaeb326e6f6d0 SHA512 9bdf2087f610a7a02b976312d60391e1c53ebd3f36a897cdc3fcf818f666f772d63386b52bd11ed4e5ea52fa4775231ab7125359a270451f925b3821d9b8e3ee |
28 |
|
29 |
diff --git a/sys-cluster/libqb/libqb-1.9.0.ebuild b/sys-cluster/libqb/libqb-1.9.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..6ae629bdc2f |
32 |
--- /dev/null |
33 |
+++ b/sys-cluster/libqb/libqb-1.9.0.ebuild |
34 |
@@ -0,0 +1,62 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit autotools |
41 |
+ |
42 |
+DESCRIPTION="Library providing high performance logging, tracing, ipc, and poll" |
43 |
+HOMEPAGE="https://github.com/ClusterLabs/libqb" |
44 |
+ |
45 |
+# Avoiding release tarball due to https://github.com/ClusterLabs/libqb/issues/375 |
46 |
+# Please re-add ChangeLog to DOCS when switching back |
47 |
+SRC_URI="https://github.com/ClusterLabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1" |
50 |
+SLOT="0/20" |
51 |
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
52 |
+IUSE="debug doc examples systemd test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+RDEPEND="dev-libs/glib:2" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ app-arch/xz-utils |
58 |
+ test? ( dev-libs/check ) |
59 |
+ doc? ( app-doc/doxygen[dot] )" |
60 |
+ |
61 |
+DOCS=( README.markdown ) |
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 |
+ $(use_enable systemd systemd-journal) \ |
78 |
+ $(use_enable debug) |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ default |
83 |
+ use doc && emake doxygen |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ emake install DESTDIR="${D}" |
88 |
+ |
89 |
+ if use examples ; then |
90 |
+ docinto examples |
91 |
+ dodoc examples/*.c |
92 |
+ fi |
93 |
+ |
94 |
+ use doc && HTML_DOCS=("docs/html/.") |
95 |
+ einstalldocs |
96 |
+} |