public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-boot/etcher-bin/
@ 2025-09-27 23:06 Sebastian Engel
  0 siblings, 0 replies; only message in thread
From: Sebastian Engel @ 2025-09-27 23:06 UTC (permalink / raw
  To: gentoo-commits

commit:     6a35ed02e23c6fb089334a91f3f7f150bbb7f021
Author:     Sebastian Engel <sighunter <AT> gmx <DOT> de>
AuthorDate: Sat Sep 27 23:04:12 2025 +0000
Commit:     Sebastian Engel <sighunter <AT> gmx <DOT> de>
CommitDate: Sat Sep 27 23:04:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a35ed02

sys-boot/etcher-bin: new package, add 2.1.4

Signed-off-by: Sebastian Engel <sighunter <AT> gmx.de>

 sys-boot/etcher-bin/Manifest                |  1 +
 sys-boot/etcher-bin/etcher-bin-2.1.4.ebuild | 76 +++++++++++++++++++++++++++++
 sys-boot/etcher-bin/metadata.xml            | 11 +++++
 3 files changed, 88 insertions(+)

diff --git a/sys-boot/etcher-bin/Manifest b/sys-boot/etcher-bin/Manifest
new file mode 100644
index 0000000000..852bc3c1ce
--- /dev/null
+++ b/sys-boot/etcher-bin/Manifest
@@ -0,0 +1 @@
+DIST balena-etcher_2.1.4_amd64.deb 123924010 BLAKE2B 882e989d8f391da0c1c5d52aa5dd9d3b14353bbeeafba0b59e3202f0dd21e163457a82bbfbbb6daf2e39e9bf347b5c13421192f91827938d35b2c34bfaceea89 SHA512 e3a9a1c51409092fb8a182f8ed4eed214ef4f3217d7d078d40ec54c0f20795848fb18e80b02f5c0816bbbc09221cba4cdb3307744f8e01ea85ad3fada13f131f

diff --git a/sys-boot/etcher-bin/etcher-bin-2.1.4.ebuild b/sys-boot/etcher-bin/etcher-bin-2.1.4.ebuild
new file mode 100644
index 0000000000..d6520dd308
--- /dev/null
+++ b/sys-boot/etcher-bin/etcher-bin-2.1.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker xdg
+
+DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily."
+HOMEPAGE="https://etcher.balena.io"
+SRC_URI="https://github.com/balena-io/etcher/releases/download/v${PV}/balena-etcher_${PV}_amd64.deb"
+S="${WORKDIR}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RESTRICT="mirror test"
+
+RDEPEND="
+	app-accessibility/at-spi2-core:2
+	app-arch/xz-utils
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/mesa
+	net-print/cups
+	sys-apps/dbus
+	sys-auth/polkit
+	sys-libs/glibc
+	virtual/libudev
+	x11-libs/cairo
+	x11-libs/gtk+:3
+	x11-libs/libnotify
+	x11-libs/libX11
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libXScrnSaver
+	x11-libs/libdrm
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/pango
+"
+BDEPEND="
+	dev-util/patchelf
+"
+
+QA_PREBUILT="
+	usr/lib/balena-etcher/balena-etcher
+	usr/lib/balena-etcher/resources/etcher-util
+"
+QA_PRESTRIPPED="
+	usr/lib/balena-etcher/resources/app.asar.unpacked/.webpack/renderer/native_modules/prebuilds/linux-x64/node.napi.node
+	usr/lib/balena-etcher/resources/app.asar.unpacked/.webpack/renderer/native_modules/prebuilds/linux-x64/node.napi1.node
+"
+
+src_unpack() {
+	unpack_deb ${A}
+}
+
+src_prepare() {
+	mv "${WORKDIR}/usr/share/doc/balena-etcher/" "${WORKDIR}/usr/share/doc/${PF}" || die
+
+	# Weird symlink
+	rm "${WORKDIR}/usr/lib/balena-etcher/balenaEtcher" || die
+
+	default
+}
+
+src_install() {
+	mv * "${D}" || die
+}

diff --git a/sys-boot/etcher-bin/metadata.xml b/sys-boot/etcher-bin/metadata.xml
new file mode 100644
index 0000000000..18d10f9c5d
--- /dev/null
+++ b/sys-boot/etcher-bin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>sighunter@gmx.de</email>
+        <name>Sebastian Engel</name>
+    </maintainer>
+    <upstream>
+      <remote-id type="github">balena-io/etcher</remote-id>
+    </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-27 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-27 23:06 [gentoo-commits] repo/proj/guru:dev commit in: sys-boot/etcher-bin/ Sebastian Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox