summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-05-09 14:03:11 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-05-09 14:03:24 -0700
commit9275af293499b383b853bd0315f4f276ef93b89b (patch)
treec2e25b33590a3a1a987f58722f8d04858efe041a /sys-block
parentsys-libs/glibc: 2.37 patchset 5 bump, other modernization, split out locale-gen (diff)
downloadgentoo-9275af293499b383b853bd0315f4f276ef93b89b.tar.gz
gentoo-9275af293499b383b853bd0315f4f276ef93b89b.tar.bz2
gentoo-9275af293499b383b853bd0315f4f276ef93b89b.zip
sys-block/libzbd: bump
Closes: https://bugs.gentoo.org/905965 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/libzbd/Manifest1
-rw-r--r--sys-block/libzbd/libzbd-2.0.4.ebuild41
-rw-r--r--sys-block/libzbd/metadata.xml3
3 files changed, 45 insertions, 0 deletions
diff --git a/sys-block/libzbd/Manifest b/sys-block/libzbd/Manifest
index eed130a2b77b..b84cdae1589b 100644
--- a/sys-block/libzbd/Manifest
+++ b/sys-block/libzbd/Manifest
@@ -1 +1,2 @@
DIST libzbd-1.2.0.tar.gz 56107 BLAKE2B 0b20ced5cb0abc6ac5d303a1b583b1a8c0b3c89936cf664dd227832d5a704f6665a82e0d1c7cf80c381400b4edcff6c9e0b192c10deaf00c89009b40edde8676 SHA512 d165640331c7a87c4660f3f707c0510fa7a21edd194e66e96abe6ad3698dc4652a6a673ac8ac1929b0f603df49c1621f398cfb81b7ab8f9dba6353fa9f05d94f
+DIST libzbd-2.0.4.tar.gz 97015 BLAKE2B a91528bb9d1c56eccd25e7a429aefb0ab32d489179343a01278c179ccead04ca250b2d0b107a85aced256f7629aa15e97160c62c6d916e657b60fbdc12178a6a SHA512 7e8ca0ca6114aa777c1c90073c2ca8e426cdf3bbe5afbb2fc0171b5e165f6daa20bd13436e469af069f8a7162374a49563432cd489ce4483ad13542844c5bf28
diff --git a/sys-block/libzbd/libzbd-2.0.4.ebuild b/sys-block/libzbd/libzbd-2.0.4.ebuild
new file mode 100644
index 000000000000..bf32df5efe80
--- /dev/null
+++ b/sys-block/libzbd/libzbd-2.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Zoned block device manipulation library and tools"
+HOMEPAGE="https://github.com/westerndigitalcorporation/libzbd"
+SRC_URI="https://github.com/westerndigitalcorporation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Examples/tools are GPL-3+, library is LGPL-3+
+LICENSE="GPL-3+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="gtk"
+
+# PKG_CHECK_MODULES is only for GTK right now
+# https://github.com/westerndigitalcorporation/libzbd/blob/master/configure.ac#L71
+BDEPEND="gtk? ( virtual/pkgconfig )"
+DEPEND="
+ >=sys-kernel/linux-headers-4.13
+ gtk? ( x11-libs/gtk+:3 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable gtk gui) \
+ --disable-static
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-block/libzbd/metadata.xml b/sys-block/libzbd/metadata.xml
index 80d8dd5ae749..ed5be5f1dc61 100644
--- a/sys-block/libzbd/metadata.xml
+++ b/sys-block/libzbd/metadata.xml
@@ -9,4 +9,7 @@
<email>chutzpah@gentoo.org</email>
<name>Patrick McLean</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">westerndigitalcorporation/libzbd</remote-id>
+ </upstream>
</pkgmetadata>