commit:     74b5b9561ef85d7732286e8fb884c2fecd35f814
Author:     Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de>
AuthorDate: Thu Mar 26 07:51:30 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 14:00:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b5b956

net-im/signal-desktop-bin: add new version 1.32.2

Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-im/signal-desktop-bin/Manifest                 |  1 +
 .../signal-desktop-bin-1.32.2.ebuild               | 81 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/net-im/signal-desktop-bin/Manifest 
b/net-im/signal-desktop-bin/Manifest
index f1548d82ab9..036620c2330 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST signal-desktop_1.32.1_amd64.deb 98875434 BLAKE2B 
fa93cb05ab2b7ce66be40d0cf97f48fc070528819f3282f2d1c047220ffe0088429acf0c799c293a9b24cb6c6c0e47f5adfdb4be78ecfff4b5ed6ddfc35a5ec4
 SHA512 
c74b6bc27c2c92ee31601be8456084d07216738c55c9eed5fd83cc79650e4f7abba0fefa676ed89d48d5c3018cbd84a1056307b3775dfa9ae14ee3abf212dfd7
+DIST signal-desktop_1.32.2_amd64.deb 98639626 BLAKE2B 
f93688b59df0845348e0ea29431ce4ded7d6fd06cb6fca55cc46e3a5b2e654b823fc2aa0b6f11669d54b390f10fbce2a41b548cccce8a123bf8a14f685892d81
 SHA512 
a1fccf4c5e5dee2befd289166707a691ade14704d09de97b26203dcdd860208672ede6525010c7531e2764244a37642f44d362aa14981e2024711512b7735222

diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.32.2.ebuild 
b/net-im/signal-desktop-bin/signal-desktop-bin-1.32.2.ebuild
new file mode 100644
index 00000000000..4f84db2ab7d
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.32.2.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
+}

Reply via email to