summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>2018-04-25 18:48:09 +0200
committerAaron Bauman <bman@gentoo.org>2018-04-26 11:19:10 -0400
commita35fe4c6a8be88c4c26af30173d72cb4aa6cdf7c (patch)
treef7eb1165c5223bd755037699c800fe51c59bc844 /net-im
parentprofiles/package.mask: Mask dev-cpp/gmock. (diff)
downloadgentoo-a35fe4c6a8be88c4c26af30173d72cb4aa6cdf7c.tar.gz
gentoo-a35fe4c6a8be88c4c26af30173d72cb4aa6cdf7c.tar.bz2
gentoo-a35fe4c6a8be88c4c26af30173d72cb4aa6cdf7c.zip
net-im/signal-desktop-bin: add new version 1.8.0
Closes: https://github.com/gentoo/gentoo/pull/8133
Diffstat (limited to 'net-im')
-rw-r--r--net-im/signal-desktop-bin/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.8.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index 1cbfe3368f2e..f517b63fffb1 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.7.1_amd64.deb 64518108 BLAKE2B 4253f9d5590d5776051da27fef3eb79227e8e5760e690ec5e6255b6e6e5a237b90c70be6e43f10c0fe39df9f9bd882d24681d9b11550eadc5cfb53691a3aab48 SHA512 45c104f8e09779a767f647e905e9d3bd981c4500bc4254464b66d2b55f9480be7302a69828c5b919ab517b6f821ec474b902404306852e0176041c96607dd6a6
+DIST signal-desktop_1.8.0_amd64.deb 64522318 BLAKE2B d634eafdbb0eb27cf0d622f7fad48fd2575046af28ce431f788d34d81368c5c0e2f32b96c09e915f33ddf13f524f83dd210f861f51492a702c39fb280cf5c583 SHA512 3eaf83af0d2fd50f8049880881bcb4320c734e5f4c389911c62281fc22043fd1226ba6a1fa0a02821a4a74b2e4e75dcef92cadd496539fcda5b8504dba4e0c51
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.8.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.8.0.ebuild
new file mode 100644
index 000000000000..92008eb4f0ec
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.8.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
+}