Merge branch 'update_sys-boot/etcher-bin' into 'master'

sys-boot/etcher-bin: Updated to 1.5.109

See merge request src_prepare/src_prepare-overlay!82
This commit is contained in:
TheMainOne 2020-09-21 20:45:39 +00:00
commit 4d2807dcf1
2 changed files with 71 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST balena-etcher-electron_1.5.109_amd64.deb 80928146 BLAKE2B 9047aff7efa307a11eee65e67cab5fb877e549863e7e3818bd37aa62b1c584d97f17c28b31d6ae8fca56856f15be3cacf7048cfcacba6872d6c2ccb011f1283a SHA512 6fde8f334ac8e0d89574c583a9a07b7198c66f5bb88d5a904da578d2cd16c232603d80e315eb0caa8e87a91a5c6ccc208e8f3827a9fdb7efcff326206242a874
DIST balena-etcher-electron_1.5.77_amd64.deb 87501208 BLAKE2B 6103e85e284c9320f421c69025063e0f359f557f567ad27c0b4edb3469752221452236a8a8bce4d1edfdc8592a3f187d92b2e7f5fbc0d3b7ae941002f63c8482 SHA512 24d95c02cadd9618e5244bfd5f9f953ff939c504f29d1cffc04db804ecedb1cfc14a23e49de00d5a073ad02e5791f7b188a947d56dfcc4294f13553eb7644872 DIST balena-etcher-electron_1.5.77_amd64.deb 87501208 BLAKE2B 6103e85e284c9320f421c69025063e0f359f557f567ad27c0b4edb3469752221452236a8a8bce4d1edfdc8592a3f187d92b2e7f5fbc0d3b7ae941002f63c8482 SHA512 24d95c02cadd9618e5244bfd5f9f953ff939c504f29d1cffc04db804ecedb1cfc14a23e49de00d5a073ad02e5791f7b188a947d56dfcc4294f13553eb7644872

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
}