Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/signal-desktop-bin/
Date: Thu, 01 Feb 2018 19:00:14
Message-Id: 1517511401.e3587c87f9d45eb2accaad1a300af9ac5e9473c4.mgorny@gentoo
1 commit: e3587c87f9d45eb2accaad1a300af9ac5e9473c4
2 Author: Robert Siebeck <gentoo.bugzilla.2012 <AT> r123 <DOT> de>
3 AuthorDate: Wed Jan 31 21:39:39 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 1 18:56:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3587c87
7
8 net-im/signal-desktop-bin: new version 1.3.0
9
10 Add use flag ayatana for dependency to appindicator.
11
12 Closes: https://bugs.gentoo.org/645814
13
14 net-im/signal-desktop-bin/Manifest | 1 +
15 .../signal-desktop-bin-1.3.0.ebuild | 51 ++++++++++++++++++++++
16 2 files changed, 52 insertions(+)
17
18 diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
19 index 6d0816d79b5..aad80c3a208 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.2.0_amd64.deb 65769490 BLAKE2B 04155c4e60da75aa09d909d543ba4713f725e1eafed26689f84e782a972f5526d4be520bec26809cc10adf419989bb296e2917a0ab9c1aeb1b95eb2458bd519f SHA512 597ef22cde7f38c1fa20f70cc66f2d3f69c68776ee294cea3daca36dd958439306ec335c9ced7001157631a05202569f26563453137d0f6c73beada04b88cf6c
24 +DIST signal-desktop_1.3.0_amd64.deb 65763880 BLAKE2B 2bea33c5792d3f66066314dd6d36a0f639c0e75f5c1a86ac1d7f95dd7f3047c93b56f000f29a3cfb234ab1cbf03ccccd1a801fad02176a243ebebeaf110bb163 SHA512 3dd3b1457fe584f90a70aae4bea07e1cc111d43d93d382d966b912d8e10ad18858521550dbe4588c6075a0c64f2a6eda938dbc92c684f4f305776d4e83d27131
25
26 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.3.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.3.0.ebuild
27 new file mode 100644
28 index 00000000000..49c5f56fefb
29 --- /dev/null
30 +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.3.0.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2018 Gentoo Foundation
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 unpacker xdg-utils pax-utils
40 +
41 +DESCRIPTION="Signal Desktop"
42 +HOMEPAGE="https://signal.org/ https://github.com/WhisperSystems/Signal-Desktop"
43 +SRC_URI="https://updates.signal.org/desktop/apt/pool/main/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="ayatana"
49 +
50 +RESTRICT="bindist mirror"
51 +
52 +RDEPEND="
53 + gnome-base/gconf:2
54 + dev-libs/nss
55 + x11-libs/libXtst
56 + net-print/cups
57 + ayatana? ( dev-libs/libappindicator:3 )
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_install() {
67 + doins -r .
68 + fperms +x /opt/Signal/signal-desktop
69 + pax-mark m opt/Signal/signal-desktop
70 +
71 + dosym ../../opt/Signal/${MY_PN} /usr/bin/${MY_PN}
72 +}
73 +
74 +pkg_postinst() {
75 + xdg_desktop_database_update
76 + gnome2_icon_cache_update
77 +}
78 +
79 +pkg_postrm() {
80 + xdg_desktop_database_update
81 + gnome2_icon_cache_update
82 +}