summaryrefslogtreecommitdiff
path: root/sys-boot/etcher/etcher-1.19.21.ebuild
blob: f35f8d9b878d66aeba538de63401744f3a25fa0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

BINTRON_NAME="balena-etcher"
BINTRON_HOME="/opt/balenaEtcher/"

CHROMIUM_LANGS="
	af am ar bg bn ca cs da de el en-GB en-US es-419 es et fa fi fil fr gu he hi hr hu id it ja kn ko lt
	lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW
"

inherit bintron-r1 unpacker

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}/usr/lib/balena-etcher"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"

RESTRICT="mirror test"

RDEPEND="
	virtual/libudev
"

QA_PREBUILT="/opt/balenaEtcher/*"

src_prepare() {
	bintron-r1_src_prepare

	# Weird symlink
	rm balenaEtcher || die
}