Skip to content

Commit

Permalink
net-im/signal-desktop-bin: Initial addition
Browse files Browse the repository at this point in the history
  • Loading branch information
robert7k authored and SoapGentoo committed Nov 19, 2017
1 parent c23c7ac commit a60d22e
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-im/signal-desktop-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST signal-desktop_1.0.38_amd64.deb 94694718 SHA256 ea2e215876357e027fbbcb82a57512185cf6fc7f8781819d1e8a8680078389c0 SHA512 a9b01dd4b991e2208613e5b0a70d615a06e9aa95202a15958cb6765612218022b807a8907e49bef6c2c9b7b865250f2682cbc675520364f251a9ed32cd937fb5 WHIRLPOOL 00bb2db589af68d3e706b01ebe5577bb77e20bd425731f6e8a532bc5acb0f7187cebd81bdeb278472685fba4e18c63b011f9f50f353fd518ebde5f81bac5f47d
13 changes: 13 additions & 0 deletions net-im/signal-desktop-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Robert Siebeck</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>Signal is an encrypted messenger. It requires an account created through their Android or iOS app.</longdescription>
</pkgmetadata>
49 changes: 49 additions & 0 deletions net-im/signal-desktop-bin/signal-desktop-bin-1.0.38.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN="${PN/-bin/}"

inherit gnome2-utils unpacker xdg-utils

DESCRIPTION="Signal Desktop"
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=""

RESTRICT="bindist mirror"

RDEPEND="
gnome-base/gconf:2
dev-libs/libappindicator:3
dev-libs/nss
x11-libs/libXtst
"

QA_PREBUILT="opt/Signal/signal-desktop
opt/Signal/libnode.so
opt/Signal/libffmpeg.so"

S="${WORKDIR}"

src_install() {
doins -r .
fperms +x /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
}

0 comments on commit a60d22e

Please sign in to comment.