summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/signal-desktop-bin/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.1.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 54cf368c1efc..4908945f21ca 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.0.40_amd64.deb 94694618 BLAKE2B ed6824f3e2ab2ee7a9872d19b8b8938547be8e3904d62d646b4e7c2dafb1caea3a8f847b7ac6fbbe6d905f5af45a02f83d766d7f55205a1a6fbc0927c2b464ad SHA512 b11f9b537a862c496a942a17977c7cc4f5ffc7b5892c6287e13711b2705163692d7b014083de770144df6d51bfc9a8b0f128e3b1a8c0f507fc042d27d5136d32
+DIST signal-desktop_1.1.0_amd64.deb 65522064 BLAKE2B 4128a5d3ceca998fb36dc48a19c7cb520f5ea9a162881e1bcd578b6e68861113164c636a0159e937b42492ecfa5624de66376871a61133a4c3fc4be85e535322 SHA512 2bb1c92ccc070325d38bfaacca6998a1ce465801e70736bea9eee3f46fb321882bbe052460cdef8c4767ea971b3be248f31467f301feebed428048541a613524
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.1.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.1.0.ebuild
new file mode 100644
index 000000000000..55ac05c96d96
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.1.0.ebuild
@@ -0,0 +1,51 @@
+# 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 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=""
+
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ gnome-base/gconf:2
+ dev-libs/libappindicator:3
+ dev-libs/nss
+ x11-libs/libXtst
+ net-print/cups
+ "
+
+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
+}