Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/libzbc/
Date: Wed, 02 Nov 2022 16:22:35
Message-Id: 1667406149.b6eea8a52453a33d9a1651ff381f0742155efc37.chutzpah@gentoo
1 commit: b6eea8a52453a33d9a1651ff381f0742155efc37
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 16:22:22 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 16:22:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6eea8a5
7
8 sys-block/libzbc: add 5.13.0
9
10 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
11
12 sys-block/libzbc/Manifest | 1 +
13 sys-block/libzbc/libzbc-5.13.0.ebuild | 38 +++++++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/sys-block/libzbc/Manifest b/sys-block/libzbc/Manifest
17 index 8b58f5626601..d6d22ae0b0b5 100644
18 --- a/sys-block/libzbc/Manifest
19 +++ b/sys-block/libzbc/Manifest
20 @@ -1 +1,2 @@
21 +DIST libzbc-5.13.0.tar.gz 142639 BLAKE2B 2b3447cb0d2729da85f83f16f1b959ce90182e2f6f0466d327b550419b53fb6791f0c63f7ab717d3ed91a4d0b6d0b3d13b15593daa5b64f3a5b890f58af247d7 SHA512 fb93212654b7c3255089651544ae46d2b6285b6316f883e1638b349f19900c8277525a22376476e95c90eafbba5a2a6476b468ddad2ca7b13fa94b95d6896fcb
22 DIST libzbc-5.9.0.tar.gz 131517 BLAKE2B eb05214ffea376930f1b4327152da687067023eab929ed1db123ea3bc80e0f036dfbe9889da2707f1c3842120d4fc3b2c8ab471731d45d5483fe947c21fc7cad SHA512 bcdf294d86867736826af06ad6d18dec31630b3f5bc6e3e98c228bec6a30efcce76a27e3c66a08ce670614ca016dc079894320cff340bafe126fcb40973e8302
23
24 diff --git a/sys-block/libzbc/libzbc-5.13.0.ebuild b/sys-block/libzbc/libzbc-5.13.0.ebuild
25 new file mode 100644
26 index 000000000000..9e2242eb7089
27 --- /dev/null
28 +++ b/sys-block/libzbc/libzbc-5.13.0.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit autotools
36 +
37 +DESCRIPTION="A library and tools for working with ZBC and ZAC disks"
38 +HOMEPAGE="https://github.com/hgst/libzbc"
39 +SRC_URI="https://github.com/hgst/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="BSD-2 GPL-3 LGPL-3"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
44 +IUSE="gtk"
45 +
46 +DEPEND="
47 + gtk? ( x11-libs/gtk+:3 )
48 + >=sys-kernel/linux-headers-4.13
49 + virtual/pkgconfig
50 +"
51 +
52 +src_prepare() {
53 + default
54 + eautoreconf
55 +}
56 +
57 +src_configure() {
58 + econf \
59 + $(use_enable gtk gui) \
60 + --disable-static
61 +}
62 +
63 +src_install() {
64 + default
65 +
66 + find "${ED}" -name '*.la' -delete || die
67 +}