summaryrefslogtreecommitdiffstats
path: root/trinity-apps/basket/basket-9999.ebuild
blob: ff52589812e6a3faa8148cd81a01ff5f554aed90 (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
# Copyright 1999-2020 Gentoo Authors
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

TRINITY_MODULE_TYPE="applications"

TRINITY_EXTRAGEAR_PACKAGING="yes"
TRINITY_HANDBOOK="optional"

TRINITY_LANGS="cs da de es fr it ja nl nn pl_PL pt ru sk tr zh_CN zh_TW"
inherit trinity-base-2

DESCRIPTION="Multi-purpose note-taking application for TDE"
HOMEPAGE="https://trinitydesktop.org/"

need-trinity

need-arts optional

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="${TRINITY_VER}"
IUSE+=" crypt kontact +svg"

DEPEND+="
	crypt? ( app-crypt/gpgme )
	kontact? ( ~trinity-base/kontact-${PV} )
	svg? ( ~media-libs/libart_lgpl-${PV} )"
RDEPEND+=" ${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DBUILD_TRANSLATIONS=ON
		-DBUILD_KONTACT_PLUGIN="$(usex kontact)"
		-DWITH_LIBART="$(usex svg)"
		-DWITH_GPGME="$(usex crypt)"
	)

	trinity-base-2_src_configure
}