Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/erofs-utils/
Date: Tue, 11 Jan 2022 07:52:58
Message-Id: 1641887535.aff01743f50e8539f06414c6d53e28f9375932a3.flow@gentoo
1 commit: aff01743f50e8539f06414c6d53e28f9375932a3
2 Author: WANG Xuerui <git <AT> xen0n <DOT> name>
3 AuthorDate: Tue Jan 11 04:46:01 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 11 07:52:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff01743
7
8 sys-fs/erofs-utils: bump to 1.4
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: WANG Xuerui <git <AT> xen0n.name>
12 Closes: https://github.com/gentoo/gentoo/pull/23734
13 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
14
15 sys-fs/erofs-utils/Manifest | 1 +
16 sys-fs/erofs-utils/erofs-utils-1.4.ebuild | 42 +++++++++++++++++++++++++++++++
17 2 files changed, 43 insertions(+)
18
19 diff --git a/sys-fs/erofs-utils/Manifest b/sys-fs/erofs-utils/Manifest
20 index 80561cc1fd72..c546997af5cd 100644
21 --- a/sys-fs/erofs-utils/Manifest
22 +++ b/sys-fs/erofs-utils/Manifest
23 @@ -1 +1,2 @@
24 DIST erofs-utils-1.3.tar.gz 66135 BLAKE2B 1051cf387d059d71b91e0a940c86b819593902606ae4665a7801e9597dd72987385bee997d2d63b186c493557ee22118aff23161e48e25ee8f4859f9f6e46f14 SHA512 6ddd8402dab80b0375b012ed51ff02b40cbeca9a4a1ba250b14ec6aeb97317ab575e315e9d4dc77ed1d7826c202396d9c0775917106ecbd7b4048168aca0fa6c
25 +DIST erofs-utils-1.4.tar.gz 93979 BLAKE2B aef1dca8cb95e6104d73a84590319d3c55aba1a4ef5dbdbf470662cb86ee1b66a5707dc1c453470115ec6f2bf1246ee4b6b28aa1cb83b4cb9c8eed45e88668d4 SHA512 ab95d6a7b2d278ee443d1e378c62354db66ce7ab5ce03b3a8d9004cf498c4e43e3e8ced6524444d2ea4871c4db0195489f033180c8a2082c2cba69c46c09692f
26
27 diff --git a/sys-fs/erofs-utils/erofs-utils-1.4.ebuild b/sys-fs/erofs-utils/erofs-utils-1.4.ebuild
28 new file mode 100644
29 index 000000000000..1682bcdfb6d0
30 --- /dev/null
31 +++ b/sys-fs/erofs-utils/erofs-utils-1.4.ebuild
32 @@ -0,0 +1,42 @@
33 +# Copyright 2021-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="Userspace tools for EROFS"
41 +HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
42 +LICENSE="GPL-2+"
43 +
44 +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/${PN}.git/snapshot/${P}.tar.gz"
45 +KEYWORDS="~amd64"
46 +
47 +SLOT="0"
48 +IUSE="fuse +lz4 selinux +uuid"
49 +
50 +RDEPEND="
51 + fuse? ( sys-fs/fuse:0 )
52 + lz4? ( app-arch/lz4:0= )
53 + selinux? ( sys-libs/libselinux:0= )
54 + uuid? ( sys-apps/util-linux )
55 +"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND="virtual/pkgconfig"
58 +
59 +src_prepare() {
60 + default
61 + eautoreconf
62 +}
63 +
64 +src_configure() {
65 + # This package asks for MicroLZMA support, which is not included in any
66 + # released version of xz-utils at the moment, so disable lzma until a new
67 + # xz-utils is packaged.
68 + econf \
69 + $(use_enable fuse) \
70 + $(use_enable lz4) \
71 + --disable-lzma \
72 + $(use_with selinux) \
73 + $(use_with uuid)
74 +}