summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2019-12-05 09:54:52 +0100
committerJoonas Niilola <juippis@gentoo.org>2019-12-07 14:47:05 +0200
commit6018ed9382014d3ad98508769fc50c0e7cba6a18 (patch)
tree22be1a513fe7647b887aefd5a939d09925bedbe0 /net-im
parentnet-misc/anydesk: bump to 5.5.1 (diff)
downloadgentoo-6018ed9382014d3ad98508769fc50c0e7cba6a18.tar.gz
gentoo-6018ed9382014d3ad98508769fc50c0e7cba6a18.tar.bz2
gentoo-6018ed9382014d3ad98508769fc50c0e7cba6a18.zip
net-im/signal-desktop-bin: add new version 1.29.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.29.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index d62c9800c55c..d98eadfcd2e1 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.28.0_amd64.deb 85752568 BLAKE2B cac2f01e55a3b8d98d1457b25b870e42b6c6c1e885c014d92f39cb26716da4526e83d85b63be3d76d76b20b17d98e0020a3573e21bf04c4040013e7a072cac1b SHA512 7f40086069fa8b62a91ebaf4e396b31c8cc20d45ad6491c30e80da91d78959138334ea78f1f58ff9bcb1a95e07788e2bfdc45454d0c950c5b15e8d7b1acd5c8b
+DIST signal-desktop_1.29.0_amd64.deb 85988876 BLAKE2B ffd9a41861d0bce589b0ca36718cf59ecde9b109987ea8725e70b263f9c406e9d5e57cff2889b393427806d655544eaffa8a86c851e1f10a352d3bc6acdf524e SHA512 a810b3434a5772f5f4e1720b387b284f328f30123092c1516ed389ed650a24a279a0069b3fb3ee4376b144fc2883f55dab094a40f6b6648514bddfdf27541688
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.29.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.29.0.ebuild
new file mode 100644
index 000000000000..4e88335023e3
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.29.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 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/WhisperSystems/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=""
+
+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"
+
+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
+}
+
+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
+ 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
+}