summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kgtk-qt3/kgtk-qt3-9999.ebuild
blob: 683b3e69dd173a463ef1a473a83996cad8e2409d (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
# 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 de es en_GB fr nl pl pt_BR ru zh_CN"

inherit trinity-base-2

DESCRIPTION="TDE dialogs in GTK 2.x applications "
HOMEPAGE="https://trinitydesktop.org/"
LICENSE="|| ( GPL-2 GPL-3 )"

need-trinity

SLOT="${TRINITY_VER}"

IUSE+=" tqt tde gtk2"

DEPEND+="
	tqt? ( ~dev-tqt/tqtinterface-${PV} )
	gtk2? ( x11-libs/gtk+:2 )
"
RDEPEND+=" ${DEPEND}"

src_configure() {
	mycmakeargs=(
		-DBUILD_KGTK_TQT="$(usex tqt)"
		-DBUILD_KGTK_TDE="$(usex tde)"
		-DBUILD_KGTK_GTK2="$(usex gtk2)"
	)

	trinity-base-2_src_configure
}