diff options
author | Lucio Sauer <watermanpaint@posteo.net> | 2024-08-06 03:46:22 +0200 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2024-08-06 04:12:07 +0200 |
commit | a2c542910085b5837f0b34b5c4cfe3fa113f74c0 (patch) | |
tree | af46004ad828db5db4594f2c6a327600d98d1b6a /app-misc/ledger-live-bin | |
parent | app-misc/ledger-live-bin: tighten QA_PREBUILT (diff) | |
download | guru-a2c542910085b5837f0b34b5c4cfe3fa113f74c0.tar.gz guru-a2c542910085b5837f0b34b5c4cfe3fa113f74c0.tar.bz2 guru-a2c542910085b5837f0b34b5c4cfe3fa113f74c0.zip |
app-misc/ledger-live-bin: add 2.84.1
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'app-misc/ledger-live-bin')
-rw-r--r-- | app-misc/ledger-live-bin/Manifest | 1 | ||||
-rw-r--r-- | app-misc/ledger-live-bin/ledger-live-bin-2.84.1.ebuild | 82 |
2 files changed, 83 insertions, 0 deletions
diff --git a/app-misc/ledger-live-bin/Manifest b/app-misc/ledger-live-bin/Manifest index cff966b6c..31865bb24 100644 --- a/app-misc/ledger-live-bin/Manifest +++ b/app-misc/ledger-live-bin/Manifest @@ -1,3 +1,4 @@ DIST ledger-live-desktop-2.79.1-linux-x86_64.AppImage 153261127 BLAKE2B be85647d781b79837e88110ae3d8a54ae4085e91771b22da7fbb57c355bd06ab49583678ed02e9db5f46fd4dbd5a519fccd8174767474e4690b48cfbe90f5a90 SHA512 ef0416e9fba5c421b969dea3b463f732fbb2efce333d1882e53987b4cb19627f3111da4d65049c09813fce882c0db5c3b6caa96968bf71e631ecdeea312b446f DIST ledger-live-desktop-2.81.2-linux-x86_64.AppImage 153803163 BLAKE2B 2d410f0f85eb20199a4688b00c80ac5f668838eab22e7cd8e5d3c2c10577dfa8250b6d05e6a5282347eaf08d486e426c7952a4fb56fcfde1f615cdfe35797acd SHA512 96ae1d30d89334b71ffb785c0f25179e6f66faed99eebcf13726dcd2481b976043788539820effb9152fb857793eef96c7618e3024496b5084e1e8ac5398a0e9 DIST ledger-live-desktop-2.83.0-linux-x86_64.AppImage 156258393 BLAKE2B 88ad67e76d5fbff2d177aa0281a92bdc8efd7a5dc259bcc7c62f62b457cdf2904bdda5272c58fd37e782124789237cd39dd57978006de360b86a34d80e0a6397 SHA512 ba6beeaae36a96eb0ea9ecdee9d5796329e980890a6fafe0fbd24f1915f60cc061fc9b8975d03c587743bef33127fcb46f1eda458d197dcc43e6cf2291832421 +DIST ledger-live-desktop-2.84.1-linux-x86_64.AppImage 157947353 BLAKE2B 70da8cd7f178c1c2bd1361ac46b61319bb5dafcdd0a18b05146f0bc6170800bfa3b3551ac80164d421ea47667b7745d3cbdf286345fbc81e9b9b72e1deb762f7 SHA512 dbd1c38a79f8fc6934a3aada5e9438f9baac1b42d444ec3651826218b6187d9d898b3d79be996e6de9dfbae58afe1dc6e7b30d95f9eac45542ac8c1da0579be2 diff --git a/app-misc/ledger-live-bin/ledger-live-bin-2.84.1.ebuild b/app-misc/ledger-live-bin/ledger-live-bin-2.84.1.ebuild new file mode 100644 index 000000000..f47fff598 --- /dev/null +++ b/app-misc/ledger-live-bin/ledger-live-bin-2.84.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="Manager for the Ledger hardware wallet" +HOMEPAGE="https://www.ledger.com/" +SRC_URI="https://download.live.ledger.com/ledger-live-desktop-${PV}-linux-x86_64.AppImage" + +S="${WORKDIR}/squashfs-root" + +# logos of Ledger are non-free +LICENSE="ledger-live-ToU MIT" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="strip" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango +" + +QA_PREBUILT=" + opt/ledger-live/chrome-sandbox + opt/ledger-live/chrome_crashpad_handler + opt/ledger-live/ledger-live-desktop + opt/ledger-live/libEGL.so + opt/ledger-live/libGLESv2.so + opt/ledger-live/libffmpeg.so + opt/ledger-live/libvk_swiftshader.so + opt/ledger-live/libvulkan.so.1 +" + +src_unpack() { + cp "${DISTDIR}"/ledger-live-desktop-${PV}-linux-x86_64.AppImage ${P}.AppImage || die + chmod +x ${P}.AppImage || die + ./${P}.AppImage --appimage-extract || die + rm ${P}.AppImage || die +} + +src_prepare() { + default + sed -e 's/AppRun --no-sandbox/ledger-live/' \ + -e '/X-AppImage-Version/d' \ + -i ledger-live-desktop.desktop || die +} + +src_install() { + exeinto /opt/${PN} + doexe chrome{-sandbox,_crashpad_handler} ledger-live-desktop + insinto /opt/${PN} + doins -r *.{bin,dat,json,pak} locales resources lib* + fperms u+s /opt/${PN}/chrome-sandbox + domenu ledger-live-desktop.desktop + insinto /usr/share + doins -r usr/share/icons + dosym -r /opt/${PN}/ledger-live-desktop /usr/bin/ledger-live + # bug 937379 + rm "${ED}"/opt/${PN}/resources/app-update.yml || die + find "${ED}" -type d -exec chmod 755 {} + || die +} |