summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>2019-01-18 10:22:51 +0100
committerAmy Liffey <amynka@gentoo.org>2019-01-21 10:40:39 +0100
commitb2f93771c00d1c33407fe63f8f070deb416d3fb9 (patch)
tree5e7b4da25038d6f9c976c6a25e9f3e9d553426b3 /net-im/signal-desktop-bin
parentdev-python/pysaml2: fix setup.config metadata (diff)
downloadgentoo-b2f93771c00d1c33407fe63f8f070deb416d3fb9.tar.gz
gentoo-b2f93771c00d1c33407fe63f8f070deb416d3fb9.tar.bz2
gentoo-b2f93771c00d1c33407fe63f8f070deb416d3fb9.zip
net-im/signal-desktop-bin: new version 1.20.0
Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012@r123.de> Signed-off-by: Amy Liffey <amynka@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.20.0.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index d794fccedfe..047d84355cc 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.19.0_amd64.deb 74293630 BLAKE2B 44b145c422b91732486d2917efbf3daed2106fbb0e7361c320e8d73aeb5fd1e0112a56594ce2b33679dc58dc94d619eb322fc68620b166a9800f093b968fd0e6 SHA512 5530a07ec91843b417c458f06b72791a0c9a84593f20074a5a19bfbb81ee5eca7eadcb8a6639f53b3e95d43b9eeb76438b4468d744ec9f71f2b88df0473422e7
+DIST signal-desktop_1.20.0_amd64.deb 74354598 BLAKE2B 66978f55c273220974b1f078adc8da265250f352f427b587cb4f5fe5d2a72e5de7dbb1550b0d762f64a294a22dc7e27d3a277c60b554e147c15164168ef1784b SHA512 c94af56947aa792b072eb7f150b68fce4fdd363162c634b5438ba56fc5b859104d0ad0c11f66aca27f75da56d3395dc02cc74bb058ab6f15c28898742a90ed9c
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.20.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.20.0.ebuild
new file mode 100644
index 00000000000..e4a362f0ca5
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.20.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE=""
+
+RDEPEND="
+ gnome-base/gconf:2
+ dev-libs/nss
+ x11-libs/gtk+:3[X]
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ net-print/cups
+ "
+
+QA_PREBUILT="opt/Signal/signal-desktop
+ opt/Signal/libnode.so
+ opt/Signal/libffmpeg.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}
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}