diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2022-09-08 18:34:36 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-10 12:31:21 +0100 |
commit | b5d41556c3c2c9009528dc54c57307942b646372 (patch) | |
tree | 462ede6463fb6d2363698b21f22601a5f8eeb64a /net-im/signal-desktop-bin | |
parent | profiles/features/musl: set -crypt on sys-libs/musl (diff) | |
download | gentoo-b5d41556c3c2c9009528dc54c57307942b646372.tar.gz gentoo-b5d41556c3c2c9009528dc54c57307942b646372.tar.bz2 gentoo-b5d41556c3c2c9009528dc54c57307942b646372.zip |
net-im/signal-desktop-bin: add new version 5.58.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-im/signal-desktop-bin')
-rw-r--r-- | net-im/signal-desktop-bin/Manifest | 1 | ||||
-rw-r--r-- | net-im/signal-desktop-bin/signal-desktop-bin-5.58.0.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index 00f989a5b617..9f873666fdb1 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_5.57.0_amd64.deb 117487506 BLAKE2B 432b19e42ec6d35ab49f9a638c94108fb6c26d9b0ce85e06f0bb164f10e137cad484744a4d8de5cea52f1cc60b84f6ce3331dc60a18e8afdec6883ac410f69e1 SHA512 a34ac3d31df75574c88a82caf73c52b66aa188196dc3d6ce573e11ce87e52f25d8a5d84654dcbcc84dbabe1a9a702c09d694758157ce5fc5e5736c7e633f842e +DIST signal-desktop_5.58.0_amd64.deb 124739200 BLAKE2B 997e9483fb9eece9004d48b6339f53f48814f185d9445fea47ccde051d6f45fccc8bfe68a7b6914ecb5b923284b6bbd26131c97475fcaa0d7c9fd45c729c0f07 SHA512 4ea3003645a74d41ee89207c2435a442d8b0bea8012e3ef5df52d7e0a5d67e718b4aaf1e5d09a82455948d29e36f7e591147c7428d7e5a811d064202d6a20c86 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-5.58.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-5.58.0.ebuild new file mode 100644 index 000000000000..1104f0041876 --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-5.58.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" + +inherit pax-utils unpacker xdg + +DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer" +HOMEPAGE="https://signal.org/ + https://github.com/signalapp/Signal-Desktop" +SRC_URI="https://updates.signal.org/desktop/apt/pool/main/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb" +S="${WORKDIR}" + +LICENSE="GPL-3 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" +SLOT="0" +KEYWORDS="-* amd64" +IUSE="+sound" +RESTRICT="splitdebug" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa[X(+)] + net-print/cups + sys-apps/dbus[X] + x11-libs/cairo + x11-libs/gtk+:3[X] + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/pango + sound? ( + || ( + media-sound/pulseaudio + media-sound/apulse + ) + ) +" + +QA_PREBUILT=" + opt/Signal/chrome_crashpad_handler + opt/Signal/chrome-sandbox + opt/Signal/libEGL.so + opt/Signal/libGLESv2.so + opt/Signal/libffmpeg.so + opt/Signal/libvk_swiftshader.so + opt/Signal/libvulkan.so.1 + opt/Signal/resources/app.asar.unpacked/node_modules/* + opt/Signal/signal-desktop + opt/Signal/swiftshader/libEGL.so + opt/Signal/swiftshader/libGLESv2.so" + +src_prepare() { + default + sed -e 's| --no-sandbox||g' \ + -i usr/share/applications/signal-desktop.desktop || die + unpack usr/share/doc/signal-desktop/changelog.gz +} + +src_install() { + insinto / + dodoc changelog + doins -r opt + insinto /usr/share + + if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then + sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop || die + fi + + doins -r usr/share/applications + doins -r usr/share/icons + fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox + fperms u+s /opt/Signal/chrome-sandbox + pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox + + dosym ../../opt/Signal/${MY_PN} /usr/bin/${MY_PN} +} + +pkg_postinst() { + xdg_pkg_postinst + elog "For using the tray icon on compatible desktop environments, start Signal with" + elog " '--start-in-tray' or '--use-tray-icon'." +} |