diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2016-04-08 01:31:10 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2016-04-08 01:31:10 +1000 |
| commit | 86718d43c3795c7eabd221b626191a7dda932d92 (patch) | |
| tree | b51a90562ca008d98d995e2d02056e1bceb7bcea | |
| parent | a8be8d03db6c0e99e0849dd27cef22de175246f7 (diff) | |
| download | kde-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
| -rw-r--r-- | kde-apps/ktp-text-ui/ktp-text-ui-15.12.3.ebuild | 13 | ||||
| -rw-r--r-- | kde-apps/ktp-text-ui/ktp-text-ui-16.04.49.9999.ebuild | 11 | ||||
| -rw-r--r-- | kde-apps/ktp-text-ui/ktp-text-ui-9999.ebuild | 11 | ||||
| -rw-r--r-- | 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 ec894004b9c..b6b821e6c76 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 97faf84fe7d..8809e3c5fd4 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 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 +} diff --git a/kde-apps/ktp-text-ui/metadata.xml b/kde-apps/ktp-text-ui/metadata.xml index 2fdbf33d963..33bd3090f92 100644 --- a/kde-apps/ktp-text-ui/metadata.xml +++ b/kde-apps/ktp-text-ui/metadata.xml @@ -5,4 +5,7 @@ <email>kde@gentoo.org</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> |
