From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- sys-cluster/libqb/Manifest | 2 ++ sys-cluster/libqb/libqb-2.0.4.ebuild | 68 ++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 sys-cluster/libqb/libqb-2.0.4.ebuild (limited to 'sys-cluster/libqb') diff --git a/sys-cluster/libqb/Manifest b/sys-cluster/libqb/Manifest index 4e6fdb076247..42ae4e66281d 100644 --- a/sys-cluster/libqb/Manifest +++ b/sys-cluster/libqb/Manifest @@ -1,4 +1,6 @@ AUX libqb-2.0.1-slibtool.patch 620 BLAKE2B 5c5e3c699eb8b9d1d7e9e41a36e9be28e60cc1e0a978ec06cd018a3441f0bf3680991178466ea0ffea99d51c334404bae8f6b9397c49fa97ab5ade378b564e30 SHA512 9cb82b24a18282cf7364f1f413585f70e912ec46f94a2d37c45f643aa8046186cead8805f04b1e5d5daff393e35f99240a51d5a7873996d86b51480c5925b4f6 DIST libqb-2.0.1.tar.xz 480516 BLAKE2B 402ca20f16a232497c9a363c557556bbdcfffff5d0f075898bf4008bb51b30771f284c29b64421be1dae8215e153b8978ac06c9bd10f3e5e23632b597549d2c7 SHA512 6d989d30b381253c7d7c4ff1e6400ad3445b92184906c859f10d6352dd604a309d7e2d9c8298d8b8d59a0e884e2d821608a39f043db7e96db2118a867ef57672 +DIST libqb-2.0.4.tar.xz 504444 BLAKE2B a363a06bcfc34557e634b9be4f625db5b1aba15be89c5d2c7f897ae7c23f229410ce7d697daf6d27364c0cc4c58c13d61db775f8ffe2822673821c2726b7bef0 SHA512 a726b9c1828cbef741ba9c50b9588cbd421637a8fac0d8f4381e2bf6d349cb228935e86f4e8cf409656ef789f4f5c0d096914d7a13637ee1f1e607894349d330 EBUILD libqb-2.0.1-r1.ebuild 1374 BLAKE2B 76e9b4348a1330437661c2d2020fb40774e2084a1dbb06f990c2242a8c00d427101989576d1dba6d1bca5faf530a9e2305cd6d12c385fe517f23c835ce2f95b0 SHA512 89829b4ec8fdc17947d18416bb6f71d1372d3dd04f81e19ff8b5671615422c86ccc276df354ca0210527312c4462a6c955bf7bc8ed22a175cbe666346e2fe0df +EBUILD libqb-2.0.4.ebuild 1335 BLAKE2B 0eb88c39390397bb5d5d3aad2ea8a271757e16aae6ad3fe0defcf98973299f164e24bce4a511f92ab3a4918834ec8a197a670d40928225894feb88f311c81527 SHA512 3991fbb3573ad61fbf2f7ecb3230f8a0cff28ade0ee46bbbdcb52342cf73358bfb168c40b5a328dc2ef5b1c9a3cd79bcf5b3a502afb8dc928eb45f3a315e5023 MISC metadata.xml 340 BLAKE2B b2117bcb3b221578594558b78b54abee3a7adcea3a7e0343041740d19969da2ac089a18705fd2055ba4c14d153f0f0248efe15bac69d1d7112494b33fa88982b SHA512 717633ab4cbe91d0edbed8a6bc279fe255b0bbfd8b2efbf8056a37b4ab517fe6edd65a9926fdce2b74de6666511129ed7513d7040066c0f1fddc966f4708eaa2 diff --git a/sys-cluster/libqb/libqb-2.0.4.ebuild b/sys-cluster/libqb/libqb-2.0.4.ebuild new file mode 100644 index 000000000000..3713ef20b133 --- /dev/null +++ b/sys-cluster/libqb/libqb-2.0.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~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-doc/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 +} -- cgit v1.2.3