public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "YiFei Zhu" <zhuyifei1999@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/
Date: Mon,  8 Jan 2024 08:50:58 +0000 (UTC)	[thread overview]
Message-ID: <1704703781.db3b713d84f87f75c7b9b8a9783a2f3ec00c38e4.zhuyifei1999@gentoo> (raw)

commit:     db3b713d84f87f75c7b9b8a9783a2f3ec00c38e4
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Mon Jan  8 08:49:41 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Mon Jan  8 08:49:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db3b713d

sys-fs/dwarfs-bin: keyword 0.7.4 for -*, ~arm64

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs-bin/Manifest                |  3 ++-
 sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild | 19 ++++++++++++++++---
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 6c6d98f61f..a516c19398 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1 +1,2 @@
-DIST dwarfs-bin-0.7.4.tar.xz 6489712 BLAKE2B b854e0cd7afa118dcbb8f46aead848b2293ee8cac6d6f74d85a789b70ccfdfff94d3d4751018ea0a1c44d1d07997ee32bbe07a5d88bd398515223c48c010f1cc SHA512 a420c10e6190034f584d9710506a874c1ea011a61aff25e8525a2576664bde51799e602884cbaa92ecd27e1450cbe2fce48b040631061723cc3e810d854e8c40
+DIST dwarfs-bin-0.7.4-amd64.tar.xz 6489712 BLAKE2B b854e0cd7afa118dcbb8f46aead848b2293ee8cac6d6f74d85a789b70ccfdfff94d3d4751018ea0a1c44d1d07997ee32bbe07a5d88bd398515223c48c010f1cc SHA512 a420c10e6190034f584d9710506a874c1ea011a61aff25e8525a2576664bde51799e602884cbaa92ecd27e1450cbe2fce48b040631061723cc3e810d854e8c40
+DIST dwarfs-bin-0.7.4-arm64.tar.gz 5628380 BLAKE2B e9224f2881e34b9dc09a61098b63d26010655ba1287d069138fede6276fd075a7b4655a91c9e72b0fc57fc926fd6ff42bed367007ba7a6455d91d4692dcc192d SHA512 f2889a9c88872610873b0527342cd0fa4738dd50c5b0ee6ac388d2edefb88548371d193b1206b37d7aa4969b1018f3bdd579d54306266201eb75fe4369775444

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild
index e503792e92..51a3a351ed 100644
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild
@@ -5,11 +5,14 @@ EAPI=7
 
 DESCRIPTION="Static version of a fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-x86_64.tar.xz -> dwarfs-bin-${PV}.tar.xz"
+SRC_URI="
+	amd64? ( https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
+	arm64? ( https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-aarch64.tar.xz -> ${P}-arm64.tar.gz )
+"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="-* ~amd64 ~arm64"
 
 RDEPEND="
 	${PYTHON_DEPS}
@@ -19,11 +22,21 @@ RDEPEND="
 DEPEND="
 	${RDEPEND}
 "
-S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64/"
 QA_PREBUILT="
 	sbin/dwarfs
 	bin/*
 "
+
+src_unpack() {
+	if use amd64; then
+		S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64"
+	elif use arm64; then
+		S="${WORKDIR}/dwarfs-${PV}-Linux-aarch64"
+	fi
+
+	default
+}
+
 src_prepare() {
 	default
 	einfo "Removing legacy fuse2-related stuff..."


             reply	other threads:[~2024-01-08  8:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08  8:50 YiFei Zhu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-27 17:42 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/ Denis Reva
2024-12-05  7:53 Denis Reva
2024-09-22  9:41 Denis Reva
2024-06-03 12:42 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-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=1704703781.db3b713d84f87f75c7b9b8a9783a2f3ec00c38e4.zhuyifei1999@gentoo \
    --to=zhuyifei1999@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