From 141998db37a011a9cf13ee76673c30fb5210193e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 6 Mar 2023 07:15:47 +0000 Subject: sys-boot/etcher : version bump --- sys-boot/etcher/Manifest | 2 +- sys-boot/etcher/etcher-1.18.4.ebuild | 39 +++++++++++++++++++++++++++ sys-boot/etcher/etcher-1.5.116.ebuild | 42 ------------------------------ sys-boot/etcher/files/balenaEtcher.desktop | 10 +++++++ 4 files changed, 50 insertions(+), 43 deletions(-) create mode 100644 sys-boot/etcher/etcher-1.18.4.ebuild delete mode 100644 sys-boot/etcher/etcher-1.5.116.ebuild create mode 100644 sys-boot/etcher/files/balenaEtcher.desktop (limited to 'sys-boot') diff --git a/sys-boot/etcher/Manifest b/sys-boot/etcher/Manifest index 454484fb..cb6dd8e0 100644 --- a/sys-boot/etcher/Manifest +++ b/sys-boot/etcher/Manifest @@ -1 +1 @@ -DIST balena-etcher-electron_1.5.116_amd64.deb 80933166 BLAKE2B 45586742ceade36f2f6cd8f55786948661b346bd10ec9def63ae11c863647723f7715043cf4e9186fa8559575b69f5ac1e072e5432ff3fea92d45bf0a5e1e1ad SHA512 781fbe47f8ea7d8e469aa8c76d95ac83abef60318dc9a6d7ac6296dec0139b5bcefcf2d3442b7b1ac274046014935dd97a9e49e64a9bb74a752409da6c03063a +DIST balenaEtcher-1.18.4-x64.AppImage 99670655 BLAKE2B 1459743b180afbb9e57d32b9b5e808cf875378b0ec93f5af02a04c1b270ebbea46a240ff0a76afa984ab43965cb630198b845f331fda07ca90e962f18c706880 SHA512 dd349cbe15be7df164cf0423c720bf800fd26fbe56532ba3cb743879ff638a082f1cf2281c444131b1f270b9d5a3f1ced91a1b91747569eecdce603356c46a60 diff --git a/sys-boot/etcher/etcher-1.18.4.ebuild b/sys-boot/etcher/etcher-1.18.4.ebuild new file mode 100644 index 00000000..39b988d0 --- /dev/null +++ b/sys-boot/etcher/etcher-1.18.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_PN="balenaEtcher" + +inherit eutils + +DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily." +HOMEPAGE="https://etcher.io/" +SRC_URI="https://github.com/balena-io/${PN}/releases/download/v${PV}/${MY_PN}-${PV}-x64.AppImage" + +LICENSE="GPL2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-libs/nss + media-libs/alsa-lib + sys-apps/lsb-release + x11-libs/gtk+:2 + x11-libs/libXtst + x11-libs/libnotify" +RDEPEND="${DEPEND}" + +RESTRICT="mirror strip" + +S="${DISTDIR}" + +src_unpack() { + : +} + +src_install() { + newbin ${MY_PN}-${PV}-x64.AppImage ${MY_PN} + domenu ${FILESDIR}/${MY_PN}.desktop +} diff --git a/sys-boot/etcher/etcher-1.5.116.ebuild b/sys-boot/etcher/etcher-1.5.116.ebuild deleted file mode 100644 index 0a839dca..00000000 --- a/sys-boot/etcher/etcher-1.5.116.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils unpacker - -DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily." -HOMEPAGE="https://etcher.io/" -SRC_URI="https://github.com/balena-io/${PN}/releases/download/v${PV}/balena-${PN}-electron_${PV}_amd64.deb" - -LICENSE="GPL2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-libs/nss - gnome-base/gconf - media-libs/alsa-lib - sys-apps/lsb-release - x11-libs/gtk+:2 - x11-libs/libXtst - x11-libs/libnotify" -RDEPEND="${DEPEND}" - -RESTRICT="mirror strip" - -S="${WORKDIR}" - -src_unpack() { - unpack_deb ${A} -} - -src_install() { - mv * "${D}" || die - sed -i "s/Utility/System/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop - sed -i "s/Icon\=balena\-etcher\-electron/Icon\=etcher\-electron/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop - rm -rf "${D}"usr/share/doc - fperms 0755 /opt/balenaEtcher/balena-"${PN}"-electron || die - fperms 4711 /opt/balenaEtcher/chrome-sandbox -} diff --git a/sys-boot/etcher/files/balenaEtcher.desktop b/sys-boot/etcher/files/balenaEtcher.desktop new file mode 100644 index 00000000..b839fc2e --- /dev/null +++ b/sys-boot/etcher/files/balenaEtcher.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=balenaEtcher +Exec=balenaEtcher %U +Terminal=false +Type=Application +Icon=etcher-electron +StartupWMClass=balenaEtcher +Comment=Flash OS images to SD cards and USB drives, safely and easily. +MimeType=x-scheme-handler/etcher; +Categories=System; -- cgit v1.2.3