diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-08-16 21:45:23 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-08-16 21:48:24 +0300 |
commit | fbc5f385eb2cea296cc16c728e19b50286dd81e1 (patch) | |
tree | 6b2922d13db3c22e8c015ee8f95f3ac63a1118ef /sys-fs | |
parent | sci-electronics/librepcb: version up to 1.1.0 (diff) | |
download | gentoo-fbc5f385eb2cea296cc16c728e19b50286dd81e1.tar.gz gentoo-fbc5f385eb2cea296cc16c728e19b50286dd81e1.tar.bz2 gentoo-fbc5f385eb2cea296cc16c728e19b50286dd81e1.zip |
sys-fs/squashfuse: add 0.5.2
Closes: https://bugs.gentoo.org/934146
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/squashfuse/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/squashfuse/squashfuse-0.5.2.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-fs/squashfuse/Manifest b/sys-fs/squashfuse/Manifest index c6eae32cb444..2bc4633b6a66 100644 --- a/sys-fs/squashfuse/Manifest +++ b/sys-fs/squashfuse/Manifest @@ -1,2 +1,3 @@ DIST squashfuse-0.1.103.tar.gz 399524 BLAKE2B 985ce64052c55a03d4889674682cf8b3bf6fab96de18d38b5b6125a6b2bdf0ec40e9f18a13bb77ea1a963fd0e7debf08d5f4819c543a62a818389b5fa7884815 SHA512 bc640898a5756ceed3260d9dea61dcb54588381b787a50c0fbfce35658fdf7d2788babf4882c369d1981ff853a91f043de8c68727aedc33646c26db4fb0ab2c0 DIST squashfuse-0.1.105.tar.gz 65644 BLAKE2B 209808164a2803d1f4dedad048f29a809d92e5260193ff2db6a4eed4d887273f6b0b2a673123b9c460e587b9f9884c4115e2323f8de7f26535abcfe4de99ea20 SHA512 6bf18575fd4732f3b0e4530902f2556859c2efbbd781a31bdbf97fe6601412dc750a80354a8ab08a3132d4f8680ea5ff0dd04440f29243906f1017aa6c70bede +DIST squashfuse-0.5.2.tar.gz 75404 BLAKE2B bb0005395ad993932d27eccbf0aa57d587af19054e16cb2cb4cce13f9d97be011b70c3cffa5b21c4fbef294686b64dfa45e941e8a0fa10a6bea1e9264abf6b8b SHA512 4380d73afa47105e2188a4eebc6b54c5961a2ba38e5986865b7fd762ed0aea7d24b0d9f5b674abd9c29f73a336bd69142db7869a548560723f60559859cdd7f3 diff --git a/sys-fs/squashfuse/squashfuse-0.5.2.ebuild b/sys-fs/squashfuse/squashfuse-0.5.2.ebuild new file mode 100644 index 000000000000..5f803e6982ab --- /dev/null +++ b/sys-fs/squashfuse/squashfuse-0.5.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2016-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="FUSE filesystem to mount squashfs archives" +HOMEPAGE="https://github.com/vasi/squashfuse" +SRC_URI="https://github.com/vasi/${PN}/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 )" +RESTRICT="test" # Tests require access to /dev/fuse. + +DEPEND=" + >=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() { + filter-lto + filter-flags -fwhole-program -fno-common + + local econfargs=( + $(use_enable static-libs static) + $(use lz4 || echo --without-lz4) + $(use lzma || echo --without-xz) + $(use lzo || echo --without-lzo) + $(use zlib || echo --without-zlib) + $(use zstd || echo --without-zstd) + ) + + econf "${econfargs[@]}" +} + +src_install() { + default + find "${ED}" -name "*.la" -type f -delete || die +} |