summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>2019-03-21 23:22:33 +0100
committerMichał Górny <mgorny@gentoo.org>2019-04-03 10:18:31 +0200
commit4b0859fdc033db6f857d16dd6a5e35b3bd3e6b93 (patch)
treeb314c680f5f94f75b4628e4d90bcd7479286165e /net-im/signal-desktop-bin
parentsys-kernel/vanilla-sources: Automated version bump to {4.4.178,4.9.167,4.14.1... (diff)
downloadgentoo-4b0859fdc033db6f857d16dd6a5e35b3bd3e6b93.tar.gz
gentoo-4b0859fdc033db6f857d16dd6a5e35b3bd3e6b93.tar.bz2
gentoo-4b0859fdc033db6f857d16dd6a5e35b3bd3e6b93.zip
net-im/signal-desktop-bin: add new version 1.23.2
Use libEGL.so from media-libs/mesa. Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012@r123.de> Signed-off-by: Michał Górny <mgorny@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.23.2.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index 44af01e01ad..ea3a4c5a10e 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.22.0_amd64.deb 74411844 BLAKE2B 1a0d8c10066e860142de85315c09a86b819975b5825eb1200af2a0d9e8af250b97d7b3746408ba721b6de44941464bc68262156b3052d61cf20d272c24fa3899 SHA512 ea471877991f8a85b47f72f5c8e790f230a18a9e107f8beea9b1ba9375291ed33fa07d09a07da0dad74942618a2c8d2fb51b8b5d7fe7c18ad36f305249d8f68a
+DIST signal-desktop_1.23.2_amd64.deb 89995154 BLAKE2B 10e997e81fe9f89a8d7fdfddb20cc27c87eba305d5f74be387dac620f6a03f8eb9fdd115de67d61367aceffc5f28c70371d396ab281e84ef7380cb3eb55e1cea SHA512 46cc559d8d96821324203521cc50a29d571fc69fbb121be2060745da94e1a78605234b337ab9bbe9e29f37834a09e4db8df314356f48165f5e85fa6cccbaa912
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.23.2.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.23.2.ebuild
new file mode 100644
index 00000000000..159987e3abe
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.23.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/-bin/}"
+
+inherit gnome2-utils 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
+ gnome-base/gconf:2
+ 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
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}