1 |
commit: 0d87efc1ab8390dc25d6849df52c87eff403451e |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 27 11:42:42 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 27 11:43:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d87efc1 |
7 |
|
8 |
app-accessibility/simon: 0.4.90 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
app-accessibility/simon/Manifest | 1 + |
13 |
.../simon/files/simon-0.4.1-libdir.patch | 4 +- |
14 |
app-accessibility/simon/simon-0.4.90.ebuild | 63 ++++++++++++++++++++++ |
15 |
3 files changed, 66 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-accessibility/simon/Manifest b/app-accessibility/simon/Manifest |
18 |
index 72ab878c0af..7c5ea4ef022 100644 |
19 |
--- a/app-accessibility/simon/Manifest |
20 |
+++ b/app-accessibility/simon/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST simon-0.4.1.tar.bz2 23856024 SHA256 8d55bc3f607a89e15efd51b844d93daf67d9967ad243f54efae324754859342d SHA512 d7349af3ec2482f18d8407891eeea7beea75630cc85aeade9f4105e3b84e82fde6284338688bbf84824d43c68de102eb34f3c21068cbe8a3307aa0586732b30d WHIRLPOOL 4c512bdfed8676cb5cfb896eacb14c66e3497abebe97a4faeb6804feb8ba36ed9101bc79a6efa573470d4a4d7eb6dfc94e3315dac488554563d35a397a066acb |
23 |
+DIST simon-0.4.90.tar.xz 25257276 SHA256 e3a947c3b0b3f033cce43e2e7a5df86e0e8beec0442b2c19397f69f39a33307b SHA512 88b225e6d0168b87241649019376c8726fb3cc96ccbb985fd3dac5f5b67ed2d84de2756537300d7944797bceb7e340cdaf1c5aed731c1a7e2873d284ca3f94c1 WHIRLPOOL dca0174065a8c06269a02fdfdd6133e10e3f944ab2574259d1330b6210db5ddc381bd0f19f7566e225c0a73b3e2ba716e6fccbcf938e9a89f94cfbfba177f7c4 |
24 |
|
25 |
diff --git a/app-accessibility/simon/files/simon-0.4.1-libdir.patch b/app-accessibility/simon/files/simon-0.4.1-libdir.patch |
26 |
index b65e4fcb143..fae811bef6b 100644 |
27 |
--- a/app-accessibility/simon/files/simon-0.4.1-libdir.patch |
28 |
+++ b/app-accessibility/simon/files/simon-0.4.1-libdir.patch |
29 |
@@ -4,8 +4,8 @@ Subject: build system |
30 |
|
31 |
make libdir modifiable |
32 |
|
33 |
---- simon-0.4.1/cmake/SimonDirs.cmake |
34 |
-+++ simon-0.4.1/cmake/SimonDirs.cmake |
35 |
+--- a/cmake/SimonDirs.cmake |
36 |
++++ b/cmake/SimonDirs.cmake |
37 |
@@ -29,6 +29,6 @@ |
38 |
#IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") |
39 |
#set(SIMON_LIB_INSTALL_DIR lib64) |
40 |
|
41 |
diff --git a/app-accessibility/simon/simon-0.4.90.ebuild b/app-accessibility/simon/simon-0.4.90.ebuild |
42 |
new file mode 100644 |
43 |
index 00000000000..c5c349f0a26 |
44 |
--- /dev/null |
45 |
+++ b/app-accessibility/simon/simon-0.4.90.ebuild |
46 |
@@ -0,0 +1,63 @@ |
47 |
+# Copyright 1999-2017 Gentoo Foundation |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=6 |
51 |
+ |
52 |
+KDE_LINGUAS="ast bs ca ca@valencia cs da de el en_GB es et fa fi fr ga gl |
53 |
+hu ia ja kk lt mr nds nl pl pt pt_BR sk sl sv tr ug uk zh_CN zh_TW" |
54 |
+SQL_REQUIRED="always" |
55 |
+inherit kde4-base |
56 |
+ |
57 |
+DESCRIPTION="Open-source speech recognition program for replacing mouse and keyboard" |
58 |
+HOMEPAGE="http://simon-listens.org/" |
59 |
+SRC_URI="mirror://kde/unstable/simon/${PV}/${P}.tar.xz" |
60 |
+ |
61 |
+LICENSE="GPL-2" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+IUSE="libsamplerate opencv sphinx" |
65 |
+ |
66 |
+RDEPEND=" |
67 |
+ media-libs/alsa-lib |
68 |
+ x11-libs/libX11 |
69 |
+ x11-libs/libXtst |
70 |
+ x11-libs/qwt:6[qt4(+)] |
71 |
+ libsamplerate? ( media-libs/libsamplerate ) |
72 |
+ opencv? ( media-libs/opencv ) |
73 |
+ sphinx? ( |
74 |
+ >=app-accessibility/pocketsphinx-0.8 |
75 |
+ >=app-accessibility/sphinxbase-0.8 |
76 |
+ >=app-accessibility/SphinxTrain-1 |
77 |
+ ) |
78 |
+ !sphinx? ( app-accessibility/julius ) |
79 |
+" |
80 |
+DEPEND="${RDEPEND} |
81 |
+ sys-devel/bison |
82 |
+ sys-devel/flex |
83 |
+ virtual/pkgconfig |
84 |
+" |
85 |
+ |
86 |
+PATCHES=( "${FILESDIR}"/${PN}-0.4.1-libdir.patch ) |
87 |
+ |
88 |
+src_configure() { |
89 |
+ local mycmakeargs=( |
90 |
+ -DSIMON_LIB_INSTALL_DIR=/usr/$(get_libdir) |
91 |
+ -DWITH_KdepimLibs=OFF |
92 |
+ -DUSE_PLASMA=OFF |
93 |
+ -DWITH_LibSampleRate=$(usex libsamplerate) |
94 |
+ -DWITH_OpenCV=$(usex opencv) |
95 |
+ -DBackendType=$(usex sphinx "both" "jhtk") |
96 |
+ $(cmake-utils_use_find_package sphinx Sphinxbase) |
97 |
+ $(cmake-utils_use_find_package sphinx Pocketsphinx) |
98 |
+ ) |
99 |
+ |
100 |
+ kde4-base_src_configure |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ kde4-base_pkg_postinst |
105 |
+ |
106 |
+ elog "Optional dependencies:" |
107 |
+ elog " kde-apps/jovie (support for Jovie TTS system)" |
108 |
+ use sphinx && elog " app-accessibility/julius (alternative backend)" |
109 |
+} |