From 4f8ab2aeefd5dd7795c878f590f4137297a7c675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Mon, 21 Sep 2020 22:38:04 +0200 Subject: [PATCH] sys-boot/etcher-bin: Updated to 1.5.109 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- sys-boot/etcher-bin/Manifest | 1 + sys-boot/etcher-bin/etcher-bin-1.5.109.ebuild | 70 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 sys-boot/etcher-bin/etcher-bin-1.5.109.ebuild diff --git a/sys-boot/etcher-bin/Manifest b/sys-boot/etcher-bin/Manifest index d18360a..b903626 100644 --- a/sys-boot/etcher-bin/Manifest +++ b/sys-boot/etcher-bin/Manifest @@ -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 diff --git a/sys-boot/etcher-bin/etcher-bin-1.5.109.ebuild b/sys-boot/etcher-bin/etcher-bin-1.5.109.ebuild new file mode 100644 index 0000000..117f8a5 --- /dev/null +++ b/sys-boot/etcher-bin/etcher-bin-1.5.109.ebuild @@ -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 +}