summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/md5-cache/sys-boot/etcher-1.18.414
-rw-r--r--metadata/md5-cache/sys-boot/etcher-1.5.11614
-rw-r--r--metadata/pkg_desc_index2
-rw-r--r--sys-boot/etcher/Manifest2
-rw-r--r--sys-boot/etcher/etcher-1.18.4.ebuild (renamed from sys-boot/etcher/etcher-1.5.116.ebuild)19
-rw-r--r--sys-boot/etcher/files/balenaEtcher.desktop10
6 files changed, 34 insertions, 27 deletions
diff --git a/metadata/md5-cache/sys-boot/etcher-1.18.4 b/metadata/md5-cache/sys-boot/etcher-1.18.4
new file mode 100644
index 00000000..5e33af0d
--- /dev/null
+++ b/metadata/md5-cache/sys-boot/etcher-1.18.4
@@ -0,0 +1,14 @@
+DEFINED_PHASES=install unpack
+DEPEND=dev-libs/nss media-libs/alsa-lib sys-apps/lsb-release x11-libs/gtk+:2 x11-libs/libXtst x11-libs/libnotify
+DESCRIPTION=Flash OS images to SD cards & USB drives, safely and easily.
+EAPI=6
+HOMEPAGE=https://etcher.io/
+INHERIT=eutils
+KEYWORDS=amd64 x86
+LICENSE=GPL2
+RDEPEND=dev-libs/nss media-libs/alsa-lib sys-apps/lsb-release x11-libs/gtk+:2 x11-libs/libXtst x11-libs/libnotify
+RESTRICT=mirror strip
+SLOT=0
+SRC_URI=https://github.com/balena-io/etcher/releases/download/v1.18.4/balenaEtcher-1.18.4-x64.AppImage
+_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 447396341f5f896d722e435a06f87a4f eqawarn c9847c43b3253a276ae2eabddedab3d7 estack 055c42df72f76a4f45ec92b35e83cd56 eutils 8f942ebdcf04334697649d4a0bf65a32 ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib 5ca4e49abed8e3a2f7b56920eadee157 preserve-libs a8e50acee31b5759b4df1f7707cae54b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c
+_md5_=4dc7951154e2b53480719bb5562b5991
diff --git a/metadata/md5-cache/sys-boot/etcher-1.5.116 b/metadata/md5-cache/sys-boot/etcher-1.5.116
deleted file mode 100644
index 61af7513..00000000
--- a/metadata/md5-cache/sys-boot/etcher-1.5.116
+++ /dev/null
@@ -1,14 +0,0 @@
-DEFINED_PHASES=install unpack
-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
-DESCRIPTION=Flash OS images to SD cards & USB drives, safely and easily.
-EAPI=6
-HOMEPAGE=https://etcher.io/
-INHERIT=eutils unpacker
-KEYWORDS=amd64 x86
-LICENSE=GPL2
-RDEPEND=dev-libs/nss gnome-base/gconf media-libs/alsa-lib sys-apps/lsb-release x11-libs/gtk+:2 x11-libs/libXtst x11-libs/libnotify
-RESTRICT=mirror strip
-SLOT=0
-SRC_URI=https://github.com/balena-io/etcher/releases/download/v1.5.116/balena-etcher-electron_1.5.116_amd64.deb
-_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 447396341f5f896d722e435a06f87a4f eqawarn c9847c43b3253a276ae2eabddedab3d7 estack 055c42df72f76a4f45ec92b35e83cd56 eutils 8f942ebdcf04334697649d4a0bf65a32 ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 preserve-libs a8e50acee31b5759b4df1f7707cae54b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b unpacker fdd15d854bf5e84f82d35524ab8ca6ba vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c
-_md5_=45d952aaf937b91d0b2a7b81c4efb85e
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 794be875..d627879b 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -44,7 +44,7 @@ sys-apps/openrc 0.46-r1: OpenRC manages the services, startup and shutdown of a
sys-auth/elogind 246.10-r3: The systemd project's logind, extracted to a standalone package
sys-auth/polkit-qt 0.113.0-r11: PolicyKit Qt API wrapper library (meta package)
sys-auth/polkit-qt5 0.113.0-r5: Qt wrapper around polkit-1 client libraries
-sys-boot/etcher 1.5.116: Flash OS images to SD cards & USB drives, safely and easily.
+sys-boot/etcher 1.18.4: Flash OS images to SD cards & USB drives, safely and easily.
sys-boot/grub 2.04-r13: GNU GRUB boot loader
sys-boot/os-prober 1.77-r10: Utility to detect other OSs on a set of drives
sys-boot/plymouth 0.9.4-r11: Graphical boot animation (splash) and logger
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.5.116.ebuild b/sys-boot/etcher/etcher-1.18.4.ebuild
index 0a839dca..39b988d0 100644
--- a/sys-boot/etcher/etcher-1.5.116.ebuild
+++ b/sys-boot/etcher/etcher-1.18.4.ebuild
@@ -4,11 +4,13 @@
EAPI=6
-inherit eutils unpacker
+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}/balena-${PN}-electron_${PV}_amd64.deb"
+SRC_URI="https://github.com/balena-io/${PN}/releases/download/v${PV}/${MY_PN}-${PV}-x64.AppImage"
LICENSE="GPL2"
SLOT="0"
@@ -16,7 +18,6 @@ KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/nss
- gnome-base/gconf
media-libs/alsa-lib
sys-apps/lsb-release
x11-libs/gtk+:2
@@ -26,17 +27,13 @@ RDEPEND="${DEPEND}"
RESTRICT="mirror strip"
-S="${WORKDIR}"
+S="${DISTDIR}"
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
+ newbin ${MY_PN}-${PV}-x64.AppImage ${MY_PN}
+ domenu ${FILESDIR}/${MY_PN}.desktop
}
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;