aboutsummaryrefslogtreecommitdiff
blob: 08c591f012b7056a44e4be7a51323f6069ab43b4 (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
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3

DESCRIPTION="Libpurple protocol plugin for matrix"
HOMEPAGE="https://github.com/matrix-org/purple-matrix"
EGIT_REPO_URI="https://github.com/matrix-org/purple-matrix.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="olm"

RDEPEND="net-im/pidgin
	dev-libs/glib
	dev-libs/json-glib
	net-libs/http-parser
	dev-db/sqlite:3
	olm? (
		dev-libs/olm
		dev-libs/libgcrypt:0
	)"
DEPEND="${RDEPEND}"

src_compile() {
	use olm || export MATRIX_NO_E2E=1
	emake || die "Make failed!"
}