commit:     fdbb7e3b230f491528f5bb2e7b84a3642b6a0fcc
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  2 11:48:37 2025 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Aug  2 12:03:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdbb7e3b

sys-fs/erofs-utils: add 1.8.10

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 sys-fs/erofs-utils/Manifest                  |  1 +
 sys-fs/erofs-utils/erofs-utils-1.8.10.ebuild | 63 ++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/sys-fs/erofs-utils/Manifest b/sys-fs/erofs-utils/Manifest
index 55cebbc53f1f..07b48fc20025 100644
--- a/sys-fs/erofs-utils/Manifest
+++ b/sys-fs/erofs-utils/Manifest
@@ -1 +1,2 @@
+DIST erofs-utils-1.8.10.tar.gz 201240 BLAKE2B 
9575258115192dc0ef7999dd1fa44f619f9f62c93cfe28e3e65fd5d9a601b09acdce293552c90f51c2f7b557d8830e856d6706af6ccd98fc157b05f819d136b4
 SHA512 
8c7afd3db55fd4c4f7aa9fbd7ed40fa40de0bfffcee601a3f5dce823d406a32b5e939e24cd6dc336e3033e940fb16ee93f8821f627f90b10e6137113949933dd
 DIST erofs-utils-1.8.4.tar.gz 187276 BLAKE2B 
da0d80abbfd9b2d547c30bad7647165a3500f20e5de0b5db4c54efb27ec895fd069be983193b06d35728f5a8e1490e6cd255207c76135d8978d86e1512430755
 SHA512 
c941b0a2ab6c650a9aa4c9cadeb277ebc87007dc51354ff013c7cb763e6e8c9d44ed9e4791730ed05088faaba8c612198b924e70f5e52019382cfdf6d2e6b677

diff --git a/sys-fs/erofs-utils/erofs-utils-1.8.10.ebuild 
b/sys-fs/erofs-utils/erofs-utils-1.8.10.ebuild
new file mode 100644
index 000000000000..56cd91d0567f
--- /dev/null
+++ b/sys-fs/erofs-utils/erofs-utils-1.8.10.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2021-2025 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";
+
+SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/${PN}.git/snapshot/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong"
+
+IUSE="fuse libdeflate +lz4 +lzma selinux static-libs +threads +uuid +zlib 
+zstd"
+
+RDEPEND="
+       dev-libs/xxhash:0=
+       fuse? ( sys-fs/fuse:0 )
+       lz4? ( app-arch/lz4:0= )
+       lzma? ( >=app-arch/xz-utils-5.4.0:0= )
+       selinux? ( sys-libs/libselinux:0= )
+       uuid? ( sys-apps/util-linux )
+       zlib? (
+               libdeflate? ( app-arch/libdeflate:0= )
+               !libdeflate? ( sys-libs/zlib:0= )
+       )
+       zstd? ( app-arch/zstd:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               --disable-werror
+               $(use_enable fuse)
+               $(use_with libdeflate)
+               $(use_enable lz4)
+               $(use_enable lzma)
+               $(use_with selinux)
+               $(use_enable static-libs static-fuse)
+               $(use_enable threads multithreading)
+               $(use_with uuid)
+               $(use_with zlib)
+               $(use_with zstd libzstd)
+               --without-qpl  # not packaged
+               # do not use bundled xxhash; also upstream says "expected to be
+               # faster than the internal one"
+               --with-xxhash
+       )
+
+       econf "${myeconfargs[@]}"
+}

Reply via email to