public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/ipfs-desktop-bin/
Date: Wed, 29 Jan 2025 14:39:01 +0000 (UTC)	[thread overview]
Message-ID: <1738161534.ec354c517a54cdba4777af9a5cdae0eb285fdc85.davidroman@gentoo> (raw)

commit:     ec354c517a54cdba4777af9a5cdae0eb285fdc85
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Jan 29 14:38:54 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan 29 14:38:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec354c51

net-p2p/ipfs-desktop-bin: add 0.40.0

Closes: https://github.com/gentoo/guru/pull/251
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 net-p2p/ipfs-desktop-bin/Manifest                  |  1 +
 .../ipfs-desktop-bin-0.40.0.ebuild                 | 70 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/net-p2p/ipfs-desktop-bin/Manifest b/net-p2p/ipfs-desktop-bin/Manifest
index 6b96c1d2e..f168658a2 100644
--- a/net-p2p/ipfs-desktop-bin/Manifest
+++ b/net-p2p/ipfs-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST ipfs-desktop-0.39.0-linux-amd64.deb 126937128 BLAKE2B 53ab176bb87a81cef9e9e5b968ff8ed2207be691aa19ce95cd45664590cea3a6ce071b67b67883bf3de1cb7e2b4a1fad4df8c64e5590dc8f06f46dd2fc66d543 SHA512 200bbf5289a0f1b091afd6ea102303aba9831da2fb926bb7adf5c22099cf5cee68ae1c533de81c1a11ab7af837fc4609d7caf60b97361ceedc7a2220423ac3e5
+DIST ipfs-desktop-0.40.0-linux-amd64.deb 127060680 BLAKE2B b6eec9afa2ee15bff33464c0e7bfa4b852b4a0b92fb81eec5625e993790554236cba7a5b7787e79eb6c86e44a4875accfaa19e0835c323ca7dbea94c3cdb8075 SHA512 5ffa971bfa0050bf4381389e3fe0426661fe7bdae92e6d7c3b3d3f458395324a48225b400be09f206dc973879784eced88572684786388f323a16942a3600f97

diff --git a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild
new file mode 100644
index 000000000..246196426
--- /dev/null
+++ b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit desktop xdg unpacker wrapper
+DESCRIPTION="A desktop client for IPFS. The IPFS's Native Application"
+HOMEPAGE="https://github.com/ipfs/ipfs-desktop"
+SRC_URI="https://github.com/ipfs/ipfs-desktop/releases/download/v${PV}/ipfs-desktop-${PV}-linux-amd64.deb"
+
+S="${WORKDIR}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	x11-libs/gtk+:3
+	x11-libs/libnotify
+	dev-libs/nss
+	x11-libs/libXScrnSaver
+	x11-libs/libXtst
+	x11-misc/xdg-utils
+	app-accessibility/at-spi2-core
+	sys-apps/util-linux
+	app-crypt/libsecret
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	media-libs/alsa-lib
+	media-libs/mesa
+	net-print/cups
+	sys-apps/dbus
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf:2
+	x11-libs/libX11
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libdrm
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/pango
+	net-p2p/kubo
+"
+QA_PREBUILT="*"
+src_prepare(){
+	default
+	unpacker "${S}/usr/share/doc/ipfs-desktop/changelog.gz"
+	sed -i 's|/opt/IPFS Desktop/ipfs-desktop|/usr/bin/ipfs-desktop|g' "${S}/usr/share/applications/ipfs-desktop.desktop" || die
+}
+src_install(){
+	# clean up build-in kubo
+	rm -r "${S}/opt/IPFS Desktop/resources/app.asar.unpacked/node_modules/kubo/kubo" || die
+
+	insinto "/opt"
+	doins -r "${S}/opt/IPFS Desktop"
+	make_wrapper ipfs-desktop "env KUBO_BINARY=$(which ipfs) /opt/IPFS\\ Desktop/ipfs-desktop"
+	domenu "${S}/usr/share/applications/ipfs-desktop.desktop"
+	dodoc "${S}/changelog"
+	insinto "/usr/share"
+	# doins -r "${S}/usr/share/icons"
+	local size
+	for size in 16 32 48 64 128 256 512; do
+		 doicon -s ${size} "${S}/usr/share/icons/hicolor/${size}x${size}/apps/ipfs-desktop.png"
+	done
+	fperms +x "/opt/IPFS Desktop/ipfs-desktop"
+	fperms +x "/opt/IPFS Desktop/chrome-sandbox"
+	fperms +x "/opt/IPFS Desktop/chrome_crashpad_handler"
+}


WARNING: multiple messages have this Message-ID (diff)
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/ipfs-desktop-bin/
Date: Thu, 30 Jan 2025 15:26:33 +0000 (UTC)	[thread overview]
Message-ID: <1738161534.ec354c517a54cdba4777af9a5cdae0eb285fdc85.davidroman@gentoo> (raw)
Message-ID: <20250130152633.jETbdtfxWi072OLdusovG7QMlIJO35CBV6wDqwk9piA@z> (raw)

commit:     ec354c517a54cdba4777af9a5cdae0eb285fdc85
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Jan 29 14:38:54 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan 29 14:38:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec354c51

net-p2p/ipfs-desktop-bin: add 0.40.0

Closes: https://github.com/gentoo/guru/pull/251
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 net-p2p/ipfs-desktop-bin/Manifest                  |  1 +
 .../ipfs-desktop-bin-0.40.0.ebuild                 | 70 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/net-p2p/ipfs-desktop-bin/Manifest b/net-p2p/ipfs-desktop-bin/Manifest
index 6b96c1d2e..f168658a2 100644
--- a/net-p2p/ipfs-desktop-bin/Manifest
+++ b/net-p2p/ipfs-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST ipfs-desktop-0.39.0-linux-amd64.deb 126937128 BLAKE2B 53ab176bb87a81cef9e9e5b968ff8ed2207be691aa19ce95cd45664590cea3a6ce071b67b67883bf3de1cb7e2b4a1fad4df8c64e5590dc8f06f46dd2fc66d543 SHA512 200bbf5289a0f1b091afd6ea102303aba9831da2fb926bb7adf5c22099cf5cee68ae1c533de81c1a11ab7af837fc4609d7caf60b97361ceedc7a2220423ac3e5
+DIST ipfs-desktop-0.40.0-linux-amd64.deb 127060680 BLAKE2B b6eec9afa2ee15bff33464c0e7bfa4b852b4a0b92fb81eec5625e993790554236cba7a5b7787e79eb6c86e44a4875accfaa19e0835c323ca7dbea94c3cdb8075 SHA512 5ffa971bfa0050bf4381389e3fe0426661fe7bdae92e6d7c3b3d3f458395324a48225b400be09f206dc973879784eced88572684786388f323a16942a3600f97

diff --git a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild
new file mode 100644
index 000000000..246196426
--- /dev/null
+++ b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit desktop xdg unpacker wrapper
+DESCRIPTION="A desktop client for IPFS. The IPFS's Native Application"
+HOMEPAGE="https://github.com/ipfs/ipfs-desktop"
+SRC_URI="https://github.com/ipfs/ipfs-desktop/releases/download/v${PV}/ipfs-desktop-${PV}-linux-amd64.deb"
+
+S="${WORKDIR}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	x11-libs/gtk+:3
+	x11-libs/libnotify
+	dev-libs/nss
+	x11-libs/libXScrnSaver
+	x11-libs/libXtst
+	x11-misc/xdg-utils
+	app-accessibility/at-spi2-core
+	sys-apps/util-linux
+	app-crypt/libsecret
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	media-libs/alsa-lib
+	media-libs/mesa
+	net-print/cups
+	sys-apps/dbus
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf:2
+	x11-libs/libX11
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libdrm
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/pango
+	net-p2p/kubo
+"
+QA_PREBUILT="*"
+src_prepare(){
+	default
+	unpacker "${S}/usr/share/doc/ipfs-desktop/changelog.gz"
+	sed -i 's|/opt/IPFS Desktop/ipfs-desktop|/usr/bin/ipfs-desktop|g' "${S}/usr/share/applications/ipfs-desktop.desktop" || die
+}
+src_install(){
+	# clean up build-in kubo
+	rm -r "${S}/opt/IPFS Desktop/resources/app.asar.unpacked/node_modules/kubo/kubo" || die
+
+	insinto "/opt"
+	doins -r "${S}/opt/IPFS Desktop"
+	make_wrapper ipfs-desktop "env KUBO_BINARY=$(which ipfs) /opt/IPFS\\ Desktop/ipfs-desktop"
+	domenu "${S}/usr/share/applications/ipfs-desktop.desktop"
+	dodoc "${S}/changelog"
+	insinto "/usr/share"
+	# doins -r "${S}/usr/share/icons"
+	local size
+	for size in 16 32 48 64 128 256 512; do
+		 doicon -s ${size} "${S}/usr/share/icons/hicolor/${size}x${size}/apps/ipfs-desktop.png"
+	done
+	fperms +x "/opt/IPFS Desktop/ipfs-desktop"
+	fperms +x "/opt/IPFS Desktop/chrome-sandbox"
+	fperms +x "/opt/IPFS Desktop/chrome_crashpad_handler"
+}


             reply	other threads:[~2025-01-29 14:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29 14:39 David Roman [this message]
2025-01-30 15:26 ` [gentoo-commits] repo/proj/guru:master commit in: net-p2p/ipfs-desktop-bin/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 14:01 [gentoo-commits] repo/proj/guru:dev " Dawn Xu
2024-11-13 10:12 Dawn Xu
2024-11-13  9:22 Dawn Xu
2024-11-11 15:06 Takuya Wakazono
2024-11-11 14:17 Dawn Xu

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=1738161534.ec354c517a54cdba4777af9a5cdae0eb285fdc85.davidroman@gentoo \
    --to=davidroman96@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