summaryrefslogtreecommitdiff
path: root/kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-04-08 01:31:10 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-04-08 01:31:10 +1000
commit86718d43c3795c7eabd221b626191a7dda932d92 (patch)
treeb51a90562ca008d98d995e2d02056e1bceb7bcea /kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild
parenta8be8d03db6c0e99e0849dd27cef22de175246f7 (diff)
downloadkde-86718d43c3795c7eabd221b626191a7dda932d92.tar.gz
kde-86718d43c3795c7eabd221b626191a7dda932d92.tar.bz2
kde-86718d43c3795c7eabd221b626191a7dda932d92.zip
kde-apps/ktp-text-ui: introduce speech USE flag
Package-Manager: portage-2.2.28
Diffstat (limited to 'kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild')
-rw-r--r--kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild b/kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild
index 97faf84fe7d..8809e3c5fd4 100644
--- a/kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild
+++ b/kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
LICENSE="Apache-2.0 AFL-2.1 BSD GPL-2+ LGPL-2.1+ MIT"
KEYWORDS=""
-IUSE=""
+IUSE="speech"
DEPEND="
$(add_frameworks_dep karchive)
@@ -42,8 +42,17 @@ DEPEND="
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
net-libs/telepathy-qt[qt5]
+ speech? ( $(add_qt_dep qtspeech) )
"
RDEPEND="${DEPEND}
$(add_kdeapps_dep ktp-contact-list)
!net-im/ktp-text-ui
"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package speech Qt5TextToSpeech)
+ )
+
+ kde5_src_configure
+}