summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>2018-01-31 22:39:39 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-01 19:56:41 +0100
commite3587c87f9d45eb2accaad1a300af9ac5e9473c4 (patch)
tree8cb109e74dc020c263282dea370e89344aeed1c9 /net-im/signal-desktop-bin
parentwww-misc/monitorix: removed optional dependencies (diff)
downloadgentoo-e3587c87f9d45eb2accaad1a300af9ac5e9473c4.tar.gz
gentoo-e3587c87f9d45eb2accaad1a300af9ac5e9473c4.tar.bz2
gentoo-e3587c87f9d45eb2accaad1a300af9ac5e9473c4.zip
net-im/signal-desktop-bin: new version 1.3.0
Add use flag ayatana for dependency to appindicator. Closes: https://bugs.gentoo.org/645814
Diffstat (limited to 'net-im/signal-desktop-bin')
-rw-r--r--net-im/signal-desktop-bin/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.3.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index 6d0816d79b5..aad80c3a208 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.2.0_amd64.deb 65769490 BLAKE2B 04155c4e60da75aa09d909d543ba4713f725e1eafed26689f84e782a972f5526d4be520bec26809cc10adf419989bb296e2917a0ab9c1aeb1b95eb2458bd519f SHA512 597ef22cde7f38c1fa20f70cc66f2d3f69c68776ee294cea3daca36dd958439306ec335c9ced7001157631a05202569f26563453137d0f6c73beada04b88cf6c
+DIST signal-desktop_1.3.0_amd64.deb 65763880 BLAKE2B 2bea33c5792d3f66066314dd6d36a0f639c0e75f5c1a86ac1d7f95dd7f3047c93b56f000f29a3cfb234ab1cbf03ccccd1a801fad02176a243ebebeaf110bb163 SHA512 3dd3b1457fe584f90a70aae4bea07e1cc111d43d93d382d966b912d8e10ad18858521550dbe4588c6075a0c64f2a6eda938dbc92c684f4f305776d4e83d27131
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
new file mode 100644
index 00000000000..49c5f56fefb
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.3.0.ebuild
@@ -0,0 +1,51 @@
+# 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 unpacker xdg-utils pax-utils
+
+DESCRIPTION="Signal Desktop"
+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() {
+ doins -r .
+ 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
+}