|
|
|
# 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 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/"
|
|
|
|
|
|
|
|
need-trinity
|
|
|
|
|
|
|
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
|
|
|
SLOT="${TRINITY_VER}"
|
|
|
|
IUSE+=" gtk tde tqt"
|
|
|
|
|
|
|
|
DEPEND+="
|
|
|
|
gtk? ( x11-libs/gtk+:2 )
|
|
|
|
tqt? ( ~dev-tqt/tqtinterface-${PV} )
|
|
|
|
"
|
|
|
|
RDEPEND+=" ${DEPEND}"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
|
|
|
-DBUILD_KGTK_TQT="$(usex tqt)"
|
|
|
|
-DBUILD_KGTK_TDE="$(usex tde)"
|
|
|
|
-DBUILD_KGTK_GTK2="$(usex gtk)"
|
|
|
|
)
|
|
|
|
|
|
|
|
trinity-base-2_src_configure
|
|
|
|
}
|