public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "WANG Xuerui" <xen0n@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/erofs-utils/
Date: Tue, 13 Aug 2024 07:10:25 +0000 (UTC)	[thread overview]
Message-ID: <1723532304.0462edaa19196669521e3c09fc8bb153f435be2b.xen0n@gentoo> (raw)

commit:     0462edaa19196669521e3c09fc8bb153f435be2b
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 06:58:24 2024 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 06:58:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0462edaa

sys-fs/erofs-utils: add 1.8.1

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

 sys-fs/erofs-utils/Manifest                 |  1 +
 sys-fs/erofs-utils/erofs-utils-1.8.1.ebuild | 59 +++++++++++++++++++++++++++++
 sys-fs/erofs-utils/metadata.xml             |  1 +
 3 files changed, 61 insertions(+)

diff --git a/sys-fs/erofs-utils/Manifest b/sys-fs/erofs-utils/Manifest
index 96e333932c0b..1bf48e6d6a1a 100644
--- a/sys-fs/erofs-utils/Manifest
+++ b/sys-fs/erofs-utils/Manifest
@@ -1,2 +1,3 @@
 DIST erofs-utils-1.6.tar.gz 126558 BLAKE2B ad4ce3777c484d485b91f29a97c08499398595d654a4ad63e1cc6a75c176b0476d3af1d7a2bf1ef5f6df996281c1b1bdfdf004be4428c0c168652af68acd83d1 SHA512 1537c5cb60cb70c607b8c00408451f90122fe902d80c9d35dde7b9205588ae3513ddd7cb38d4062e55bb57e37d9b53a668752792e6cba0bc0d78176afed3e502
 DIST erofs-utils-1.7.tar.gz 165393 BLAKE2B f22183fbc3346db0632f0fc842586251d0e17ea19e1de3be51cd807dfac4a6150a080d6b81625c3e08eeebc2ae28d7840f8209c905ca87fc70481d3d8c3913ec SHA512 0f204cd40644bde28f9bd0c5c234d93e68db3a3998bb089f43bfb3ce9a9db1e1cc2fa65919205cbd4a484fa4388cffadf5b395bc4363de3882e1a19778c2d62b
+DIST erofs-utils-1.8.1.tar.gz 184385 BLAKE2B 0ecf7ad0d42f3941751511f3ab42e7e25b85dc64849867a221272cf4596f6bfff3cb1c22877a485de79b4445f68eea8e77cb3f8c742a23ee5ad7ce0232b85091 SHA512 b7fe2441e5295680bc683e978ad97ee359785fd842d77fa86ef6bf869b5da87ad613f48782b5f59684995b6cbc5c274938c9ea9067baa537f09c029eabb4cca3

diff --git a/sys-fs/erofs-utils/erofs-utils-1.8.1.ebuild b/sys-fs/erofs-utils/erofs-utils-1.8.1.ebuild
new file mode 100644
index 000000000000..07c3889f14bb
--- /dev/null
+++ b/sys-fs/erofs-utils/erofs-utils-1.8.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021-2024 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="
+	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
+	)
+
+	econf "${myeconfargs[@]}"
+}

diff --git a/sys-fs/erofs-utils/metadata.xml b/sys-fs/erofs-utils/metadata.xml
index bcc4b30fe149..eaf0493a8357 100644
--- a/sys-fs/erofs-utils/metadata.xml
+++ b/sys-fs/erofs-utils/metadata.xml
@@ -7,6 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="fuse">Builds erofsfuse (requires <pkg>sys-fs/fuse</pkg>).</flag>
+		<flag name="libdeflate">Use <pkg>app-arch/libdeflate</pkg> rather than <pkg>sys-libs/zlib</pkg> for handling deflate compression.</flag>
 		<flag name="uuid">Enables UUID support via <pkg>sys-apps/util-linux</pkg>.</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2024-08-13  7:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-13  7:10 WANG Xuerui [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-05 10:33 [gentoo-commits] repo/gentoo:master commit in: sys-fs/erofs-utils/ WANG Xuerui
2025-01-05 10:33 WANG Xuerui
2023-11-13  1:05 Sam James
2023-09-28 11:01 WANG Xuerui
2023-09-27 16:44 WANG Xuerui
2023-09-27 16:44 WANG Xuerui
2023-07-18  2:50 WANG Xuerui
2023-06-28 17:31 WANG Xuerui
2023-06-28 17:31 WANG Xuerui
2023-01-16  6:39 WANG Xuerui
2023-01-16  6:39 WANG Xuerui
2023-01-16  6:39 WANG Xuerui
2022-08-12 13:02 WANG Xuerui
2022-05-05  7:10 WANG Xuerui
2022-03-18  4:20 Xuerui WANG
2022-03-15  8:07 Xuerui WANG
2022-01-11  7:52 Florian Schmaus
2022-01-05 18:06 Florian Schmaus
2022-01-05 17:12 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1723532304.0462edaa19196669521e3c09fc8bb153f435be2b.xen0n@gentoo \
    --to=xen0n@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox