summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert <robert@siebeck.org>2017-11-19 14:24:33 +0100
committerDavid Seifert <soap@gentoo.org>2017-11-19 14:37:21 +0100
commita60d22e460dd79d5386b957fa941427183883dd7 (patch)
tree9640ee2aeef5b5286e4e382bffd6f2841f8421f2 /net-im/signal-desktop-bin
parentgames-action/armagetronad: Minor touchups (diff)
downloadgentoo-a60d22e460dd79d5386b957fa941427183883dd7.tar.gz
gentoo-a60d22e460dd79d5386b957fa941427183883dd7.tar.bz2
gentoo-a60d22e460dd79d5386b957fa941427183883dd7.zip
net-im/signal-desktop-bin: Initial addition
Closes: https://bugs.gentoo.org/636164 Closes: https://github.com/gentoo/gentoo/pull/6233
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/metadata.xml13
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.0.38.ebuild49
3 files changed, 63 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
new file mode 100644
index 00000000000..ce2f92fc9ca
--- /dev/null
+++ b/net-im/signal-desktop-bin/Manifest
@@ -0,0 +1 @@
+DIST signal-desktop_1.0.38_amd64.deb 94694718 SHA256 ea2e215876357e027fbbcb82a57512185cf6fc7f8781819d1e8a8680078389c0 SHA512 a9b01dd4b991e2208613e5b0a70d615a06e9aa95202a15958cb6765612218022b807a8907e49bef6c2c9b7b865250f2682cbc675520364f251a9ed32cd937fb5 WHIRLPOOL 00bb2db589af68d3e706b01ebe5577bb77e20bd425731f6e8a532bc5acb0f7187cebd81bdeb278472685fba4e18c63b011f9f50f353fd518ebde5f81bac5f47d
diff --git a/net-im/signal-desktop-bin/metadata.xml b/net-im/signal-desktop-bin/metadata.xml
new file mode 100644
index 00000000000..0961ae0091e
--- /dev/null
+++ b/net-im/signal-desktop-bin/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo.bugzilla.2012@r123.de</email>
+ <name>Robert Siebeck</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>Signal is an encrypted messenger. It requires an account created through their Android or iOS app.</longdescription>
+</pkgmetadata>
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.0.38.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.0.38.ebuild
new file mode 100644
index 00000000000..8a6f4926cd8
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.0.38.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 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
+
+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=""
+
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ gnome-base/gconf:2
+ dev-libs/libappindicator:3
+ dev-libs/nss
+ x11-libs/libXtst
+ "
+
+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
+
+ 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
+}