summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2018-08-06 15:01:56 +0100
committerAmy Liffey <amynka@gentoo.org>2018-08-06 15:05:28 +0100
commit78a3f0c2f44ffcb8840b739e30c50aee2d952a03 (patch)
tree31a09062e65b4d4f3bb6913aacf119eb5070e097 /net-im/signal-desktop-bin
parentnet-im/signal-desktop-bin: remove old version (diff)
downloadgentoo-78a3f0c2f44ffcb8840b739e30c50aee2d952a03.tar.gz
gentoo-78a3f0c2f44ffcb8840b739e30c50aee2d952a03.tar.bz2
gentoo-78a3f0c2f44ffcb8840b739e30c50aee2d952a03.zip
net-im/signal-desktop-bin: add start-in-tray for desktop file
Closes: https://github.com/gentoo/gentoo/pull/9430 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-im/signal-desktop-bin')
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.15.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.15.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.15.0.ebuild
index 4c7b60f0d17..078b15d4bb3 100644
--- a/net-im/signal-desktop-bin/signal-desktop-bin-1.15.0.ebuild
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.15.0.ebuild
@@ -6,6 +6,7 @@ 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"
@@ -33,6 +34,12 @@ QA_PREBUILT="opt/Signal/signal-desktop
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
+}
+
src_install() {
insinto /
dodoc -r usr/share/doc/signal-desktop/.