summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Xuerui <git@xen0n.name>2021-10-19 12:38:34 +0800
committerFlorian Schmaus <flow@gentoo.org>2022-01-05 18:10:05 +0100
commit1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8 (patch)
tree4a8475934be85eba93cf8f216b75e34bc840e49c /sys-fs/erofs-utils
parentgnome-extra/gnome-boxes: bump to 41.2 (diff)
downloadgentoo-1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8.tar.gz
gentoo-1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8.tar.bz2
gentoo-1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8.zip
sys-fs/erofs-utils: new ebuild
Signed-off-by: WANG Xuerui <git@xen0n.name> Closes: https://github.com/gentoo/gentoo/pull/22633 Closes: https://bugs.gentoo.org/701284 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-fs/erofs-utils')
-rw-r--r--sys-fs/erofs-utils/Manifest1
-rw-r--r--sys-fs/erofs-utils/erofs-utils-1.3.ebuild38
-rw-r--r--sys-fs/erofs-utils/metadata.xml16
3 files changed, 55 insertions, 0 deletions
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.gentoo@xen0n.name</email>
+ <name>WANG Xuerui</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@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>