From 4fa9961bb53157d4501bc4febea3d3b49f3dee4e Mon Sep 17 00:00:00 2001 From: XGQT Date: Fri, 14 Feb 2020 21:21:00 +0100 Subject: [PATCH] sys-boot/etcher-bin: add version 1.5.76 --- sys-boot/etcher-bin/Manifest | 1 + sys-boot/etcher-bin/etcher-bin-1.5.76.ebuild | 70 ++++++++++++++++++++ sys-boot/etcher-bin/metadata.xml | 7 ++ 3 files changed, 78 insertions(+) create mode 100644 sys-boot/etcher-bin/Manifest create mode 100644 sys-boot/etcher-bin/etcher-bin-1.5.76.ebuild create mode 100644 sys-boot/etcher-bin/metadata.xml diff --git a/sys-boot/etcher-bin/Manifest b/sys-boot/etcher-bin/Manifest new file mode 100644 index 0000000..851dd71 --- /dev/null +++ b/sys-boot/etcher-bin/Manifest @@ -0,0 +1 @@ +DIST balena-etcher-electron_1.5.76_amd64.deb 87493090 BLAKE2B cefdfceb4d9911f2411003e7f84cd5721bb0e1a1335407817dcca03ee583bc97d22da5e8754c14c860d6171695e852c26916ad7d8681191f3e9e5915bdce06d4 SHA512 ca68fbb5a16ca80d9adbc86361c18f00b2e1e5837df8591d907862bb5fb44bb0231676c0c82c40900e5ff21a4bc4fed2bc8351ffc88b2f70b1db40a03dc43b11 diff --git a/sys-boot/etcher-bin/etcher-bin-1.5.76.ebuild b/sys-boot/etcher-bin/etcher-bin-1.5.76.ebuild new file mode 100644 index 0000000..117f8a5 --- /dev/null +++ b/sys-boot/etcher-bin/etcher-bin-1.5.76.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 +} diff --git a/sys-boot/etcher-bin/metadata.xml b/sys-boot/etcher-bin/metadata.xml new file mode 100644 index 0000000..41c79ba --- /dev/null +++ b/sys-boot/etcher-bin/metadata.xml @@ -0,0 +1,7 @@ + + + + + balena-io/etcher + +