net-im/signal-desktop-bin: new version 1.6.0
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>
Wed, 14 Mar 2018 08:12:42 +0000 (09:12 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 14 Mar 2018 10:20:40 +0000 (11:20 +0100)
net-im/signal-desktop-bin/Manifest
net-im/signal-desktop-bin/signal-desktop-bin-1.6.0.ebuild [new file with mode: 0644]

index 4d4494a4f3d7126c2a374645f1d3dc08009c1d29..bab370887040fc6689dc16e296231456c0d5c911 100644 (file)
@@ -1 +1,2 @@
 DIST signal-desktop_1.5.2_amd64.deb 65859590 BLAKE2B a710b8ca1c9729725a12594603e0fb3a6c800e5b03af17c9ef5158a024b8ebddd1e35ba4270a02ed805a3042a16486e163a5dca105feb1076deb80c636e043cd SHA512 10f6a0bfb1947620d2ce71f7e8dc6b9f6fe9c95556f3ae1b9b34aa5d84db0f357b78634e7ff815f9e7d2d3a6d0d628e20adb1817a027a32b2021c24ef8d4441e
+DIST signal-desktop_1.6.0_amd64.deb 65844236 BLAKE2B 23d9b73b64cc3f6642786f1ba6677ce56439e42e08deb1c9086b8e317489be5e6bad39778f07daff9a533defb1b172ad800cc84c8391b442c755fc65b5ec81aa SHA512 3da2b5a0761cb0a17f390dc1b6ba5d096a02ed43dd3b2486ffca207ee7c99d02b12920518c458acc700e7ae0d6a30065075462782c21bc2db84514fcd94acd23
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.6.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.6.0.ebuild
new file mode 100644 (file)
index 0000000..92008eb
--- /dev/null
@@ -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
+}