summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2020-01-24 01:04:00 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-01-24 08:54:33 +0200
commitd2a5a193cec908a8803af4460367647439e99e09 (patch)
tree4b454cb45940dc1f0662a66bfea79d4734165d04 /net-im
parentdev-python/markdown: Fix USE=doc (diff)
downloadgentoo-d2a5a193cec908a8803af4460367647439e99e09.tar.gz
gentoo-d2a5a193cec908a8803af4460367647439e99e09.tar.bz2
gentoo-d2a5a193cec908a8803af4460367647439e99e09.zip
net-im/signal-desktop-bin: add new version 1.30.0
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.30.0.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index dbedf4d863ca..9178aab14573 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST signal-desktop_1.29.6_amd64.deb 86005152 BLAKE2B adea765602343927f0d0f3327c7ff760c944f24c6366ae769a8433c44d533529b7c9d989bda18e80f72d935a8fc3422e02a21b7bbc02b0112eb292e73121b4fb SHA512 e09856de441efdc626ac25e128a9162d1dfce90951641e4080ae9625886f905b30238364d46e869bb56a6d45f2f47a37cbdf643a30510b569fe5f5f560af83eb
+DIST signal-desktop_1.30.0_amd64.deb 108653030 BLAKE2B 0df5c8284f7f2306c5084797a4c986a240fbe83d81d2e73fda87d997f01f58fca203828366a257289ffa8ff819d3989a00a36942addedb90dd34e0eabed99604 SHA512 fc63099c7c9c16fe3b6f8b66a31e472748331ee37d848f9b4c838e08be955df49f2a3c4f1b8dba1d8a3097afeab5ab0adfaf1c306c685a22334668fea7f8b1e2
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild
new file mode 100644
index 000000000000..157060a1f05e
--- /dev/null
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild
@@ -0,0 +1,69 @@
+# 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
+ 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
+}