net-im/signal-desktop-bin: bump version 1.6.1
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>
Sun, 18 Mar 2018 17:20:35 +0000 (18:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 19 Mar 2018 16:18:05 +0000 (17:18 +0100)
net-im/signal-desktop-bin/Manifest
net-im/signal-desktop-bin/signal-desktop-bin-1.6.1.ebuild [new file with mode: 0644]

index b5fb9b596a484b78b7da74dac99b227556a28f21..f8d120bcd87ead972d53eac8b5af4936f21b0c66 100644 (file)
@@ -1 +1,2 @@
 DIST signal-desktop_1.6.0_amd64.deb 65844236 BLAKE2B 23d9b73b64cc3f6642786f1ba6677ce56439e42e08deb1c9086b8e317489be5e6bad39778f07daff9a533defb1b172ad800cc84c8391b442c755fc65b5ec81aa SHA512 3da2b5a0761cb0a17f390dc1b6ba5d096a02ed43dd3b2486ffca207ee7c99d02b12920518c458acc700e7ae0d6a30065075462782c21bc2db84514fcd94acd23
+DIST signal-desktop_1.6.1_amd64.deb 65897816 BLAKE2B b297884e5586c0af0ffba29440733d66f139c08f5c12b7601d61a56528862f8b39652f946bfe6d4f32ca254fd89bd61eaeddc36f3425fd5686750fa9304c8673 SHA512 c7289f3c716a62d6c166a6cc4e314c49bc3c042d949354cbcc527356f28b1943abfe71e7ee4e6ac755dd4ee9a0027d9aaf6c0310e21dab8755a58c0beeec494b
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.6.1.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.6.1.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
+}