diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2020-04-16 00:03:24 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-17 10:35:55 +0300 |
commit | a6d5f75c861872d23318def6037f6044bfa25632 (patch) | |
tree | 056e9c9123ae17fbbc8b98f62539afd1c75d817e /net-im/signal-desktop-bin | |
parent | x11-misc/rofi-calc: bump to 1.6 (diff) | |
download | gentoo-a6d5f75c861872d23318def6037f6044bfa25632.tar.gz gentoo-a6d5f75c861872d23318def6037f6044bfa25632.tar.bz2 gentoo-a6d5f75c861872d23318def6037f6044bfa25632.zip |
net-im/signal-desktop-bin: add new version 1.33.1
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.33.1.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index 5a147af10edd..a6c6108522fa 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_1.33.0_amd64.deb 98713708 BLAKE2B 287413498caf2783b4aeaf88199b9b92e7d46214554365aa06e062c61b23267ef695f233d25bedef5410a1ce9e811a84c06281bce3491a0fb57ac310d75f8911 SHA512 ba9c3de12c640d81810f9fb0365a2a9aa5ac8b262c0199a8f83b6d71e29c9bb0abac6c68313dbf67b167e4ce6d317cbe8d676cb056ceacb4720c33d27070bf47 +DIST signal-desktop_1.33.1_amd64.deb 98736548 BLAKE2B 3be5214eb4588a9a90cf2e48afe1ef51cce93f470cff78e6334536fff6aee082caa3d175c3f44314fc6581534ecf85637b090eeb08f4691f9f81d78a00d4b507 SHA512 af9ac50fe1c9605f32adf9cb96c6696bf5f18a7e43105c523bda7c689c2cc4504c4717fdf51dd0c8cc1dd0f72f7b3732a3ad240d04fb98e555a81a92b931b1f6 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.33.1.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.33.1.ebuild new file mode 100644 index 000000000000..4f84db2ab7d9 --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.33.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/-bin/}" + +inherit eutils 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/signalapp/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="" + +BDEPEND="app-admin/chrpath" +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/crashpad_handler + opt/Signal/libffmpeg.so + opt/Signal/libGLESv2.so + opt/Signal/libnode.so + opt/Signal/libVkICD_mock_icd.so + opt/Signal/libvk_swiftshader.so + opt/Signal/swiftshader/libGLESv2.so + opt/Signal/resources/app.asar.unpacked/node_modules/sharp/build/Release/sharp.node + opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/*" + +RESTRICT="splitdebug" + +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 + # Fix Bug 706352 + chrpath opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/libjpeg.so.8.2.2 -r '$ORIGIN:/target/lib' || die + chrpath opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/libffi.so.6.0.4 -d || die +} + +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 /opt/Signal/chrome-sandbox + fperms u+s /opt/Signal/chrome-sandbox + pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox + + 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 + + optfeature "using the tray icon in Xfce desktop environments" xfce-extra/xfce4-statusnotifier-plugin +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |