diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2020-03-08 21:37:52 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-03-09 07:55:09 +0200 |
commit | 5c0ed20ed954cc05a1b4daf77ae22e9c67c49b14 (patch) | |
tree | 96aced0f56957dcc550731681c12ba7ac77beed1 /net-im/signal-desktop-bin | |
parent | dev-python/twisted-19.10.0: add ~alpha, bug 661320 (diff) | |
download | gentoo-5c0ed20ed954cc05a1b4daf77ae22e9c67c49b14.tar.gz gentoo-5c0ed20ed954cc05a1b4daf77ae22e9c67c49b14.tar.bz2 gentoo-5c0ed20ed954cc05a1b4daf77ae22e9c67c49b14.zip |
net-im/signal-desktop-bin: add new version 1.32.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.32.1.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index f3806855f2df..596e1bb15640 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_1.31.0_amd64.deb 92405482 BLAKE2B dbbdfbe47556fabe8713ecfaa76f79d09584fb62b08c885865bb4df5e7bad245fcf9ce735ea9c03eb687343501eed9f9b27aa82b30c8ae0d434b923ff62907ee SHA512 07eef132837285a2348f3c3b253a6964f7446254a93a98b3270393acf54bf59244558fba22cf15ced23f27cc5eb833aecd8bb9c161f366bd6d661d96f9c5e8e3 +DIST signal-desktop_1.32.1_amd64.deb 98875434 BLAKE2B fa93cb05ab2b7ce66be40d0cf97f48fc070528819f3282f2d1c047220ffe0088429acf0c799c293a9b24cb6c6c0e47f5adfdb4be78ecfff4b5ed6ddfc35a5ec4 SHA512 c74b6bc27c2c92ee31601be8456084d07216738c55c9eed5fd83cc79650e4f7abba0fefa676ed89d48d5c3018cbd84a1056307b3775dfa9ae14ee3abf212dfd7 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.32.1.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.32.1.ebuild new file mode 100644 index 000000000000..868fb6cf75a0 --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.32.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 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/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 +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |