commit:     d3b66d829976e98f1412d2d6f516ca62e5d3fc19
Author:     Robert Siebeck <gentoo.bugzilla.2012 <AT> r123 <DOT> de>
AuthorDate: Fri May 11 21:40:50 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 12 17:42:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b66d82

net-im/signal-desktop-bin: add version 1.10.1

Closes: https://bugs.gentoo.org/655560

 net-im/signal-desktop-bin/Manifest                 |  1 +
 .../signal-desktop-bin-1.10.1.ebuild               | 56 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/net-im/signal-desktop-bin/Manifest 
b/net-im/signal-desktop-bin/Manifest
index 83057ac81d3..d6b8e9e5703 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST signal-desktop_1.10.0_amd64.deb 64197564 BLAKE2B 
2dbf673094a532f49c89d25de2689303ae5f36abefa7fdcc38e9899a51a1093db5699a31fa0b0f6fd5641292c6fa707bc8c9dbb0710ce391c40302219ddd681a
 SHA512 
07d5c6e59c5788cd4c15b82c72f90af39f3a232a2f5d92ac80b484dcd55c3e45d1e6bd8714b90906567b0f45d5833d9b0b1818731482f72517d9b22a50cd1fa1
+DIST signal-desktop_1.10.1_amd64.deb 64234894 BLAKE2B 
2f793979c25ebf38235d58a7f656f763e5d0a753acce7850a98716b2396c24ea0c0b5f89573b91cc7468330c0c7cf99fd5b0324046e1f8fad052d2e292111ea4
 SHA512 
7c41129a3e5653401b5bcaa71996f2248d682159cc877d00935411586259a7d53d29186d05df34f454fc834d3e7974c76a3a033ba1f1870ae55053aca58fcf8f

diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.10.1.ebuild 
b/net-im/signal-desktop-bin/signal-desktop-bin-1.10.1.ebuild
new file mode 100644
index 00000000000..5fec1e93409
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.10.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="ayatana"
+
+RESTRICT="bindist mirror"
+
+RDEPEND="
+       gnome-base/gconf:2
+       dev-libs/nss
+       x11-libs/libXScrnSaver
+       x11-libs/libXtst
+       net-print/cups
+       ayatana? ( dev-libs/libappindicator:3 )
+       "
+
+QA_PREBUILT="opt/Signal/signal-desktop
+       opt/Signal/libnode.so
+       opt/Signal/libffmpeg.so"
+
+S="${WORKDIR}"
+
+src_install() {
+       insinto /
+       dodoc -r usr/share/doc/signal-desktop/.
+       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
+}

Reply via email to