summaryrefslogtreecommitdiff
path: root/sys-boot/etcher
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-06 07:15:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-06 07:15:47 +0000
commit141998db37a011a9cf13ee76673c30fb5210193e (patch)
treed7571005bd2c6612968afe6c41695a7f84c5e771 /sys-boot/etcher
parent4807c5cbbe18e5fdf590a31cf739c519bdd6784b (diff)
sys-boot/etcher : version bump
Diffstat (limited to 'sys-boot/etcher')
-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
3 files changed, 19 insertions, 12 deletions
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;