summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2019-07-11 16:54:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-14 22:37:35 +0200
commit30ac5829080a618290d2290415e31d99f2d5dca9 (patch)
tree9d9632306734a872a571cd12294c4b5bea2a7e1d /net-im/signal-desktop-bin
parentx11-apps/igt-gpu-tools: Drop old versions (diff)
downloadgentoo-30ac5829080a618290d2290415e31d99f2d5dca9.tar.gz
gentoo-30ac5829080a618290d2290415e31d99f2d5dca9.tar.bz2
gentoo-30ac5829080a618290d2290415e31d99f2d5dca9.zip
net-im/signal-desktop-bin: add new version 1.25.3
Signed-off-by: Robert Siebeck <gentoo.2019@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.25.3.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 901979082092..f7b0f171f7b4 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.25.1_amd64.deb 75926260 BLAKE2B 949fe86fe311b607645d4c6630fc4b63f258554101b262d0ab01b768a9daf5864b61c740f29673580236e903e5f33ffa451888973495f1957d9a01238b0bfffa SHA512 fe816d38d179b978a2b50a040eb0b2beb4a99b4e6cfc1eff872eaee5a0c0e9ab9f5293594bdd168444f3aaf02dd2f84ab0e8a683b0ba54588f46bde7d557c4ef
+DIST signal-desktop_1.25.3_amd64.deb 93829666 BLAKE2B 33a6bc00994fb8fb8b58702be83d8401728077e65f5c4284664b5a4b00275d524baf4265143ccc5d6a081f5c8e1d9ffa41c8534312fc07eea72d20597ba9f123 SHA512 9eb811fc5b8b09407055212d8eab0bf549917fdf1d2e65058fc47ad093e6940daac6ae437acd6b8ce00d83696879a04d3acd64fddeae9d3e7561633e38d676c4
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.25.3.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.25.3.ebuild
new file mode 100644
index 000000000000..93142bc74352
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.25.3.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
+}