commit: 86718d43c3795c7eabd221b626191a7dda932d92 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Thu Apr 7 15:31:10 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Thu Apr 7 15:31:10 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=86718d43
kde-apps/ktp-text-ui: introduce speech USE flag Package-Manager: portage-2.2.28 kde-apps/ktp-text-ui/ktp-text-ui-15.12.3.ebuild | 13 +++++++++++-- kde-apps/ktp-text-ui/ktp-text-ui-16.04.49.9999.ebuild | 11 ++++++++++- kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild | 11 ++++++++++- kde-apps/ktp-text-ui/metadata.xml | 3 +++ 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/kde-apps/ktp-text-ui/ktp-text-ui-15.12.3.ebuild b/kde-apps/ktp-text-ui/ktp-text-ui-15.12.3.ebuild index ec89400..b6b821e 100644 --- a/kde-apps/ktp-text-ui/ktp-text-ui-15.12.3.ebuild +++ b/kde-apps/ktp-text-ui/ktp-text-ui-15.12.3.ebuild @@ -10,8 +10,8 @@ DESCRIPTION="KDE Telepathy text chat window" 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=" ~amd64 ~x86" -IUSE="" +KEYWORDS="~amd64 ~x86" +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 +} diff --git a/kde-apps/ktp-text-ui/ktp-text-ui-16.04.49.9999.ebuild b/kde-apps/ktp-text-ui/ktp-text-ui-16.04.49.9999.ebuild index 97faf84..8809e3c 100644 --- a/kde-apps/ktp-text-ui/ktp-text-ui-16.04.49.9999.ebuild +++ b/kde-apps/ktp-text-ui/ktp-text-ui-16.04.49.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 +} 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 97faf84..8809e3c 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 +} diff --git a/kde-apps/ktp-text-ui/metadata.xml b/kde-apps/ktp-text-ui/metadata.xml index 2fdbf33..33bd309 100644 --- a/kde-apps/ktp-text-ui/metadata.xml +++ b/kde-apps/ktp-text-ui/metadata.xml @@ -5,4 +5,7 @@ <email>[email protected]</email> <name>Gentoo KDE Project</name> </maintainer> + <use> + <flag name="speech">Enable incoming messages to be read out using text-to-speech</flag> + </use> </pkgmetadata>
