net-im/signal-desktop-bin: add new version 1.18.0

Closes: https://github.com/gentoo/gentoo/pull/10438
Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012@r123.de>
Signed-off-by: Amy Liffey <amynka@gentoo.org>
This commit is contained in:
Robert Siebeck
2018-11-17 19:07:38 +01:00
committed by Amy Liffey
parent ec4b54c4b0
commit e78fb2d070
2 changed files with 64 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST signal-desktop_1.16.3_amd64.deb 72171054 BLAKE2B b488ba95dcd26b87582c41cc51433b46ab9dcfcce4cbe002c87e9cee5b5d07c554093aab5b9b2cae42621bcaa8c63ae2d39e4f362a77f5292bc9786b1d76e920 SHA512 62bd8b6608c48b8a57471fd9aa5d2662634697aae7e9244c841d729fe8c25f18a2362593fcc522d97adce894209c4dac9379facd1b58b1dd380bb061cd08c4a6
DIST signal-desktop_1.18.0_amd64.deb 72190608 BLAKE2B 6d2fb700a23f65d9581b65b2186d52923403a6a9f7a0613d8620f8ab34661e27ea14c7ed40d5f266ec2250228c5be39dbe94810bedc705f0ddfb0eff155aa65a SHA512 60b877130fad54e61543ccf899079c1fce28a8a4ba588a3600b3ff100f41736d046957686b7b423fc56c72761367cd3ce3c1f75b2f71f261f317e5cb0d9340cf

View File

@@ -0,0 +1,63 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PN="${PN/-bin/}"
inherit gnome2-utils 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"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
RDEPEND="
gnome-base/gconf:2
dev-libs/nss
x11-libs/gtk+:3[X]
x11-libs/libXScrnSaver
x11-libs/libXtst
net-print/cups
"
QA_PREBUILT="opt/Signal/signal-desktop
opt/Signal/libnode.so
opt/Signal/libffmpeg.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}
}
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}