diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2019-11-14 10:28:40 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-11-16 11:45:48 +0200 |
commit | 723794cd7c1a1bd0c6638dafe762207714935f63 (patch) | |
tree | 6a8726727b7a74ed68933d695972876a73c37898 /net-im/signal-desktop-bin | |
parent | net-misc/youtube-viewer: Bump to version 3.5.9 (diff) | |
download | gentoo-723794cd7c1a1bd0c6638dafe762207714935f63.tar.gz gentoo-723794cd7c1a1bd0c6638dafe762207714935f63.tar.bz2 gentoo-723794cd7c1a1bd0c6638dafe762207714935f63.zip |
net-im/signal-desktop-bin: add new version 1.28.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/signal-desktop-bin')
-rw-r--r-- | net-im/signal-desktop-bin/Manifest | 1 | ||||
-rw-r--r-- | net-im/signal-desktop-bin/signal-desktop-bin-1.28.0.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index f795d565830d..66decd5b8dd1 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_1.27.3_amd64.deb 85860608 BLAKE2B 5d05ebe7fce49974dced743f3dddf5624af5c628827b36acc0d3d425f48a2f76f8b028a3bcfd53928b66888d5ba7067edc206e20b76e2f917a1b53478e697fa0 SHA512 21a00820cb218e155020e6a2e24d3235fca77dd714c3c13263fe435d5326caf57caea8461f0b5830fb1762b0f567864496ad26299c3cb326ddcbd64951a21d7c +DIST signal-desktop_1.28.0_amd64.deb 85752568 BLAKE2B cac2f01e55a3b8d98d1457b25b870e42b6c6c1e885c014d92f39cb26716da4526e83d85b63be3d76d76b20b17d98e0020a3573e21bf04c4040013e7a072cac1b SHA512 7f40086069fa8b62a91ebaf4e396b31c8cc20d45ad6491c30e80da91d78959138334ea78f1f58ff9bcb1a95e07788e2bfdc45454d0c950c5b15e8d7b1acd5c8b diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.28.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.28.0.ebuild new file mode 100644 index 000000000000..8bfabe9f8fa7 --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.28.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/-bin/}" + +inherit 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 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="" + +RDEPEND=" + dev-libs/nss + media-libs/mesa[X(+)] + net-print/cups + x11-libs/gtk+:3[X] + x11-libs/libXScrnSaver + x11-libs/libXtst" + +QA_PREBUILT="opt/Signal/signal-desktop + opt/Signal/chrome-sandbox + opt/Signal/libffmpeg.so + opt/Signal/libGLESv2.so + opt/Signal/libnode.so + opt/Signal/libVkICD_mock_icd.so + opt/Signal/swiftshader/libGLESv2.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} + dosym ../../usr/lib64/libEGL.so opt/Signal/libEGL.so + dosym ../../../usr/lib64/libEGL.so opt/Signal/swiftshader/libEGL.so +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |