summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>2019-04-17 08:49:05 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-22 21:54:14 +0200
commitfe679723affad93e711d5ec40f5f99d3834f3f0b (patch)
tree47beef758ab6be4e2fbaf49990e4f9180ea9665d /net-im
parentapp-cdr/cdw: set new proxy maintainer (diff)
downloadgentoo-fe679723affad93e711d5ec40f5f99d3834f3f0b.tar.gz
gentoo-fe679723affad93e711d5ec40f5f99d3834f3f0b.tar.bz2
gentoo-fe679723affad93e711d5ec40f5f99d3834f3f0b.zip
net-im/signal-desktop-bin: add new version 1.24.1
Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012@r123.de> Signed-off-by: Michał Górny <mgorny@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.24.1.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 4c18b4c07a2c..33363f55f876 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.23.2_amd64.deb 89995154 BLAKE2B 10e997e81fe9f89a8d7fdfddb20cc27c87eba305d5f74be387dac620f6a03f8eb9fdd115de67d61367aceffc5f28c70371d396ab281e84ef7380cb3eb55e1cea SHA512 46cc559d8d96821324203521cc50a29d571fc69fbb121be2060745da94e1a78605234b337ab9bbe9e29f37834a09e4db8df314356f48165f5e85fa6cccbaa912
+DIST signal-desktop_1.24.1_amd64.deb 89896368 BLAKE2B 2bda1aa749b0f008dc37648a397b501c6980fa8a860bec7249a9742cf8cd69d547259aac96c9cd0bb79372982b9e5e4e03c331cd99175406132f8a73b559e8f3 SHA512 9e8105f42405a980dc1934a5502f81915bebc2ffc9c06777df676fa4384c533d551cbd54923a22208a160d0f22a52ff55044f6a32beb9bf68ef3b1fc16bead6c
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.24.1.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.24.1.ebuild
new file mode 100644
index 000000000000..93142bc74352
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.24.1.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
+}