summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2019-08-12 22:35:26 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-13 07:45:06 +0300
commit2705f9a81d9d413aef92e3fbecc7cf68d9b89ed1 (patch)
treec9693ad12c8de96719b35ed0949d2cccce45af65 /net-im/signal-desktop-bin
parentdev-python/greenstalk: bump to version 1.0.1. (diff)
downloadgentoo-2705f9a81d9d413aef92e3fbecc7cf68d9b89ed1.tar.gz
gentoo-2705f9a81d9d413aef92e3fbecc7cf68d9b89ed1.tar.bz2
gentoo-2705f9a81d9d413aef92e3fbecc7cf68d9b89ed1.zip
net-im/signal-desktop-bin: add new version 1.26.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/signal-desktop-bin')
-rw-r--r--net-im/signal-desktop-bin/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.26.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 41ea40780c1..2702a033c59 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.25.3_amd64.deb 93829666 BLAKE2B 33a6bc00994fb8fb8b58702be83d8401728077e65f5c4284664b5a4b00275d524baf4265143ccc5d6a081f5c8e1d9ffa41c8534312fc07eea72d20597ba9f123 SHA512 9eb811fc5b8b09407055212d8eab0bf549917fdf1d2e65058fc47ad093e6940daac6ae437acd6b8ce00d83696879a04d3acd64fddeae9d3e7561633e38d676c4
+DIST signal-desktop_1.26.0_amd64.deb 94010252 BLAKE2B 058f01da1c06d7cdb93f70d595301c50a820b7bd50d62bbed7f28a2555ed134d68aeb75a8087fd0853ed3f6ddfe3518abb5a512994fe2f858071e148196456be SHA512 965f2e11e6e6b8135237eab32cbd7f18170aad647e2bd3a26fa787a74990a6e9c53035c1500f1f068bfb8ec5e82e6d473a5b4962cbf51e9f857c189420e0f69e
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.26.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.26.0.ebuild
new file mode 100644
index 00000000000..93142bc7435
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.26.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
+ net-print/cups
+ x11-libs/gtk+:3[X]
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ "
+
+QA_PREBUILT="opt/Signal/signal-desktop
+ 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
+ pax-mark m opt/Signal/signal-desktop
+
+ 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
+}