app-arch/fuse-archive: add v1.20

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2026-04-27 01:23:43 +00:00
parent 87daaa2d1c
commit 3166ed5575
2 changed files with 76 additions and 0 deletions

View File

@@ -1,5 +1,13 @@
DIST assert-boost-1.87.0.tar.gz 20645 BLAKE2B 28ba5b22b5b9811140afb640fa9f891638fd21e4c1e57cee85a5371b1f0b85baf5f2a57a0a7219075c1da6bd136e13c1c723831c3855d2355a42e90d555b1196 SHA512 da141f67e0c8926e21d4fae6a1665f1706b300b1a85c1d870546eb74d7382369148846bb939d1d23b84fb0dfc542fdc1dafed613f34adacc5931df7655406276
DIST assert-boost-1.91.0.tar.gz 21028 BLAKE2B ff51ba9039415b29df6d363dc373172afca7be19ede3b8bf215f2e5b2fd75a645be2098b29d02ee7b28d211c4f803261830ce1a72a7c577999125cf79dbcb90b SHA512 6938da97de7d223c1459c038824148b467a53ce385b29e7f56df7788b5af0bb504598a042f9662d8d4a8337eb71365d47062b078783570a089263ae4b9400c02
DIST config-boost-1.87.0.tar.gz 386554 BLAKE2B e1c7f9dcaf190c8b7d6a70bb161535af3d177c66a4305f25e9e192c4b6fa20e7823bff956859440a5fe41bc10d13f0f1bc85b7ce0c54acabf60be6c10da86d00 SHA512 8958ac0f764ab83481f38931a860c0b7cdad8ced4882d1fa57f570d6ebcb0ef000f33ca896faca392c85336406cbb791bf5114c38a15e0a5dcba5bb69ee5526f
DIST config-boost-1.91.0.tar.gz 399041 BLAKE2B 8a0abecb67b57d1c6e3c10ec39c306c794704b9b2e083d04121c03a04a8fa667cc6bf23fa984eedbc95762074e544ffe69c732fa5d81fb8f41d11c3d1cb598a0 SHA512 e2f264e3986000656a1c46930e2ce6a83ab07d09a88c286ce0b2509e56760549a1dcffd6c0f81d2edb019fdb632b7ec0ccaa9948e29d8b4b6f67dfc18e804c11
DIST container_hash-boost-1.91.0.tar.gz 67307 BLAKE2B f1d6f970daeaecd28426bce017b64bb06885395f098b13f03c12d53f9e5b3e950bf872b94e9f88ba8261a0839b6f232090f562cff2f68c5f016eaed3b4f96b75 SHA512 abf57f8a1082bad85b5fc1f9afd82eb6bb628b27f6edc985d397222de846dff9876e01097646c6102553bdf3aded4d4c0bedcd84beda95895a506e88230a1bc3
DIST describe-boost-1.91.0.tar.gz 43876 BLAKE2B 2efced43db0200d16491293a1eddeede12f31ec99fecb6fa9ea998f3789ada7ab3f98d2ee4d1bb5b9a1b7f312db9a013fe4da333b8206b7615edb15c0df35e2b SHA512 28c3be98401b5e4f55fc42485541a9a6abcee9c7eb285384a95cc161c0beef3b1d85945c163ef762bcd50da1a21bf05b3debb3364109c37226eba177f09b9f45
DIST fuse-archive-1.16.tar.gz 634488 BLAKE2B a0d0a8f36925c1d8edf8e436c53372fbd9e2332fb1b3d5ccdc98b52139818d142442ee0b7f6efe534c87992ec03f9a14c08fbc73eae4f73b60b4b36c213625fc SHA512 99d19e769835c096e403d863e49c8aded27fc0a9f2ad58ceab7f70e661134b0331469ad7f8681d53f536a1a320f40cc7df4828369024a7a7130219e5a78552f3
DIST fuse-archive-1.20.tar.gz 684593 BLAKE2B 8efce8ca81df85b7f7709d56a65ab1fcfae955aa6fefc1078be5652930f745d91ce0366385670708dcecd5451063e6d2ea8de17eb5a4dbbbaccd891c0b2d15e8 SHA512 ae371a5c664877bfd1be1098798435b4c77725a388cfc978120d82a4d356226cd15c8b2af6f35c8e5645d7a110fe04113947e87880775519b13168943bf1a73f
DIST intrusive-boost-1.87.0.tar.gz 342888 BLAKE2B 199a381231c6d4262cb1a434b9f6517dd5d0bc0be6424ad51010c09a7537e392bb3d508b38ed0384ecf71106522ea5bcc5e3d4ba9babc1e36618b4a5d257c8f1 SHA512 121621bd745c26d095f09837db60ea736bd5ae2657407ee7ca82f00c9cfd22e94c5d160809da974912bee07e41b607504b3c5f6634dc390bdf88be48568341f5
DIST intrusive-boost-1.91.0.tar.gz 346472 BLAKE2B 129a4ca267ab55b98eaa88b04b3b608e731d776440e8d68df8393d2918a6c018d10ca8eb72d866f8a91ed263c3bdb69cbe0ae4b5b326c2d37d4e0b8926ac69ae SHA512 e0addaec63ab6e5712855a29fa77acba68cf4a99067ba3dc1a312788d6dd465adb7aefdb555c65611e970ccb1ef26937f7c0b1f647e139e20c86e0bb005850d5
DIST move-boost-1.87.0.tar.gz 133396 BLAKE2B 14946fc2f3bfd70a6e0a76c4d8560ef05ff7c71350b7a72799c1cd935fcf3ba834ad5e52e71d9210650af57257efa107af3d427296c874d3027eb9a907f8a5a1 SHA512 3257cd363abe95c73c0f02df60b60d08ff3b3d28f24de36269ee8f58e1b81a9831052dbf463dcbd1ea789368f37d3eeff37e005bc26fe9dd6c179b949c71ba9b
DIST move-boost-1.91.0.tar.gz 135657 BLAKE2B 537add52b8685d6458bf8522e4125d7ae25d3186d3e0a1e3e5e2ba51d7a64ce1c580ef85482f6331a12873c4185c541512ae03c8fc929c84510c80fd6d2774d3 SHA512 8d0db64e06529f32114aa6228089baa148e48d37c211334827b2c4d66d34ad839e1652f7b0a667db9885f66bcc739d039c670e3f061a37d8a65bc5dca554d495
DIST mp11-boost-1.91.0.tar.gz 130942 BLAKE2B 3c3716beb463d91865d28dfa06b024f51cedc9c69ae01d8007173229d70d10b7970da5bcc154c073a9baf598c92fbed9cd20db5e06b28959f4c9bdce000cef6a SHA512 5951acc5ab2f5661d9ac84654b6ba2761455469c9e2b52236ad4bbd5f1feac7c136fd07144dbf6954143e80b0dc12da09165f31e42107eb682bca4e46bf93225

View File

@@ -0,0 +1,68 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs flag-o-matic optfeature
DESCRIPTION="Read-only FUSE file system for mounting archives and compressed files"
HOMEPAGE="https://github.com/google/fuse-archive"
# Only uses some header-only library from boost
# Just vendor it to avoid bringing in entirety of boost as a dependency
BOOST_VERSION="boost-1.91.0"
SRC_URI="
https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/boostorg/intrusive/archive/refs/tags/${BOOST_VERSION}.tar.gz -> intrusive-${BOOST_VERSION}.tar.gz
https://github.com/boostorg/config/archive/refs/tags/${BOOST_VERSION}.tar.gz -> config-${BOOST_VERSION}.tar.gz
https://github.com/boostorg/assert/archive/refs/tags/${BOOST_VERSION}.tar.gz -> assert-${BOOST_VERSION}.tar.gz
https://github.com/boostorg/move/archive/refs/tags/${BOOST_VERSION}.tar.gz -> move-${BOOST_VERSION}.tar.gz
https://github.com/boostorg/container_hash/archive/refs/tags/${BOOST_VERSION}.tar.gz ->
container_hash-${BOOST_VERSION}.tar.gz
https://github.com/boostorg/describe/archive/refs/tags/${BOOST_VERSION}.tar.gz -> describe-${BOOST_VERSION}.tar.gz
https://github.com/boostorg/mp11/archive/refs/tags/${BOOST_VERSION}.tar.gz -> mp11-${BOOST_VERSION}.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="fuse2"
DEPEND="
fuse2? ( >=sys-fs/fuse-2.9:0 )
!fuse2? ( >=sys-fs/fuse-3.1:3 )
>=app-arch/libarchive-3.7
"
BDEPEND="virtual/pkgconfig"
RDEPEND="${DEPEND}"
# TODO(NRK): enable tests. requires python.
# use the "fast" test which skips creating large files.
RESTRICT="test"
src_configure() {
sed -i 's|-O2||g' Makefile || die "sed failed"
sed -i 's|-O0 -g||g' Makefile || die "sed failed"
}
src_compile() {
append-cppflags "-I../intrusive-${BOOST_VERSION}/include"
append-cppflags "-I../config-${BOOST_VERSION}/include"
append-cppflags "-I../assert-${BOOST_VERSION}/include"
append-cppflags "-I../move-${BOOST_VERSION}/include"
append-cppflags "-I../container_hash-${BOOST_VERSION}/include"
append-cppflags "-I../describe-${BOOST_VERSION}/include"
append-cppflags "-I../mp11-${BOOST_VERSION}/include"
emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" \
FUSE_MAJOR_VERSION="$(usex fuse2 2 3)"
}
src_install() {
dobin out/fuse-archive
doman fuse-archive.1
}
pkg_postinst() {
optfeature "mounting brotli compressed files" "app-arch/brotli"
optfeature "mounting LZO compressed files" "app-arch/lzop"
optfeature "mounting compress (.Z) files" "app-arch/ncompress" "app-arch/nix-compress"
optfeature "mounting gpg encrypted files" "app-crypt/gnupg"
}