public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/squashfuse/
Date: Tue, 25 Mar 2025 22:22:23 +0000 (UTC)	[thread overview]
Message-ID: <1742941337.8117093d88113f7830975df515ea7d21e795b035.zmedico@gentoo> (raw)

commit:     8117093d88113f7830975df515ea7d21e795b035
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Mar 25 21:44:46 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Mar 25 22:22:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8117093d

sys-fs/squashfuse: add 0.6.0

* Let tests work with test_priviledged.
* Remove unexplained flag filtering.
* Use "usev !flag option" notation instead of "use flag || echo option".

Bug: https://bugs.gentoo.org/952056
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41291
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 sys-fs/squashfuse/Manifest                |  1 +
 sys-fs/squashfuse/squashfuse-0.6.0.ebuild | 63 +++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/sys-fs/squashfuse/Manifest b/sys-fs/squashfuse/Manifest
index 1cfe976f0a6b..b5ae88695919 100644
--- a/sys-fs/squashfuse/Manifest
+++ b/sys-fs/squashfuse/Manifest
@@ -1 +1,2 @@
 DIST squashfuse-0.5.2.tar.gz 75404 BLAKE2B bb0005395ad993932d27eccbf0aa57d587af19054e16cb2cb4cce13f9d97be011b70c3cffa5b21c4fbef294686b64dfa45e941e8a0fa10a6bea1e9264abf6b8b SHA512 4380d73afa47105e2188a4eebc6b54c5961a2ba38e5986865b7fd762ed0aea7d24b0d9f5b674abd9c29f73a336bd69142db7869a548560723f60559859cdd7f3
+DIST squashfuse-0.6.0.tar.gz 76068 BLAKE2B dea168bb7b282d18170657948daedaadeb0bd8a046f643b59d5ddf9d6c5e030f36307ed7386edb83a2feec6b827a97213081f147e4d817552c7e771a78dab144 SHA512 48475860d28f571f76890753828eeddf947516fa3dc9e863f799be059b01233d10cb0af44ae22e9c4f4112ddf2586add5c4b9fac9654481fce5e2ef55fadb8e6

diff --git a/sys-fs/squashfuse/squashfuse-0.6.0.ebuild b/sys-fs/squashfuse/squashfuse-0.6.0.ebuild
new file mode 100644
index 000000000000..10b2410ff0d0
--- /dev/null
+++ b/sys-fs/squashfuse/squashfuse-0.6.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2016-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="FUSE filesystem to mount squashfs archives"
+HOMEPAGE="https://github.com/vasi/squashfuse"
+SRC_URI="https://github.com/vasi/squashfuse/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="lz4 lzma lzo static-libs +zlib zstd"
+REQUIRED_USE="|| ( lz4 lzma lzo zlib zstd )"
+
+# Tests require access to /dev/fuse.
+RESTRICT="test"
+PROPERTIES="test_privileged"
+
+DEPEND="
+	sys-fs/fuse:=
+	|| (
+		>=sys-fs/fuse-3.2:3
+		>=sys-fs/fuse-2.8.6:0
+	)
+	lzma? ( >=app-arch/xz-utils-5.0.4:= )
+	zlib? ( >=sys-libs/zlib-1.2.5-r2:= )
+	lzo? ( >=dev-libs/lzo-2.06:= )
+	lz4? ( >=app-arch/lz4-0_p106:= )
+	zstd? ( app-arch/zstd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local econfargs=(
+		$(use_enable static-libs static)
+		$(usev !lz4 --without-lz4)
+		$(usev !lzma --without-xz)
+		$(usev !lzo --without-lzo)
+		$(usev !zlib --without-zlib)
+		$(usev !zstd --without-zstd)
+	)
+
+	econf "${econfargs[@]}"
+}
+
+src_test() {
+	addwrite /dev/fuse
+	default
+}
+
+src_install() {
+	default
+	find "${ED}" -name "*.la" -type f -delete || die
+}


             reply	other threads:[~2025-03-25 22:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-25 22:22 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-25 22:22 [gentoo-commits] repo/gentoo:master commit in: sys-fs/squashfuse/ Zac Medico
2024-11-04  1:29 Andreas K. Hüttel
2024-10-24  1:03 Sam James
2024-08-16 18:48 Arthur Zamarin
2024-08-16 18:48 Arthur Zamarin
2023-06-24  2:59 Sam James
2023-04-19  1:07 Sam James
2022-10-08 22:29 Zac Medico
2022-10-08 10:08 Agostino Sarubbo
2022-10-07 22:56 Zac Medico
2022-10-04 15:02 Marek Szuba
2022-08-31  5:34 Andreas Sturmlechner
2019-01-08  9:42 Tim Harder
2018-12-24  8:16 Zac Medico
2018-12-24  7:56 Zac Medico
2016-07-31 19:56 Zac Medico
2016-07-31 19:52 Zac Medico

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=1742941337.8117093d88113f7830975df515ea7d21e795b035.zmedico@gentoo \
    --to=zmedico@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