forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-im/signal-desktop-bin: Initial addition
Closes: https://bugs.gentoo.org/636164 Closes: gentoo#6233
- Loading branch information
1 parent
c23c7ac
commit a60d22e
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
49
net-im/signal-desktop-bin/signal-desktop-bin-1.0.38.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |