commit:     40a32eb39d4ba4d2e986dff139cf1be9b115b247
Author:     Robert Siebeck <gentoo.bugzilla.2012 <AT> r123 <DOT> de>
AuthorDate: Wed Apr 11 20:39:25 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Apr 11 21:47:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a32eb3

net-im/signal-desktop-bin: version bump to 1.7.0.

Closes: https://github.com/gentoo/gentoo/pull/7943

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

diff --git a/net-im/signal-desktop-bin/Manifest 
b/net-im/signal-desktop-bin/Manifest
index 76d9e5640e4..5467a038865 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST signal-desktop_1.6.1_amd64.deb 65897816 BLAKE2B 
b297884e5586c0af0ffba29440733d66f139c08f5c12b7601d61a56528862f8b39652f946bfe6d4f32ca254fd89bd61eaeddc36f3425fd5686750fa9304c8673
 SHA512 
c7289f3c716a62d6c166a6cc4e314c49bc3c042d949354cbcc527356f28b1943abfe71e7ee4e6ac755dd4ee9a0027d9aaf6c0310e21dab8755a58c0beeec494b
+DIST signal-desktop_1.7.0_amd64.deb 64127368 BLAKE2B 
53fd7fb78856fa2e87ffc772cfa97086f21948385661e5e43ffbcbc39fdfe2de5b7032053b3f7c5a5a40e92b4aee8eb2f23f3c1c3be129477587b7b000d0b0f5
 SHA512 
f4b6e2abc7f90911a1e22bf8be603121f64df4d230347aaec85867ed2c809fc5bd2a6dbc1c9c9dd17e8ca2219eb117b7105c516bbe15b4b703c01c79acd01b78

diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.7.0.ebuild 
b/net-im/signal-desktop-bin/signal-desktop-bin-1.7.0.ebuild
new file mode 100644
index 00000000000..92008eb4f0e
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.7.0.ebuild
@@ -0,0 +1,55 @@
+# 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/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