summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2019-09-08 15:18:26 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-09-08 21:18:59 +0300
commitf6c9b5ad35b84629fa64d3efdaf913280da17021 (patch)
tree14fbb2c213c67a0ad95770849efe133f111fbaa5 /net-im/signal-desktop-bin
parentpackage.mask: Last rite net-libs/roadrunner (diff)
downloadgentoo-f6c9b5ad35b84629fa64d3efdaf913280da17021.tar.gz
gentoo-f6c9b5ad35b84629fa64d3efdaf913280da17021.tar.bz2
gentoo-f6c9b5ad35b84629fa64d3efdaf913280da17021.zip
net-im/signal-desktop-bin: add new version 1.27.2
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/Manifest1
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.27.2.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 15933b74ccf..d53a47d08ff 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.26.2_amd64.deb 94012202 BLAKE2B 6a9c75dfd91f968358e2b6bbfe0e97a823fb923204a61334f991d4f7b217de119a895c9ddd48c157e5222454536923d7fde3d63b43667f45f24021c7f6a5084d SHA512 3eaadbc5ae5b22153371f0781dc402a7df8fc7c7475566752050acc5a3bd7d982e11671116a03f3ad84d57b6a4c5a4152048bdef446b814cd77c31a624d308e5
+DIST signal-desktop_1.27.2_amd64.deb 85528588 BLAKE2B a3ce3bb81e68c861a4f38a143213a427882f999016bd42bcc28b4d4ef587711b9ceb7e435c4dff317503fdd4ffddbfb0c423e48ce060a227e8f43f32df1871f4 SHA512 7cea89f403fb8edf6801ea387bb3efdb536534173e0e32009884f29f95bee294fad2b59e3d886406f87b1e1c529f6fb36f3aa7ba1cdab9ec5e41aaa3a21eb313
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.27.2.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.27.2.ebuild
new file mode 100644
index 00000000000..8bfabe9f8fa
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.27.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 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/WhisperSystems/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
+ pax-mark m opt/Signal/signal-desktop
+
+ 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
+}