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: Wed, 05 Jan 2022 17:12:13
Message-Id: 1641402605.1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8.flow@gentoo
1 commit: 1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8
2 Author: WANG Xuerui <git <AT> xen0n <DOT> name>
3 AuthorDate: Tue Oct 19 04:38:34 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 5 17:10:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1862a7a9
7
8 sys-fs/erofs-utils: new ebuild
9
10 Signed-off-by: WANG Xuerui <git <AT> xen0n.name>
11 Closes: https://github.com/gentoo/gentoo/pull/22633
12 Closes: https://bugs.gentoo.org/701284
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.3.ebuild | 38 +++++++++++++++++++++++++++++++
17 sys-fs/erofs-utils/metadata.xml | 16 +++++++++++++
18 3 files changed, 55 insertions(+)
19
20 diff --git a/sys-fs/erofs-utils/Manifest b/sys-fs/erofs-utils/Manifest
21 new file mode 100644
22 index 000000000000..80561cc1fd72
23 --- /dev/null
24 +++ b/sys-fs/erofs-utils/Manifest
25 @@ -0,0 +1 @@
26 +DIST erofs-utils-1.3.tar.gz 66135 BLAKE2B 1051cf387d059d71b91e0a940c86b819593902606ae4665a7801e9597dd72987385bee997d2d63b186c493557ee22118aff23161e48e25ee8f4859f9f6e46f14 SHA512 6ddd8402dab80b0375b012ed51ff02b40cbeca9a4a1ba250b14ec6aeb97317ab575e315e9d4dc77ed1d7826c202396d9c0775917106ecbd7b4048168aca0fa6c
27
28 diff --git a/sys-fs/erofs-utils/erofs-utils-1.3.ebuild b/sys-fs/erofs-utils/erofs-utils-1.3.ebuild
29 new file mode 100644
30 index 000000000000..00bd4e1de3bb
31 --- /dev/null
32 +++ b/sys-fs/erofs-utils/erofs-utils-1.3.ebuild
33 @@ -0,0 +1,38 @@
34 +# Copyright 2021-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit autotools
40 +
41 +DESCRIPTION="Userspace tools for EROFS"
42 +HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
43 +LICENSE="GPL-2+"
44 +
45 +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/${PN}.git/snapshot/${P}.tar.gz"
46 +KEYWORDS="~amd64"
47 +
48 +SLOT="0"
49 +IUSE="fuse +lz4 selinux +uuid"
50 +
51 +RDEPEND="
52 + fuse? ( sys-fs/fuse )
53 + lz4? ( app-arch/lz4:0= )
54 + selinux? ( sys-libs/libselinux:0= )
55 + uuid? ( sys-apps/util-linux )
56 +"
57 +DEPEND="${RDEPEND}"
58 +BDEPEND="virtual/pkgconfig"
59 +
60 +src_prepare() {
61 + default
62 + eautoreconf
63 +}
64 +
65 +src_configure() {
66 + econf \
67 + $(use_enable fuse) \
68 + $(use_enable lz4) \
69 + $(use_with selinux) \
70 + $(use_with uuid)
71 +}
72
73 diff --git a/sys-fs/erofs-utils/metadata.xml b/sys-fs/erofs-utils/metadata.xml
74 new file mode 100644
75 index 000000000000..8d82bd8bcd40
76 --- /dev/null
77 +++ b/sys-fs/erofs-utils/metadata.xml
78 @@ -0,0 +1,16 @@
79 +<?xml version="1.0" encoding="UTF-8"?>
80 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
81 +<pkgmetadata>
82 + <maintainer type="person" proxied="yes">
83 + <email>i.gentoo@×××××.name</email>
84 + <name>WANG Xuerui</name>
85 + </maintainer>
86 + <maintainer type="project" proxied="proxy">
87 + <email>proxy-maint@g.o</email>
88 + <name>Proxy Maintainers</name>
89 + </maintainer>
90 + <use>
91 + <flag name="fuse">Builds erofsfuse (requires <pkg>sys-fs/fuse</pkg>).</flag>
92 + <flag name="uuid">Enables UUID support via <pkg>sys-apps/util-linux</pkg>.</flag>
93 + </use>
94 +</pkgmetadata>