You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging-gentoo/trinity-base/kttsd/kttsd-14.1.1.ebuild

46 lines
1.2 KiB

# Copyright 2022-2023 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"
TRINITY_HANDBOOK="optional"
TSM_EXTRACT_ALSO="kspeechsink translations"
inherit trinity-meta-2
DESCRIPTION="TDE text-to-speech subsystem"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
IUSE="akode alsa arts epos festival flite +freetts kate"
REQUIRED_USE="!arts? ( akode )"
DEPEND=" akode? ( ~media-libs/akode-${PV} )
alsa? ( media-libs/alsa-lib )
~trinity-base/kcontrol-${PV}"
RDEPEND=" ${DEPEND}
arts? ( trinity-base/arts )
festival? ( app-accessibility/festival )
epos? ( app-accessibility/epos )
flite? ( app-accessibility/flite )
freetts? ( app-accessibility/freetts )
kate? ( trinity-base/kate )"
src_configure() {
local mycmakeargs=(
-DWITH_ARTS="$(usex arts)"
-DWITH_AKODE="$(usex akode)"
-DBUILD_KTTSD_FESTIVAL="$(usex festival)"
-DBUILD_KTTSD_EPOS="$(usex epos)"
-DBUILD_KTTSD_FLITE="$(usex flite)"
-DBUILD_KTTSD_FREETTS="$(usex freetts)"
-DBUILD_KTTSD_KATE="$(usex kate)"
-DBUILD_KTTSD_COMMAND=ON
-DBUILD_KTTSD_HADIFIX=ON
)
trinity-meta-2_src_configure
}