From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7DD0D138353 for ; Wed, 29 Apr 2020 08:10:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC8E8E08C3; Wed, 29 Apr 2020 08:10:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91CDCE08C3 for ; Wed, 29 Apr 2020 08:10:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8AF4034EF3F for ; Wed, 29 Apr 2020 08:10:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16C711FB for ; Wed, 29 Apr 2020 08:10:13 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1588147797.0c8a588ab8b2b7782bf8dbd18ba1007dfbd8ff13.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/signal-desktop-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/signal-desktop-bin/Manifest net-im/signal-desktop-bin/signal-desktop-bin-1.33.4.ebuild X-VCS-Directories: net-im/signal-desktop-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0c8a588ab8b2b7782bf8dbd18ba1007dfbd8ff13 X-VCS-Branch: master Date: Wed, 29 Apr 2020 08:10:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17d358f5-9eb4-4282-aa78-366afc0901f1 X-Archives-Hash: 7ba4861757c82ed4716fe9f3ef75ca2a commit: 0c8a588ab8b2b7782bf8dbd18ba1007dfbd8ff13 Author: Robert Siebeck r123 de> AuthorDate: Tue Apr 28 08:24:53 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Apr 29 08:09:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c8a588a net-im/signal-desktop-bin: add new version 1.33.4 Signed-off-by: Robert Siebeck r123.de> Signed-off-by: Joonas Niilola gentoo.org> net-im/signal-desktop-bin/Manifest | 1 + .../signal-desktop-bin-1.33.4.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index 62adfd3814b..b9612bb5e37 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_1.33.3_amd64.deb 98800856 BLAKE2B 4ad01f1b6e237ba9f4bb152f3abfc3c586ed9c72aa7a274e50e80a54576ab2573a764ec3c50fa9c84b3f51d041f8b9e3f059fc30eaa62a5ff9ec6bb8e6f06475 SHA512 28b6ece0f79db6c4d386beece0f2c2b0ca7ee6a41e7b8f64541af9ac89baaf0713b8ca0832f90ed9c4ac66e9f7be0a2b19e02f16a5eb1f733c34e98e7baaa04f +DIST signal-desktop_1.33.4_amd64.deb 98801978 BLAKE2B d08ba8b74b9cffa7e81c50d225e936a2faf6d0fac9bb12d7841afd794dc136804ad37242a51eb7ec1311e41b35f7cd4c945f8e6169f0f0f2fff9a297e96897e8 SHA512 65789bac0d9748c4c9874b333bc0a05fcd30995f2ae61fb7cee0e3c52ad97ba110f5249559a7285e1bb9d214cc01f2529b89d306f73cfc0befe1d473da3e7210 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.33.4.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.33.4.ebuild new file mode 100644 index 00000000000..4f84db2ab7d --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.33.4.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 +}