commit:     1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8
Author:     WANG Xuerui <git <AT> xen0n <DOT> name>
AuthorDate: Tue Oct 19 04:38:34 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 17:10:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1862a7a9

sys-fs/erofs-utils: new ebuild

Signed-off-by: WANG Xuerui <git <AT> xen0n.name>
Closes: https://github.com/gentoo/gentoo/pull/22633
Closes: https://bugs.gentoo.org/701284
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-fs/erofs-utils/Manifest               |  1 +
 sys-fs/erofs-utils/erofs-utils-1.3.ebuild | 38 +++++++++++++++++++++++++++++++
 sys-fs/erofs-utils/metadata.xml           | 16 +++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/sys-fs/erofs-utils/Manifest b/sys-fs/erofs-utils/Manifest
new file mode 100644
index 000000000000..80561cc1fd72
--- /dev/null
+++ b/sys-fs/erofs-utils/Manifest
@@ -0,0 +1 @@
+DIST erofs-utils-1.3.tar.gz 66135 BLAKE2B 
1051cf387d059d71b91e0a940c86b819593902606ae4665a7801e9597dd72987385bee997d2d63b186c493557ee22118aff23161e48e25ee8f4859f9f6e46f14
 SHA512 
6ddd8402dab80b0375b012ed51ff02b40cbeca9a4a1ba250b14ec6aeb97317ab575e315e9d4dc77ed1d7826c202396d9c0775917106ecbd7b4048168aca0fa6c

diff --git a/sys-fs/erofs-utils/erofs-utils-1.3.ebuild 
b/sys-fs/erofs-utils/erofs-utils-1.3.ebuild
new file mode 100644
index 000000000000..00bd4e1de3bb
--- /dev/null
+++ b/sys-fs/erofs-utils/erofs-utils-1.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Userspace tools for EROFS"
+HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git";
+LICENSE="GPL-2+"
+
+SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/${PN}.git/snapshot/${P}.tar.gz";
+KEYWORDS="~amd64"
+
+SLOT="0"
+IUSE="fuse +lz4 selinux +uuid"
+
+RDEPEND="
+       fuse? ( sys-fs/fuse )
+       lz4? ( app-arch/lz4:0= )
+       selinux? ( sys-libs/libselinux:0= )
+       uuid? ( sys-apps/util-linux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable fuse) \
+               $(use_enable lz4) \
+               $(use_with selinux) \
+               $(use_with uuid)
+}

diff --git a/sys-fs/erofs-utils/metadata.xml b/sys-fs/erofs-utils/metadata.xml
new file mode 100644
index 000000000000..8d82bd8bcd40
--- /dev/null
+++ b/sys-fs/erofs-utils/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>i.gen...@xen0n.name</email>
+               <name>WANG Xuerui</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <use>
+               <flag name="fuse">Builds erofsfuse (requires 
<pkg>sys-fs/fuse</pkg>).</flag>
+               <flag name="uuid">Enables UUID support via 
<pkg>sys-apps/util-linux</pkg>.</flag>
+       </use>
+</pkgmetadata>

Reply via email to