# Copyright 2021 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

TRINITY_MODULE_NAME="tdeaccessibility"
TRINITY_MODULE_TYPE="core"
inherit trinity-meta-2

DESCRIPTION="Documentaion for tdeaccessibility-derived packages"
if [[ ${PV} != *9999* ]] ; then
	KEYWORDS="~amd64 ~x86"
fi

RDEPEND="~trinity-base/khelpcenter-${PV}"

src_prepare() {
	echo "tde_auto_add_subdirectories()" >"${S}/doc/CMakeLists.txt"
	trinity-meta-2_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DWITH_ARTS=OFF
	)

	trinity-meta-2_src_configure
}
