sys-fs/squashfuse: add 0.6.1

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-12-20 17:04:45 +02:00
parent a470c02a6f
commit ebf9f42c75
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 60 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST squashfuse-0.6.0.tar.gz 76068 BLAKE2B dea168bb7b282d18170657948daedaadeb0bd8a046f643b59d5ddf9d6c5e030f36307ed7386edb83a2feec6b827a97213081f147e4d817552c7e771a78dab144 SHA512 48475860d28f571f76890753828eeddf947516fa3dc9e863f799be059b01233d10cb0af44ae22e9c4f4112ddf2586add5c4b9fac9654481fce5e2ef55fadb8e6 DIST squashfuse-0.6.0.tar.gz 76068 BLAKE2B dea168bb7b282d18170657948daedaadeb0bd8a046f643b59d5ddf9d6c5e030f36307ed7386edb83a2feec6b827a97213081f147e4d817552c7e771a78dab144 SHA512 48475860d28f571f76890753828eeddf947516fa3dc9e863f799be059b01233d10cb0af44ae22e9c4f4112ddf2586add5c4b9fac9654481fce5e2ef55fadb8e6
DIST squashfuse-0.6.1.tar.gz 76551 BLAKE2B f80f441691bb8c4e58538eafa0ddb5230db8f80cfd2670526eabd7330cf3073aac82ed1678938c7696b2d8606fb10df502c8caa58ecc5ff15b05eddad39e045d SHA512 4c3a24d94b9246dc1a7af27e3fd317b2a582abf929f6499b87941e0a0b708391bfff0f1fc40040ac337f634e3705f23fc60a5b69072c6eeb400bb8d2a1b486ab

View File

@ -0,0 +1,59 @@
# 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"
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-3.16:3=
lzma? ( >=app-arch/xz-utils-5.0.4:= )
zlib? ( >=virtual/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
}