sys-boot/etcher-bin: add version 1.5.76

This commit is contained in:
XGQT 2020-02-14 21:21:00 +01:00
parent c9acb0f06b
commit 4fa9961bb5
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
3 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST balena-etcher-electron_1.5.76_amd64.deb 87493090 BLAKE2B cefdfceb4d9911f2411003e7f84cd5721bb0e1a1335407817dcca03ee583bc97d22da5e8754c14c860d6171695e852c26916ad7d8681191f3e9e5915bdce06d4 SHA512 ca68fbb5a16ca80d9adbc86361c18f00b2e1e5837df8591d907862bb5fb44bb0231676c0c82c40900e5ff21a4bc4fed2bc8351ffc88b2f70b1db40a03dc43b11

View File

@ -0,0 +1,70 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN//-bin}"
inherit unpacker xdg-utils
DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily."
HOMEPAGE="https://etcher.io"
SRC_URI="https://github.com/balena-io/${MY_PN}/releases/download/v${PV}/balena-etcher-electron_${PV}_amd64.deb"
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="
app-arch/lzma
dev-libs/atk
dev-libs/expat
dev-libs/libappindicator
dev-libs/nss
gnome-base/gconf:2
media-libs/fontconfig
media-libs/freetype
net-print/cups
sys-apps/dbus
sys-auth/polkit
x11-apps/xrandr
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libnotify
"
QA_PREBUILT="
opt/balenaEtcher/*
"
S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
}
src_install() {
mv * "${D}" || die
rm -rd "${D}/usr/share/doc/balena-etcher-electron"
sed -i "s/Utility/System/g" "${D}/usr/share/applications/balena-etcher-electron.desktop"
fperms 0755 /opt/balenaEtcher/balena-etcher-electron || die
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">balena-io/etcher</remote-id>
</upstream>
</pkgmetadata>