diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2022-02-10 22:21:16 +0100 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-02-10 17:30:57 -0500 |
commit | b4a8a3cb6d0988d5144bdac3e654358a14439e40 (patch) | |
tree | c6396345c148efac652d25ce6f5c4d9d722307f9 /net-im/signal-desktop-bin | |
parent | net-im/mattermost-desktop-bin: drop 5.0.3 (diff) | |
download | gentoo-b4a8a3cb6d0988d5144bdac3e654358a14439e40.tar.gz gentoo-b4a8a3cb6d0988d5144bdac3e654358a14439e40.tar.bz2 gentoo-b4a8a3cb6d0988d5144bdac3e654358a14439e40.zip |
net-im/signal-desktop-bin: add new version 5.31.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Signed-off-by: Ionen Wolkens <ionen@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.31.0.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index 95054d1f1214..3932b88f4312 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1,2 +1,3 @@ DIST signal-desktop_5.29.1_amd64.deb 125070070 BLAKE2B 86d7e75fd725d8ca740164343dfa7ed76b106620647cfd646c08e4d583368c8cb3bcd630d25d85cccbfa4f06288d40a8ed9e4735e9bd6a2cc8cbdb10ce5d75db SHA512 6036fedfc8e5c7ef2cdcc97e96919b3f9bb74aff8732066a2694100bc25f848a06317b0c54f9125284ee8f47e9498ec09713b6f5f4afadfeb74c2bd95699e343 DIST signal-desktop_5.30.0_amd64.deb 125068854 BLAKE2B 97e7b2cd038e3b4fc9648aafef4a1c912be0051dae90279c599b3898eca91616640e3489acbcb09b071a70c22a8d8c7d69f3fb9165d64cf226197a5997dfbe70 SHA512 0f947ef2761b9440d538434d44d4fe050a42185dd0774e9504db0a5491424420475a4736c53e364dcb0b5132f9b8046f70d8f622b8c89be32aa084a619eb0572 +DIST signal-desktop_5.31.0_amd64.deb 125080462 BLAKE2B 25386bfbcbd8e00cfa2c5901ba1afebdeafc4ec928325d22bb562cf69dbd2d381685877208e223f683f8e180e7bece8cd561d868120e511ac96e6af92c414ce3 SHA512 806cdca397dc75a0c5deafcc9929ad27bebd7ac7cf6ff64ed330e50cfc8b227a60d3d5f0b1159c2925ad88e1474c1dfc0138071dc1a03c490dce181f7a678d6a diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-5.31.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-5.31.0.ebuild new file mode 100644 index 000000000000..47f9a77095de --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-5.31.0.ebuild @@ -0,0 +1,98 @@ +# 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/gdk-pixbuf:2 + 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'." +} |