net-im/signal-desktop-bin: add new version 1.22.0.
authorRobert Siebeck <gentoo.bugzilla.2012@r123.de>
Thu, 21 Feb 2019 18:21:20 +0000 (19:21 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 24 Feb 2019 22:16:06 +0000 (23:16 +0100)
Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012@r123.de>
Closes: https://github.com/gentoo/gentoo/pull/11125
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
net-im/signal-desktop-bin/Manifest
net-im/signal-desktop-bin/signal-desktop-bin-1.22.0.ebuild [new file with mode: 0644]

index 4ed3ea8aca72df91a574bfc09c1e8706a82551e3..292f2c63121d51802e6098832b644948fa3fe5d0 100644 (file)
@@ -1 +1,2 @@
 DIST signal-desktop_1.21.2_amd64.deb 74745050 BLAKE2B 6000b23876abe54ba863dc5db021ab336497b211eb3d77c7addc3c183f2ac2f8918a00e61d813cbed8c23f8408323161b5b4a9762a84362ffc8d7a445f950e8e SHA512 e678dd1d006cfdbb0fb09c1803dbe958502f53ff3c57a52bb6e3079b0e6d99171512b019888d70a0222072f9da53d94c5a33f781a0fd4b0c9c9c515573eebea3
+DIST signal-desktop_1.22.0_amd64.deb 74411844 BLAKE2B 1a0d8c10066e860142de85315c09a86b819975b5825eb1200af2a0d9e8af250b97d7b3746408ba721b6de44941464bc68262156b3052d61cf20d272c24fa3899 SHA512 ea471877991f8a85b47f72f5c8e790f230a18a9e107f8beea9b1ba9375291ed33fa07d09a07da0dad74942618a2c8d2fb51b8b5d7fe7c18ad36f305249d8f68a
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.22.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.22.0.ebuild
new file mode 100644 (file)
index 0000000..e4a362f
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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=""
+
+RDEPEND="
+       gnome-base/gconf:2
+       dev-libs/nss
+       x11-libs/gtk+:3[X]
+       x11-libs/libXScrnSaver
+       x11-libs/libXtst
+       net-print/cups
+       "
+
+QA_PREBUILT="opt/Signal/signal-desktop
+       opt/Signal/libnode.so
+       opt/Signal/libffmpeg.so"
+
+S="${WORKDIR}"
+
+src_prepare(){
+       default
+       sed -e 's|\("/opt/Signal/signal-desktop"\)|\1 --start-in-tray|g' \
+               -i usr/share/applications/signal-desktop.desktop || die
+       unpack usr/share/doc/signal-desktop/changelog.gz
+}
+
+src_install() {
+       insinto /
+       dodoc changelog
+       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
+}