blob: a18c6abd5f7d1fdf6b675c3e6b11614804b3d05d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Copyright 2016 Julian Ospald
# Distributed under the terms of the GNU General Public License v2
SCM_REPOSITORY="https://github.com/Bitmessage/PyBitmessage.git"
require setup-py [ blacklist='3' has_bin=true multibuild=false python_opts='[sqlite]' import='distutils' ]
require scm-git
require gtk-icon-cache
DOWNLOADS=""
SUMMARY="P2P communications protocol"
DESCRIPTION="
Bitmessage is a P2P communications protocol used to send encrypted messages to
another person or to many subscribers. It is decentralized and trustless,
meaning that you need-not inherently trust any entities like root certificate
authorities. It uses strong authentication, which means that the sender of a
message cannot be spoofed, and it aims to hide 'non-content' data, like the
sender and receiver of messages, from passive eavesdroppers like those running
warrantless wiretapping programs.
"
HOMEPAGE+=" https://bitmessage.org"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
"
DEPENDENCIES="
run:
dev-python/PyQt4[python_abis:*(-)?]
dev-python/msgpack[python_abis:*(-)?]
providers:libressl? ( dev-libs/libressl )
providers:openssl? ( dev-libs/openssl )
suggestion:
dev-python/pyopencl[python_abis:*(-)?] [[ description = [ Use GPU acceleration for proof of work ] ]]
media-sound/mpg123 [[ description = [ For playing mp3 files ] ]]
net-misc/tor [[ description = [ For running bitmessage traffic
through the tor network ] ]]
sys-sound/alsa-utils [[ description = [ For playing wav files ] ]]
"
#src_install() {
# local SITEDIR="$(python_get_sitedir)/${PN}"
# python setup.py install
# herebin ${PN} <<EOF
##!/bin/sh
#cd "${SITEDIR}"
#exec "${PYTHON}" "./bitmessagemain.py"
#EOF
# insinto "${SITEDIR}"
# doins -r src/*
# emagicdocs
# doman man/*
# insinto /usr/share/icons/hicolor/24x24/apps
# newins desktop/icon24.png ${PN}.png
# insinto /usr/share/icons/hicolor/scalable/apps
# newins desktop/can-icon.svg ${PN}.svg
# insinto /usr/share/applications
# doins desktop/${PN}.desktop
# python_bytecompile
#}
|