summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2020-05-14 23:39:00 +0200
committerAaron Bauman <bman@gentoo.org>2020-05-14 19:19:54 -0400
commit9bd8a3fc61baccbef9379ae037f2b33930663868 (patch)
treeb7e068c0d1931bd223417b80bc20ee92ddce2acb /net-im
parentdev-db/redis: bump to 5.0.9 (diff)
downloadgentoo-9bd8a3fc61baccbef9379ae037f2b33930663868.tar.gz
gentoo-9bd8a3fc61baccbef9379ae037f2b33930663868.tar.bz2
gentoo-9bd8a3fc61baccbef9379ae037f2b33930663868.zip
net-im/signal-desktop-bin: add new version 1.34.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Signed-off-by: Aaron Bauman <bman@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-1.34.0.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index d502607006e5..d92f461c7f6d 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.33.4_amd64.deb 98801978 BLAKE2B d08ba8b74b9cffa7e81c50d225e936a2faf6d0fac9bb12d7841afd794dc136804ad37242a51eb7ec1311e41b35f7cd4c945f8e6169f0f0f2fff9a297e96897e8 SHA512 65789bac0d9748c4c9874b333bc0a05fcd30995f2ae61fb7cee0e3c52ad97ba110f5249559a7285e1bb9d214cc01f2529b89d306f73cfc0befe1d473da3e7210
+DIST signal-desktop_1.34.0_amd64.deb 99598948 BLAKE2B ce0a0bd37c0e6697397101e9fa37864e06dd0ed24af569b6e1084460e467d19b82d77e87c21943747ba4a24c269417183dd5d4bfac45b4c1d3f89d4c155c747f SHA512 56bf02ed593ab532bbbe9720d0466158ab5c33fc4c48b0e606f232159ca6d86386dc0fcc49ba39fee23c85239098d87eb7ff2849785bd56b936b7d1ae548168f
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.34.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.34.0.ebuild
new file mode 100644
index 000000000000..b339b110aafd
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.34.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+
+inherit eutils pax-utils unpacker xdg-utils
+
+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"
+
+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=""
+
+BDEPEND="app-admin/chrpath"
+RDEPEND="
+ dev-libs/nss
+ media-libs/mesa[X(+)]
+ net-print/cups
+ x11-libs/gtk+:3[X]
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst"
+
+QA_PREBUILT="opt/Signal/signal-desktop
+ opt/Signal/chrome-sandbox
+ opt/Signal/crashpad_handler
+ opt/Signal/libffmpeg.so
+ opt/Signal/libGLESv2.so
+ opt/Signal/libnode.so
+ opt/Signal/libVkICD_mock_icd.so
+ opt/Signal/libvk_swiftshader.so
+ opt/Signal/swiftshader/libGLESv2.so
+ opt/Signal/resources/app.asar.unpacked/node_modules/sharp/build/Release/sharp.node
+ opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/*
+ opt/Signal/resources/app.asar.unpacked/node_modules/zkgroup/libzkgroup.so"
+
+RESTRICT="splitdebug"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ default
+ sed -e 's|\("/opt/Signal/signal-desktop"\)|\1 --start-in-tray|g' \
+ -i usr/share/applications/signal-desktop.desktop || die
+ unpack usr/share/doc/signal-desktop/changelog.gz
+ # Fix Bug 706352
+ chrpath opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/libjpeg.so.8.2.2 -r '$ORIGIN:/target/lib' || die
+ chrpath opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/libffi.so.6.0.4 -d || die
+}
+
+src_install() {
+ insinto /
+ dodoc changelog
+ doins -r opt
+ insinto /usr/share
+ 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}
+ dosym ../../usr/lib64/libEGL.so opt/Signal/libEGL.so
+ dosym ../../../usr/lib64/libEGL.so opt/Signal/swiftshader/libEGL.so
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+
+ optfeature "using the tray icon in Xfce desktop environments" xfce-extra/xfce4-statusnotifier-plugin
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}