From: "Denis Reva" <denis7774@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/
Date: Sun, 22 Sep 2024 09:41:32 +0000 (UTC) [thread overview]
Message-ID: <1726998065.92f9e16154e29d9a90917ebfc13ad0fd52f02ffe.RarogCmex@gentoo> (raw)
commit: 92f9e16154e29d9a90917ebfc13ad0fd52f02ffe
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Sep 22 09:40:55 2024 +0000
Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Sep 22 09:41:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92f9e161
sys-fs/dwarfs-bin: add 0.10.1
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
sys-fs/dwarfs-bin/Manifest | 2 +
sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild | 67 ++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index b16395d5f..871b24ab2 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,2 +1,4 @@
+DIST dwarfs-bin-0.10.1-amd64.tar.xz 7342460 BLAKE2B c9e4b053d8f6082a31007d394333693e4ba1c999bd797affa5f1bdcc5e28c834db664952c8ec0c29a94ed98b111df369ddd321f434beecd486d25c9580d2b497 SHA512 850bf3f1747e0bcb9fe458a691036bf3eca4ed6bd44c00033e34ae25f07a38c35905947fc407b65caa41ebe2662ec1474368cfe338df234447bafab50d54a850
+DIST dwarfs-bin-0.10.1-arm64.tar.gz 6427628 BLAKE2B 656bbf5cc9b0faa82560bc6589d4d7ea4837966abfd1fa46c5f07470e87769ed4864d0895ef8d1cf6d800cee8e6d1ac70fd704f0bca516ffaa9e29202889ec7a SHA512 15de8bd5f6ee073f4a9d540929ab210fc9faf163a5dc5271abbaac67c81b402a0b11748fc0c80c65a9804744671eb4498f03634733ba1d15c1d5133b4150e33b
DIST dwarfs-bin-0.9.10-amd64.tar.xz 8076224 BLAKE2B c2ed06683c5bb1989a6c3d9381514c750274cae9ba9fed7eedb96fd6a6202f09e14df1a45362a570b5f112e15e472ddf7e9bc368ad70a848aecf3b09bc94402a SHA512 9633f59fa1afdc9ebe8260ce6d29b78fbb6b2c5905edf8884b2e6b608c1c04fdcb1b464d4842e0e75eb5e16d766bf8aaf6f890b7aa1fae8cb7127309e7f2c49a
DIST dwarfs-bin-0.9.10-arm64.tar.gz 7044940 BLAKE2B a893efa702423a5cfbe87117fe0674e8cba33bdaef95535ef6779e096d58c5002cd672c6e6ae378ae9f5641a19eb4b5e601e929a1bd1b4416208910ef80507ed SHA512 e32e9693a825335b311e454c5556decf8ccd74ce872cd4d61f2243e1fb000950436bb1b7336bf4341cd26820b9ffe6d383b2d2425329ba3ceac78fb415a1edf2
diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild b/sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild
new file mode 100644
index 000000000..8b117c98f
--- /dev/null
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Static version of a fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+SRC_URI="
+ amd64? ( https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-x86_64-clang.tar.xz -> ${P}-amd64.tar.xz )
+ arm64? ( https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-aarch64-clang.tar.xz -> ${P}-arm64.tar.gz )
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ sys-fs/fuse:3
+"
+DEPEND="
+ ${RDEPEND}
+"
+QA_PREBUILT="
+ opt/dwarfs-bin/bin/*
+ opt/dwarfs-bin/sbin/*
+"
+
+src_unpack() {
+ if use amd64; then
+ S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64-clang"
+ elif use arm64; then
+ S="${WORKDIR}/dwarfs-${PV}-Linux-aarch64-clang"
+ fi
+
+ default
+}
+
+src_prepare() {
+ default
+ einfo "Removing legacy fuse2-related stuff..."
+ rm sbin/dwarfs2 sbin/mount.dwarfs2 || die
+ einfo "Done."
+}
+
+src_install(){
+ mkdir -p "${ED}/opt/${PN}" || die
+ mv "${S}"/* "${ED}/opt/${PN}" || die
+
+ for file in "${ED}/opt/${PN}/bin"/*; do
+ dosym "../${PN}/bin/$(basename "${file}")" "/opt/bin/$(basename "${file}")"
+ done
+ for file in "${ED}/opt/${PN}/sbin"/*; do
+ dosym "../${PN}/sbin/$(basename "${file}")" "/opt/bin/$(basename "${file}")"
+ done
+
+ newenvd - "90${P}" <<-_EOF_
+ MANPATH="${EPREFIX}/opt/${PN}/share/man"
+ _EOF_
+}
+
+pkg_postinst(){
+ elog "You may find more information in the"
+ elog "${HOMEPAGE}"
+ elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+ elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}
next reply other threads:[~2024-09-22 9:41 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-22 9:41 Denis Reva [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 12:42 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/ Denis Reva
2024-05-16 15:06 Denis Reva
2024-02-24 9:07 Denis Reva
2024-02-17 9:02 Denis Reva
2024-02-12 7:27 Denis Reva
2024-02-08 19:13 YiFei Zhu
2024-01-23 11:08 YiFei Zhu
2024-01-19 6:43 YiFei Zhu
2024-01-10 7:15 YiFei Zhu
2024-01-10 7:06 YiFei Zhu
2024-01-08 8:50 YiFei Zhu
2024-01-07 11:07 Denis Reva
2023-08-16 13:08 Denis Reva
2023-07-25 17:05 Denis Reva
2023-07-10 5:28 Denis Reva
2023-05-27 16:35 Rahul Sandhu
2023-02-28 14:51 Denis Reva
2023-02-28 13:12 Denis Reva
2023-02-28 13:12 Denis Reva
2023-02-28 13:12 Denis Reva
2022-06-22 5:40 Denis Reva
2022-06-22 5:40 Denis Reva
2022-06-14 6:35 Denis Reva
2022-03-24 6:29 Denis Reva
2022-03-19 11:50 Denis Reva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1726998065.92f9e16154e29d9a90917ebfc13ad0fd52f02ffe.RarogCmex@gentoo \
--to=denis7774@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox