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

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK committed 2025-01-06 04:46:36 +00:00
1 parent fb7de21df2
commit 29e3e0ec59
2 files changed
+56

No files matched your search

+5
View File
@@ -1 +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-0.1.14.tar.gz 59066 BLAKE2B f60a9d5c2f722ba1a8a9f853bb268923d16957137dcb503c4b8499415c98ce4f3c55e2db2d77d11e98ecf7539aaaf6851d44499303ec5f286b95cfe0e293b433 SHA512 03bdb9d360e3677dc10e2728919c3c6cdd712487d768db4cd2ccf9f1b7e725828119132bf539f08e54d0fc9df9fa534e4b374a626c4bd1f4ca519e46e90a6a8b
DIST fuse-archive-1.4.tar.gz 870121 BLAKE2B 218735c0610ddb461c80157fbab23f3f57bfc88d52af0250d688e42c4d79c1298007670921c82b1c9a23ea85fe13770b51ebf8598f6b8b6388a9f9aaed2c1c83 SHA512 71fc289f99340f3e65e8eb5d9799eb5f1b5a5c020f3b6b53cdcb683c20a6809e3a4ab1ecd7715ffc83209eafd73cad4c675c24eb76e08d1545388639051f3898
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
@@ -0,0 +1,51 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
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"
DEPEND="
sys-fs/fuse:0
app-arch/libarchive
"
BDEPEND="virtual/pkgconfig"
RDEPEND="${DEPEND}"
# TODO(NRK): enable tests. requires python.
# also takes a lot of disk space (and time) by generating big.zip.
src_test() {
:
}
src_compile() {
local incpath=""
incpath="${incpath} -I../intrusive-${BOOST_VERSION}/include"
incpath="${incpath} -I../config-${BOOST_VERSION}/include"
incpath="${incpath} -I../assert-${BOOST_VERSION}/include"
incpath="${incpath} -I../move-${BOOST_VERSION}/include"
emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" \
CPPFLAGS="${incpath} ${CPPFLAGS}"
}
src_install() {
dobin out/fuse-archive
doman fuse-archive.1
}