summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2020-04-08 09:51:11 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-04-10 13:30:02 +0300
commitbc496b5c62825f05c66a60affc8b399bf5adf9da (patch)
tree7e7943667e87a329ae3db1e4b97d872feb448787 /net-im
parentgames-util/pyfa: tidy 2.19.0.ebuild (diff)
downloadgentoo-bc496b5c62825f05c66a60affc8b399bf5adf9da.tar.gz
gentoo-bc496b5c62825f05c66a60affc8b399bf5adf9da.tar.bz2
gentoo-bc496b5c62825f05c66a60affc8b399bf5adf9da.zip
net-im/signal-desktop-bin: add new version 1.33.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-1.33.0.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index dd20d02d4e06..91e2481b9c17 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.32.3_amd64.deb 98638794 BLAKE2B 6d5a0c62cf3674928987273711ac231f08d2887191845a0daf975668f86fbf09725ba73e0818af7314d5728269bcc06e453aec4418fdf5bd9c3e71c73c8a4141 SHA512 9b6308ccafe34f9b89bc04e1a30c7bd7bc6a4cb836cc901e42e81ce8a6eb6687979277902a8d355ea923e48eb2140a9bbe920113d298440393f21862bdfc9792
+DIST signal-desktop_1.33.0_amd64.deb 98713708 BLAKE2B 287413498caf2783b4aeaf88199b9b92e7d46214554365aa06e062c61b23267ef695f233d25bedef5410a1ce9e811a84c06281bce3491a0fb57ac310d75f8911 SHA512 ba9c3de12c640d81810f9fb0365a2a9aa5ac8b262c0199a8f83b6d71e29c9bb0abac6c68313dbf67b167e4ce6d317cbe8d676cb056ceacb4720c33d27070bf47
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.33.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.33.0.ebuild
new file mode 100644
index 000000000000..4f84db2ab7d9
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.33.0.ebuild
@@ -0,0 +1,81 @@
+# 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/*"
+
+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
+}