diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2020-06-22 00:46:03 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-06-22 00:46:03 +0200 |
commit | 83cf60076d85b6c938e909b0d1030f9db7e12ded (patch) | |
tree | aa16ae3a8a8a154e07148ada4a1b6e796da17829 /net-im/signal-desktop-bin | |
parent | dev-qt/qtquickcontrols2: Drop 5.14.2 (r0) (diff) | |
download | gentoo-83cf60076d85b6c938e909b0d1030f9db7e12ded.tar.gz gentoo-83cf60076d85b6c938e909b0d1030f9db7e12ded.tar.bz2 gentoo-83cf60076d85b6c938e909b0d1030f9db7e12ded.zip |
net-im/signal-desktop-bin: add new version 1.34.2
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Signed-off-by: David Seifert <soap@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.34.2.ebuild | 82 |
2 files changed, 83 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index 5f3b72841cea..4bb3eb13e02c 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_1.34.1_amd64.deb 99582102 BLAKE2B 338abd5c346e5abda98dcaac9f3792f64350bdac57828ff7c5ac50997cf4d81e311cf646cccfa7ccfb6ad3bbaf0b8843f3f46356ae196b10ddc8fe0a635cc0d2 SHA512 0576a1554937f4e1d32e5babb16d5f08a29593a15c3a0363d7735ab089c26dc5294a2eff672f026019e4f9d8d7551474e26a96ece96f59b978d3865dfeef1aa0 +DIST signal-desktop_1.34.2_amd64.deb 99599344 BLAKE2B 36ac82d2369ea29eb72a22133e44df4764f5f45029cc37673d5346ab739e46cd45171ede9b62327f0bf4e7ec75371bbc204ec0e17fcb43db8a087bafc88cc459 SHA512 a083223ad274fb89d6d1465b0f9c4c13fb99c8fa34cfe9f2c7d0522b61b76f815193aa82e41e3f47319bbbfcac01fad9dd9fd1973bc2dc47e421ac5184b95b2e diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.34.2.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.34.2.ebuild new file mode 100644 index 000000000000..b339b110aafd --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.34.2.ebuild @@ -0,0 +1,82 @@ +# 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/* + opt/Signal/resources/app.asar.unpacked/node_modules/zkgroup/libzkgroup.so" + +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 +} |