commit:     ea3f45dbfee3720e513784d98e562ae575c8f7cb
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed May 31 09:04:21 2023 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 06:27:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3f45db

net-libs/xrootd-ceph: add 5.5.5

Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 net-libs/xrootd-ceph/Manifest                 |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild | 38 +++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 71ecab39fd55..5f20ce7df6ad 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3
 DIST xrootd-ceph-5.5.4.tar.gz 82015 BLAKE2B 
cfd2ec0151bfb7113954a7bab4f522984b0692700a2cd141c7039418d528693bf45e65308395a8eacf4e1a5b34389fc3c0b83f0575af132730103376bc8e07fc
 SHA512 
59cc73505e8cb8ec9e43b30f3773872458257c3c463919337ef97e77de928378803719300f191877d54c1d67dbf45b54aa115ebc9bbac0f64acf51f4e7c23cc5
+DIST xrootd-ceph-5.5.5.tar.gz 82015 BLAKE2B 
ddc9f2e54d698b7974a768da9f528dbdbcf0990836acfaf3d51996630388e68ce3e8c35b5f5849331f4479c5d4df93b890e857afb31a0eac1e7fd950bb196fca
 SHA512 
0795a72c48275eb3f7ced96395536b1965f2422927e77c89e91acc3d0066d3bbafeddb378d3780d4b979e4c6308abd93a3a8bd759607562f5b1d263f99927414

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild
new file mode 100644
index 000000000000..ef04b6db3238
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="xrootd OSS plug-in for interfacing with Ceph storage platform"
+HOMEPAGE="https://xrootd.slac.stanford.edu/";
+SRC_URI="https://github.com/xrootd/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="~net-libs/xrootd-${PV}
+       sys-cluster/ceph"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-util/cppunit )"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-5.4.0_no-werror.patch
+)
+
+# xrootd plugins are not intended to be linked with,
+# they are to be loaded at runtime by xrootd,
+# see https://github.com/xrootd/xrootd/issues/447
+QA_SONAME="/usr/lib.*/libXrdCeph.*-$(ver_cut 1)\.so
+       /usr/lib.*/libXrdCephTests\.so"
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_TESTS=$(usex test)
+       )
+       cmake_src_configure
+}

Reply via email to