commit:     1a7517412209bf20389b7e3008eab4c3b17bba40
Author:     Brett A C Sheffield <bacs <AT> librecast <DOT> net>
AuthorDate: Mon Mar  9 17:07:33 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 13:33:53 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a751741

sys-cluster/libqb: add 2.0.9

Signed-off-by: Brett A C Sheffield <bacs <AT> librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/276
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/libqb/Manifest           |  1 +
 sys-cluster/libqb/libqb-2.0.9.ebuild | 68 ++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/sys-cluster/libqb/Manifest b/sys-cluster/libqb/Manifest
index 9b6eb706a248..fad33417fd91 100644
--- a/sys-cluster/libqb/Manifest
+++ b/sys-cluster/libqb/Manifest
@@ -1,3 +1,4 @@
 DIST libqb-2.0.1.tar.xz 480516 BLAKE2B 
402ca20f16a232497c9a363c557556bbdcfffff5d0f075898bf4008bb51b30771f284c29b64421be1dae8215e153b8978ac06c9bd10f3e5e23632b597549d2c7
 SHA512 
6d989d30b381253c7d7c4ff1e6400ad3445b92184906c859f10d6352dd604a309d7e2d9c8298d8b8d59a0e884e2d821608a39f043db7e96db2118a867ef57672
 DIST libqb-2.0.4.tar.xz 504444 BLAKE2B 
a363a06bcfc34557e634b9be4f625db5b1aba15be89c5d2c7f897ae7c23f229410ce7d697daf6d27364c0cc4c58c13d61db775f8ffe2822673821c2726b7bef0
 SHA512 
a726b9c1828cbef741ba9c50b9588cbd421637a8fac0d8f4381e2bf6d349cb228935e86f4e8cf409656ef789f4f5c0d096914d7a13637ee1f1e607894349d330
 DIST libqb-2.0.8.tar.xz 521600 BLAKE2B 
72566541fa0b528158639f1d561f718dba5ce7c1609b3570e4363dc9da3b20e455a08cee89d9661f946fb647318ee10c19ce470402279d12ffae9ec198da5ff0
 SHA512 
9db87b248af87d9aa0520bc0045264a5f0a710fd582a16285990685cb8f8b485ba24b774f2ab7eb719bac5ed3bbf3a315696f7191a5fcf7beea33126a4402a09
+DIST libqb-2.0.9.tar.xz 528000 BLAKE2B 
eb563c7bcd7c6062b6dfd1064ce9d8830a01d62c80aae05fd8a2407aa1fef6f8ea4b4342ea105f9a80285b156d484e3454d70237e05751bf5d237261396bf6d0
 SHA512 
257e736ba3f14e333dec3890dd4f28d84a6603f9474353a02d1e32f75b0fc72e9b6925cc05d36c75eb792143ffde0d2d0eca468b834cd5dbf30303d332c13b36

diff --git a/sys-cluster/libqb/libqb-2.0.9.ebuild 
b/sys-cluster/libqb/libqb-2.0.9.ebuild
new file mode 100644
index 000000000000..02c1e762794d
--- /dev/null
+++ b/sys-cluster/libqb/libqb-2.0.9.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit autotools
+
+DESCRIPTION="Library providing high performance logging, tracing, ipc, and 
poll"
+HOMEPAGE="https://github.com/ClusterLabs/libqb";
+SRC_URI="https://github.com/ClusterLabs/${PN}/releases/download/v${PV}/${P}.tar.xz";
+
+LICENSE="LGPL-2.1"
+SLOT="0/100"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug doc examples systemd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/glib:2
+       dev-libs/libxml2:="
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/xz-utils
+       test? ( dev-libs/check )
+       doc? (
+               app-text/doxygen[dot]
+       )"
+
+DOCS=( ChangeLog README.markdown )
+
+PATCHES=()
+
+src_prepare() {
+       default
+
+       # Skip installation of text documents without value
+       sed -e '/dist_doc_DATA/d' -i Makefile.am || die
+
+       # Do not append version suffix "-yank"
+       sed 's|1-yank|1|' -i configure.ac || die
+
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-static \
+               --with-socket-dir=/run \
+               $(use_enable systemd systemd-journal) \
+               $(use_enable debug)
+}
+
+src_compile() {
+       default
+       use doc && emake doxygen
+}
+
+src_install() {
+       emake install DESTDIR="${D}"
+
+       if use examples ; then
+               docinto examples
+               dodoc examples/*.c
+       fi
+
+       use doc && HTML_DOCS=("docs/html/.")
+       einstalldocs
+
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to