aboutsummaryrefslogtreecommitdiff
blob: 43287ca35b58b5124d8e518e27603c0cb1269ac8 (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake xdg

DESCRIPTION="Desktop client for Matrix using Qt and C++14"
HOMEPAGE="https://github.com/Nheko-Reborn/nheko"
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="
	dev-qt/qtmultimedia:5[gstreamer,qml]
	dev-qt/qtquickcontrols2:5
	dev-qt/qtgraphicaleffects:5
	dev-qt/qtsvg:5
	dev-qt/qtconcurrent:5
	app-text/cmark
	dev-libs/tweeny
	dev-db/lmdb++
	>=dev-libs/mtxclient-0.3.0
	dev-cpp/nlohmann_json
"
DEPEND="
	${RDEPEND}
	dev-libs/spdlog
"
BDEPEND="dev-qt/linguist-tools:5"

src_prepare() {
	cmake_src_prepare
	xdg_environment_reset

	# TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
}