diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2022-02-13 22:28:10 +0100 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-02-13 16:56:38 -0500 |
commit | 9224660d1c8808d545bef3509eb58748c920be05 (patch) | |
tree | 5d95847cc858e9a23fe3ad3a2663f37d872380e4 /net-im | |
parent | media-tv/gentoo-vdr-scripts: finalize migrate to GLEP 81 (diff) | |
download | gentoo-9224660d1c8808d545bef3509eb58748c920be05.tar.gz gentoo-9224660d1c8808d545bef3509eb58748c920be05.tar.bz2 gentoo-9224660d1c8808d545bef3509eb58748c920be05.zip |
net-im/signal-desktop-bin: add new version 5.31.1
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/signal-desktop-bin/Manifest | 1 | ||||
-rw-r--r-- | net-im/signal-desktop-bin/signal-desktop-bin-5.31.1.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 d8ce5ac1b95c..cb34f7a26f5f 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1,2 +1,3 @@ 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 +DIST signal-desktop_5.31.1_amd64.deb 125122076 BLAKE2B d2091a2dc6539fe9db2abe0f24647376373a24e19f4cbfef7edd4d26cbef86fe547188d561e98ab98e3ca3a793df7db0a6aad0b7d7878cdf9c21b96eb5a17bf4 SHA512 9f7a7f2665b07dc73aa4382b7007e3fc35137084c336ef4123efab61bd6bd3124617d2f9b7c5c2b1cae303207d473a41e02b9894b25851853bec6db49c7989d7 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-5.31.1.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-5.31.1.ebuild new file mode 100644 index 000000000000..47f9a77095de --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-5.31.1.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'." +} |