summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2022-09-01 15:03:39 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-09-01 18:09:29 +0300
commite1ca7591e60a44a41d1a5a4ad60b4b0a47255822 (patch)
tree50b1811c033f1caef46ca59d8d28970d237a81d4 /net-im
parentprofiles: unmask >media-gfx/gmic-3.1.0 (diff)
downloadgentoo-e1ca7591e60a44a41d1a5a4ad60b4b0a47255822.tar.gz
gentoo-e1ca7591e60a44a41d1a5a4ad60b4b0a47255822.tar.bz2
gentoo-e1ca7591e60a44a41d1a5a4ad60b4b0a47255822.zip
net-im/signal-desktop-bin: add new version 5.57.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/signal-desktop-bin/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-5.57.0.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index c26995cb8575..27e67648abab 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_5.55.0_amd64.deb 117372822 BLAKE2B 77f8f20507ee62eb62dcd0732cf37f886e4090ad0a23240b56111aec67af7dfe203fc36fc49198f7145ee64efe74c4fdaea3551fd2fae41789ca97d489d4f7ca SHA512 593bd7fd0a8284b01c36272c9cf90e15bb4e5af766d91615a95cf6e1aa08e65b72b4eced2aad32625453e3ef9460d716c00cececf552e8afaf69b76fe70ce7f8
+DIST signal-desktop_5.57.0_amd64.deb 117487506 BLAKE2B 432b19e42ec6d35ab49f9a638c94108fb6c26d9b0ce85e06f0bb164f10e137cad484744a4d8de5cea52f1cc60b84f6ce3331dc60a18e8afdec6883ac410f69e1 SHA512 a34ac3d31df75574c88a82caf73c52b66aa188196dc3d6ce573e11ce87e52f25d8a5d84654dcbcc84dbabe1a9a702c09d694758157ce5fc5e5736c7e633f842e
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-5.57.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-5.57.0.ebuild
new file mode 100644
index 000000000000..1104f0041876
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-5.57.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'."
+}