net-im/signal-desktop-bin: new version 1.3.0
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>
Wed, 31 Jan 2018 21:39:39 +0000 (22:39 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 1 Feb 2018 18:56:41 +0000 (19:56 +0100)
Add use flag ayatana for dependency to appindicator.

Closes: https://bugs.gentoo.org/645814

net-im/signal-desktop-bin/Manifest
net-im/signal-desktop-bin/signal-desktop-bin-1.3.0.ebuild [new file with mode: 0644]

index 6d0816d79b5e24d71ba6722f969f2df889120252..aad80c3a208ac03b428ca762121be1db3c9be331 100644 (file)
@@ -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 (file)
index 0000000..49c5f56
--- /dev/null
@@ -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
+}