commit:     140dc2350566299382765ca0a3f4caad70f6fd96
Author:     Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de>
AuthorDate: Tue Feb  4 08:19:51 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Feb  4 14:34:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140dc235

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

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.30.1.ebuild               | 74 ++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/net-im/signal-desktop-bin/Manifest 
b/net-im/signal-desktop-bin/Manifest
index 6f4af3d6feb..7b8a38812a0 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST signal-desktop_1.30.0_amd64.deb 108653030 BLAKE2B 
0df5c8284f7f2306c5084797a4c986a240fbe83d81d2e73fda87d997f01f58fca203828366a257289ffa8ff819d3989a00a36942addedb90dd34e0eabed99604
 SHA512 
fc63099c7c9c16fe3b6f8b66a31e472748331ee37d848f9b4c838e08be955df49f2a3c4f1b8dba1d8a3097afeab5ab0adfaf1c306c685a22334668fea7f8b1e2
+DIST signal-desktop_1.30.1_amd64.deb 108661142 BLAKE2B 
1838502932471f7d2d275543917f685bca8ac77258649da75637682a39485f657fe48c8262ecff0a2bfce39ac08640ef916d62aead8472f148f8473f6930b63e
 SHA512 
b3eeeea662d2fbb7981345fc9c2e501d8ad83a1bf7f2319a88870442bf2ca11849315410682ed97fca29f33db81560543b13bfb8b7fe5cc9be1d8c9b9c8cdeea

diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.30.1.ebuild 
b/net-im/signal-desktop-bin/signal-desktop-bin-1.30.1.ebuild
new file mode 100644
index 00000000000..b44a40b0b27
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.30.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+
+inherit 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/libffmpeg.so
+       opt/Signal/libGLESv2.so
+       opt/Signal/libnode.so
+       opt/Signal/libVkICD_mock_icd.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/*"
+
+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
+}
+
+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
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to