public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/simon/
Date: Tue, 12 Dec 2017 23:04:10 +0000 (UTC)	[thread overview]
Message-ID: <1513119669.80b903651e9da64a2272dc44854a9e5f5e4e8c53.asturm@gentoo> (raw)

commit:     80b903651e9da64a2272dc44854a9e5f5e4e8c53
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 22:53:15 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 23:01:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b90365

app-accessibility/simon: Add KF5-branch live ebuild

Bug: https://bugs.gentoo.org/635816
Package-Manager: Portage-2.3.18, Repoman-2.3.6

 app-accessibility/simon/metadata.xml      |  1 +
 app-accessibility/simon/simon-9999.ebuild | 76 +++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/app-accessibility/simon/metadata.xml b/app-accessibility/simon/metadata.xml
index 6a60622dd26..923816d1f30 100644
--- a/app-accessibility/simon/metadata.xml
+++ b/app-accessibility/simon/metadata.xml
@@ -7,6 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="opencv">Use <pkg>media-libs/opencv</pkg></flag>
+		<flag name="pim">Enable support for KDE PIM resources integration</flag>
 		<flag name="sphinx">Build sphinx backend (pulls <pkg>app-accessibility/julius</pkg> if disabled</flag>
 	</use>
 </pkgmetadata>

diff --git a/app-accessibility/simon/simon-9999.ebuild b/app-accessibility/simon/simon-9999.ebuild
new file mode 100644
index 00000000000..f5fc867b212
--- /dev/null
+++ b/app-accessibility/simon/simon-9999.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_BRANCH="kf5"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Open-source speech recognition program for replacing mouse and keyboard"
+HOMEPAGE="http://simon-listens.org/"
+[[ ${PV} != *9999* ]] && SRC_URI="mirror://kde/unstable/simon/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+IUSE="libsamplerate opencv pim sphinx"
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kdelibs4support)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep khtml)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep ktexteditor)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_kdeapps_dep okular)
+	$(add_qt_dep qtconcurrent)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtsql)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	$(add_qt_dep qtx11extras)
+	media-libs/alsa-lib
+	media-libs/libqaccessibilityclient:5
+	x11-libs/libX11
+	x11-libs/libXtst
+	x11-libs/qwt:6=[qt5]
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package pim KF5CalendarCore)
+		$(cmake-utils_use_find_package pim KF5Akonadi)
+		-DWITH_LibSampleRate=$(usex libsamplerate)
+		-DWITH_OpenCV=$(usex opencv)
+		-DBackendType=$(usex sphinx "both" "jhtk")
+		$(cmake-utils_use_find_package sphinx Sphinxbase)
+		$(cmake-utils_use_find_package sphinx Pocketsphinx)
+		-DQWT_INCLUDE_DIR=/usr/include/qwt6
+		-DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt5.so
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	elog "Optional dependency:"
+	use sphinx && elog "  app-accessibility/julius (alternative backend)"
+}


             reply	other threads:[~2017-12-12 23:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 23:04 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-06 11:08 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/simon/ Joonas Niilola
2020-10-18 15:47 Andreas Sturmlechner
2019-11-13 13:45 Andreas Sturmlechner
2019-02-15 23:28 Andreas Sturmlechner
2017-12-12 23:04 Andreas Sturmlechner
2017-12-02 21:57 Andreas Sturmlechner
2017-12-02 21:57 Andreas Sturmlechner
2017-08-27  9:35 Andreas Sturmlechner
2017-02-19 14:55 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513119669.80b903651e9da64a2272dc44854a9e5f5e4e8c53.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox