Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/signal-desktop-bin/
Date: Wed, 21 Nov 2018 06:03:28
Message-Id: 1542780097.e78fb2d070f4d937f3dff13605debce687c25d02.amynka@gentoo
1 commit: e78fb2d070f4d937f3dff13605debce687c25d02
2 Author: Robert Siebeck <gentoo.bugzilla.2012 <AT> r123 <DOT> de>
3 AuthorDate: Sat Nov 17 18:07:38 2018 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 06:01:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78fb2d0
7
8 net-im/signal-desktop-bin: add new version 1.18.0
9
10 Closes: https://github.com/gentoo/gentoo/pull/10438
11 Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012 <AT> r123.de>
12 Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>
13
14 net-im/signal-desktop-bin/Manifest | 1 +
15 .../signal-desktop-bin-1.18.0.ebuild | 63 ++++++++++++++++++++++
16 2 files changed, 64 insertions(+)
17
18 diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
19 index d805d97fd49..506101ed783 100644
20 --- a/net-im/signal-desktop-bin/Manifest
21 +++ b/net-im/signal-desktop-bin/Manifest
22 @@ -1 +1,2 @@
23 DIST signal-desktop_1.16.3_amd64.deb 72171054 BLAKE2B b488ba95dcd26b87582c41cc51433b46ab9dcfcce4cbe002c87e9cee5b5d07c554093aab5b9b2cae42621bcaa8c63ae2d39e4f362a77f5292bc9786b1d76e920 SHA512 62bd8b6608c48b8a57471fd9aa5d2662634697aae7e9244c841d729fe8c25f18a2362593fcc522d97adce894209c4dac9379facd1b58b1dd380bb061cd08c4a6
24 +DIST signal-desktop_1.18.0_amd64.deb 72190608 BLAKE2B 6d2fb700a23f65d9581b65b2186d52923403a6a9f7a0613d8620f8ab34661e27ea14c7ed40d5f266ec2250228c5be39dbe94810bedc705f0ddfb0eff155aa65a SHA512 60b877130fad54e61543ccf899079c1fce28a8a4ba588a3600b3ff100f41736d046957686b7b423fc56c72761367cd3ce3c1f75b2f71f261f317e5cb0d9340cf
25
26 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.18.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.18.0.ebuild
27 new file mode 100644
28 index 00000000000..e4a362f0ca5
29 --- /dev/null
30 +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.18.0.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +MY_PN="${PN/-bin/}"
38 +
39 +inherit gnome2-utils pax-utils unpacker xdg-utils
40 +
41 +DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer"
42 +HOMEPAGE="https://signal.org/
43 + https://github.com/WhisperSystems/Signal-Desktop"
44 +SRC_URI="https://updates.signal.org/desktop/apt/pool/main/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="-* ~amd64"
49 +IUSE=""
50 +
51 +RDEPEND="
52 + gnome-base/gconf:2
53 + dev-libs/nss
54 + x11-libs/gtk+:3[X]
55 + x11-libs/libXScrnSaver
56 + x11-libs/libXtst
57 + net-print/cups
58 + "
59 +
60 +QA_PREBUILT="opt/Signal/signal-desktop
61 + opt/Signal/libnode.so
62 + opt/Signal/libffmpeg.so"
63 +
64 +S="${WORKDIR}"
65 +
66 +src_prepare(){
67 + default
68 + sed -e 's|\("/opt/Signal/signal-desktop"\)|\1 --start-in-tray|g' \
69 + -i usr/share/applications/signal-desktop.desktop || die
70 + unpack usr/share/doc/signal-desktop/changelog.gz
71 +}
72 +
73 +src_install() {
74 + insinto /
75 + dodoc changelog
76 + doins -r opt
77 + insinto /usr/share
78 + doins -r usr/share/applications
79 + doins -r usr/share/icons
80 + fperms +x /opt/Signal/signal-desktop
81 + pax-mark m opt/Signal/signal-desktop
82 +
83 + dosym ../../opt/Signal/${MY_PN} /usr/bin/${MY_PN}
84 +}
85 +
86 +pkg_postinst() {
87 + xdg_desktop_database_update
88 + gnome2_icon_cache_update
89 +}
90 +
91 +pkg_postrm() {
92 + xdg_desktop_database_update
93 + gnome2_icon_cache_update
94 +}