diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2021-10-06 19:20:52 +0200 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-10-08 07:36:06 -0400 |
commit | 21561400013cef3b8a00c35aab673f20e71e1f67 (patch) | |
tree | 26745c1e49b8fd8800d2a21775a5cefee043f64a /net-im | |
parent | media-video/vcsi: drop 7-r2 (diff) | |
download | gentoo-21561400013cef3b8a00c35aab673f20e71e1f67.tar.gz gentoo-21561400013cef3b8a00c35aab673f20e71e1f67.tar.bz2 gentoo-21561400013cef3b8a00c35aab673f20e71e1f67.zip |
net-im/signal-desktop-bin: add new version 5.19.0
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.19.0.ebuild | 100 |
2 files changed, 101 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index f578d52cc089..361aef73037e 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_5.18.0_amd64.deb 114179640 BLAKE2B b7d2f02f4d5d57a30ade98d0316213554b75be7df31bae34aee0f9e04a493a9f9d38ad4820f7c25d735d10483663e41fe6cebe2212d69c0c7c5b2ccd8ac002ac SHA512 9f9f1b8f5354ba0d103415d477209a03215f03a27b7439272a8dddc70c9729f407c6d8f20cad0e7a816f8d754cc4f6b34c5951f5a0fd7208eb05f41cf70e450b +DIST signal-desktop_5.19.0_amd64.deb 114386092 BLAKE2B 08d56087ed02b868f32fa02b098bd237fcd4807fe94d4ccc7cfb50b2532d23083ec838c09c0b1963aa1471d8d54834479a5e1969d387dac8669dc559abd423d4 SHA512 96eb61127a2acdc6a6ed9862f86980e53446f19b0c5d9c2c4b6ef6a81e5ea74537867f51865d72552072f4310cc51b9370dcb44d89abd3d8400ba788c2020c0e diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-5.19.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-5.19.0.ebuild new file mode 100644 index 000000000000..e6ca382563fa --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-5.19.0.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/libxshmfence + x11-libs/pango + sound? ( + || ( + media-sound/pulseaudio + media-sound/apulse + ) + ) +" + +QA_PREBUILT=" + 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 + + rm opt/Signal/resources/app.asar.unpacked/node_modules/{ffi-napi/node_modules/ref-napi/prebuilds/linux-arm64/electron.napi.armv8.node,ffi-napi/node_modules/ref-napi/prebuilds/linux-arm64/node.napi.armv8.node,ffi-napi/prebuilds/linux-arm64/node.napi.uv1.armv8.node,ref-napi/prebuilds/linux-arm64/electron.napi.armv8.node,ref-napi/prebuilds/linux-arm64/node.napi.armv8.node} || die +} + +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'." +} |