summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2020-01-17 10:02:58 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-01-17 19:14:14 +0200
commit6043eed88bacc617d8af8d1da5fb6e23bcdf37b6 (patch)
tree53c8828db38ecb99118d557603442051b845a0af /net-im
parentnet-analyzer/nagios-plugins: new revision sans the "nagios" user/group. (diff)
downloadgentoo-6043eed88bacc617d8af8d1da5fb6e23bcdf37b6.tar.gz
gentoo-6043eed88bacc617d8af8d1da5fb6e23bcdf37b6.tar.bz2
gentoo-6043eed88bacc617d8af8d1da5fb6e23bcdf37b6.zip
net-im/signal-desktop-bin: add new version 1.29.6
Closes: https://bugs.gentoo.org/705672 Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/signal-desktop-bin/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.29.6.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index e24d3ca68bbf..52a4c71b2b8c 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.29.5_amd64.deb 86027040 BLAKE2B 374f1c38cb7d64b126218ec913ea414094795d2d089a17fb718c614fff9f8dd87af16dca8bf3b6f3cf257611275bb15e3d178dc690e78b39aa2fcd293c8f7097 SHA512 f64afbd327ce71a1f7c75c57bfed358ad19a16b0e47b40ca008ed67083470fb6929f46a61411686666be6c2e4233ed20ced34a00eb0e03b27b58dda8d4d2f717
+DIST signal-desktop_1.29.6_amd64.deb 86005152 BLAKE2B adea765602343927f0d0f3327c7ff760c944f24c6366ae769a8433c44d533529b7c9d989bda18e80f72d935a8fc3422e02a21b7bbc02b0112eb292e73121b4fb SHA512 e09856de441efdc626ac25e128a9162d1dfce90951641e4080ae9625886f905b30238364d46e869bb56a6d45f2f47a37cbdf643a30510b569fe5f5f560af83eb
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.29.6.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.29.6.ebuild
new file mode 100644
index 000000000000..3c0cd1c8eaf5
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.29.6.ebuild
@@ -0,0 +1,68 @@
+# 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=""
+
+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 /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
+}