commit:     32b6dba1e28039b14284bb10dfbe6c9ea04ae811
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Thu May 18 14:05:03 2023 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Thu May 18 14:09:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32b6dba1

app-arch/fuse-archive: init

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

 app-arch/fuse-archive/Manifest                   |  1 +
 app-arch/fuse-archive/fuse-archive-0.1.14.ebuild | 37 ++++++++++++++++++++++++
 app-arch/fuse-archive/metadata.xml               | 10 +++++++
 3 files changed, 48 insertions(+)

diff --git a/app-arch/fuse-archive/Manifest b/app-arch/fuse-archive/Manifest
new file mode 100644
index 000000000..cb1ac3921
--- /dev/null
+++ b/app-arch/fuse-archive/Manifest
@@ -0,0 +1 @@
+DIST fuse-archive-0.1.14.tar.gz 59066 BLAKE2B 
f60a9d5c2f722ba1a8a9f853bb268923d16957137dcb503c4b8499415c98ce4f3c55e2db2d77d11e98ecf7539aaaf6851d44499303ec5f286b95cfe0e293b433
 SHA512 
03bdb9d360e3677dc10e2728919c3c6cdd712487d768db4cd2ccf9f1b7e725828119132bf539f08e54d0fc9df9fa534e4b374a626c4bd1f4ca519e46e90a6a8b

diff --git a/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild 
b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
new file mode 100644
index 000000000..a57506a3e
--- /dev/null
+++ b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 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";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/google/fuse-archive.git";
+else
+       SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       sys-fs/fuse:0
+       app-arch/libarchive
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+       emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+       dobin out/fuse-archive
+}
+
+# TODO(NRK): enable tests

diff --git a/app-arch/fuse-archive/metadata.xml 
b/app-arch/fuse-archive/metadata.xml
new file mode 100644
index 000000000..64ed95d08
--- /dev/null
+++ b/app-arch/fuse-archive/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>n...@disroot.org</email>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">google/fuse-archive</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to