commit:     04b1c4f10fb322b4a5d27836ca79fc1ba40db430
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Wed Feb  4 07:57:33 2026 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Wed Feb  4 07:58:18 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04b1c4f1

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

Signed-off-by: NRK <nrk <AT> disroot.org>

 app-arch/fuse-archive/Manifest                 |  1 +
 app-arch/fuse-archive/fuse-archive-1.16.ebuild | 60 ++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-arch/fuse-archive/Manifest b/app-arch/fuse-archive/Manifest
index d0f860e901..1314daf721 100644
--- a/app-arch/fuse-archive/Manifest
+++ b/app-arch/fuse-archive/Manifest
@@ -1,5 +1,6 @@
 DIST assert-boost-1.87.0.tar.gz 20645 BLAKE2B 
28ba5b22b5b9811140afb640fa9f891638fd21e4c1e57cee85a5371b1f0b85baf5f2a57a0a7219075c1da6bd136e13c1c723831c3855d2355a42e90d555b1196
 SHA512 
da141f67e0c8926e21d4fae6a1665f1706b300b1a85c1d870546eb74d7382369148846bb939d1d23b84fb0dfc542fdc1dafed613f34adacc5931df7655406276
 DIST config-boost-1.87.0.tar.gz 386554 BLAKE2B 
e1c7f9dcaf190c8b7d6a70bb161535af3d177c66a4305f25e9e192c4b6fa20e7823bff956859440a5fe41bc10d13f0f1bc85b7ce0c54acabf60be6c10da86d00
 SHA512 
8958ac0f764ab83481f38931a860c0b7cdad8ced4882d1fa57f570d6ebcb0ef000f33ca896faca392c85336406cbb791bf5114c38a15e0a5dcba5bb69ee5526f
 DIST fuse-archive-1.12.tar.gz 624697 BLAKE2B 
ef72ee0f6f9bf586430b527dc317692fc9dae009bbee81cc0d2a1c641fd9f604400618ac07f8c22c4df18f1cf70eab935ad929f2622575ac691c4ccbe146349c
 SHA512 
30d82cc5957ebfc75b5dd36ef86b87a32d4e572ca3104598da4c2b2b265263fe4ae472052bed497b105e91f39e9d47190c7707001285cc187258fd1eb129d3f2
+DIST fuse-archive-1.16.tar.gz 634488 BLAKE2B 
a0d0a8f36925c1d8edf8e436c53372fbd9e2332fb1b3d5ccdc98b52139818d142442ee0b7f6efe534c87992ec03f9a14c08fbc73eae4f73b60b4b36c213625fc
 SHA512 
99d19e769835c096e403d863e49c8aded27fc0a9f2ad58ceab7f70e661134b0331469ad7f8681d53f536a1a320f40cc7df4828369024a7a7130219e5a78552f3
 DIST intrusive-boost-1.87.0.tar.gz 342888 BLAKE2B 
199a381231c6d4262cb1a434b9f6517dd5d0bc0be6424ad51010c09a7537e392bb3d508b38ed0384ecf71106522ea5bcc5e3d4ba9babc1e36618b4a5d257c8f1
 SHA512 
121621bd745c26d095f09837db60ea736bd5ae2657407ee7ca82f00c9cfd22e94c5d160809da974912bee07e41b607504b3c5f6634dc390bdf88be48568341f5
 DIST move-boost-1.87.0.tar.gz 133396 BLAKE2B 
14946fc2f3bfd70a6e0a76c4d8560ef05ff7c71350b7a72799c1cd935fcf3ba834ad5e52e71d9210650af57257efa107af3d427296c874d3027eb9a907f8a5a1
 SHA512 
3257cd363abe95c73c0f02df60b60d08ff3b3d28f24de36269ee8f58e1b81a9831052dbf463dcbd1ea789368f37d3eeff37e005bc26fe9dd6c179b949c71ba9b

diff --git a/app-arch/fuse-archive/fuse-archive-1.16.ebuild 
b/app-arch/fuse-archive/fuse-archive-1.16.ebuild
new file mode 100644
index 0000000000..393cca89c5
--- /dev/null
+++ b/app-arch/fuse-archive/fuse-archive-1.16.ebuild
@@ -0,0 +1,60 @@
+# 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-intrusive
+# Just vendor it to avoid bringing in entirety of boost as a dependency
+BOOST_VERSION="boost-1.87.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
+"
+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 + a lot of format support.
+# also takes a lot of disk space (and time) by generating big.zip.
+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"
+       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"
+}

Reply via email to