Compare commits
4 Commits
468c052383
...
7f847704e5
Author | SHA1 | Date | |
---|---|---|---|
|
7f847704e5 | ||
|
1670cede4e | ||
|
8690a0351d | ||
|
45cee3a4d4 |
@ -1,2 +1 @@
|
||||
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
|
||||
DIST balena-etcher_1.18.11_amd64.deb 90103416 BLAKE2B c7759881715ba36403e57f0a91b8b0315809c4562996622499184680e0f08d0df4db1b484c7429df41854017fb212fecfe650c776515a0741523e77469a74538 SHA512 761f4e63faac52335e72d8e8184546d79a617a40d3332e81ea832a23942949b7b522293fdc0c9af5a949febeaa895312405629d35476d493e2aff2345f1ea6ef
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
MY_PN="${PN//-bin}"
|
||||
|
||||
@ -9,21 +9,18 @@ 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"
|
||||
SRC_URI="https://github.com/balena-io/etcher/releases/download/v${PV}/balena-etcher_${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
|
||||
@ -32,7 +29,7 @@ RDEPEND="
|
||||
x11-apps/xrandr
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gtk+
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
@ -56,9 +53,10 @@ src_unpack() {
|
||||
|
||||
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
|
||||
|
||||
rm -rd "${D}/usr/share/doc/balena-etcher" || die
|
||||
|
||||
fperms 0755 /opt/balenaEtcher/balena-etcher || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2021 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user