summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-03-31 23:08:01 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-03-31 23:08:01 +0000
commit7ffdcb98cc4a5586dc8288c2a987ea9dced1f48b (patch)
treeb0a97dcb9c655724a4a8a95e9137e585b0c9cb23 /app-accessibility/simon
parentinitial import wrt #245475 (diff)
downloadhistorical-7ffdcb98cc4a5586dc8288c2a987ea9dced1f48b.tar.gz
historical-7ffdcb98cc4a5586dc8288c2a987ea9dced1f48b.tar.bz2
historical-7ffdcb98cc4a5586dc8288c2a987ea9dced1f48b.zip
add sphinx useflag, add julius fallback
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'app-accessibility/simon')
-rw-r--r--app-accessibility/simon/ChangeLog6
-rw-r--r--app-accessibility/simon/Manifest20
-rw-r--r--app-accessibility/simon/metadata.xml1
-rw-r--r--app-accessibility/simon/simon-0.4.0.ebuild25
4 files changed, 32 insertions, 20 deletions
diff --git a/app-accessibility/simon/ChangeLog b/app-accessibility/simon/ChangeLog
index 09a3abdcdf75..b4ed3329cc85 100644
--- a/app-accessibility/simon/ChangeLog
+++ b/app-accessibility/simon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-accessibility/simon
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/simon/ChangeLog,v 1.2 2013/03/31 22:20:15 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/simon/ChangeLog,v 1.3 2013/03/31 23:07:57 hasufell Exp $
+
+ 31 Mar 2013; Julian Ospald <hasufell@gentoo.org> simon-0.4.0.ebuild,
+ metadata.xml:
+ add sphinx useflag, add julius fallback
31 Mar 2013; Julian Ospald <hasufell@gentoo.org> simon-0.4.0.ebuild:
fix deps
diff --git a/app-accessibility/simon/Manifest b/app-accessibility/simon/Manifest
index 6af28823456a..2207b0c57a79 100644
--- a/app-accessibility/simon/Manifest
+++ b/app-accessibility/simon/Manifest
@@ -5,17 +5,17 @@ AUX simon-0.4.0-libdir.patch 524 SHA256 4d0ad4f0d0c9c12bf91b231f91d942628fe78647
AUX simon-0.4.0-linguas.patch 2285 SHA256 d4a7f040e15c9f7992c9342081703ee40eec8cc20e0a4a8774a405093c318fe5 SHA512 cb34eb756774721db564de83793b8d66a7dcd6fa6c92341f01b2e251faaa6b56f1ed25ddeeaefabfee4d787aca47f014600e6b8978430c1ba1f25bce0e0049a4 WHIRLPOOL 9a6923dbf3e0e98a457e7861214db9883d69fbf10810baf2c94edd5f8ede5f09b40741791521c231ec2af89683a3de8daf89b989b017ac581003ee9845c493ed
AUX simon-0.4.0-opencv.patch 543 SHA256 c0140d88c16347614aa9fe0417de78852805ee56ea5880c873a3a2737940c448 SHA512 95454169081099148ae2c1f9a5b57d06ab5fad8cb89a8a7e5dbfed2e0d2c4e10c6be178ab1ac7546dd04f1b9a0d20739ebd5b353378d3765cb35aac14029245e WHIRLPOOL 203db5bda8957bebfd45acb815360d2576accb8092e2668377df07acbea449c0cf8f640c2566451bd7e295dda85e23a95a5ecce236ac6c1cdfbc945c5600fd22
DIST simon-0.4.0.tar.bz2 22139378 SHA256 c7ef35cd28ecf294ceae63f4b0c53384bcf89fc2a6e67916dc9d4116decabc12 SHA512 541c22e09bb4234871707cd73e038a5ab0c68a6cb2a28993571c434edff639e4826554f922a4a188b5c2a70ff9a0d627f53af0954431b561adeedccf9c170c85 WHIRLPOOL c2e0cc8632bf089ed14ef53cae02c51166780692222b7f3c7a3583356e9669cbbcd3222507128b35f282b49de2f10a73c42f63e28596c6e8412ff766bb3febfb
-EBUILD simon-0.4.0.ebuild 1978 SHA256 074cfa7552233501cb24db2fad454262ea4b262f2ca1841c70834cc8c09d2cf8 SHA512 dcbceeeb86fce108989c40467e35aac71655f2eadf4b814551b07064606700609e8f7d6ff9e417baa80ea75342b95065999b309ec2ded32a0d8666177e910c47 WHIRLPOOL 52d405dec4768f36b6b140fc519c0e146295e4fda268554f11d6f3bd1474ecd9074acc74bb42968112ce089b46f039b3df98f242fba579d584f4260f19f51dd7
-MISC ChangeLog 553 SHA256 eea45630fd62bc9e9d5fc3821e7c11baa5e42347556754dd68589686f9b4977d SHA512 8f25e07b5fb59a84d9877b12ad4099ed81d7958776cc93a15a9330b57fc57ca625e8e0c6620b0e89bde6f6b990032aaa841bdc9cf2148b280f77d0bb8fcb024b WHIRLPOOL 9fed3652be144d1717ead067f150e2701f6eef8e62089a4ebdab1af4236768399c78facbd36f5488caa34b596cc5f02645c3c27eb93399fb7393208fa837ec59
-MISC metadata.xml 404 SHA256 09cc5be53a4be1fac2ae1371db8513208d7537c159fc39436ac791483a16c5a9 SHA512 4d0964d1799aa2494105c554a464ace87f1995360fd596621c1aec31c307670c433739c06414a5d5ed21d89448314b939df425af3a1b7a521381627eb1b63057 WHIRLPOOL fd330d20ea4612e0301a93d7fa685cebdf48dcc5a1f22167ec6161767532814278480165ffa52cc2397b09ea44df0a67058f4dc6fe9fdf5c6bfb0a09bfed7b72
+EBUILD simon-0.4.0.ebuild 2262 SHA256 2faa909c7ff5bb0f2227315afc4b7c065fb51778a90c8181b186da97855b3717 SHA512 208c6125ab2592cdf3d97fe7c260776b18da1927e404db9b58be73ad81f539864eb9c5cd291086a889ec7e793714d7216bdbf05da08fdd720ed92b40b8e9af20 WHIRLPOOL b2f7ae489d23a25b7fd22c83de0bf9505744ce774adec48108d7b09bf7bce11f1e159142d771946aa421fe5e99d380d0711c1e760e2106c2bb31f792c54a4244
+MISC ChangeLog 683 SHA256 9a488911fda8e72aa1af341fb6d91bded04a3da8557061ec1d3a5baa525aca89 SHA512 05d467e1e3f8253dd7d42775cb6af6c1d3a4af24bffc5769d6f32877b170b9f7b1623f1afa26a694a150785f0d14993ad01ed8fce79b2edaf136efcb017d14e7 WHIRLPOOL bc1fffee63d7dde33f28c1d7f184fa8e1e18f821c13e61976b17e9825a5bf3cf093f609a966e7f2a77232a7ff9b0f24713a357ae0538702bf831b7c9eed33719
+MISC metadata.xml 509 SHA256 6bed832a5fa1265ec606b84609ec82d732f212dd190526bc7cbf744322ce068c SHA512 3599d7640371ef882359368be8c8eae421fd92a1eb9891c7ddf6dfc5d5e119ae3bd5beab1a6d9f234135ca4096d22ab12576ef595ef58c9d5a4d8d321d8d3f23 WHIRLPOOL a8bd563eaeccaf0a4f41038e098ebcfedf88559c361ceea6b3dc280eee5aacab854e09e355bebebb2225a1d843255477d9b0acbb78857545fa6e082bc0847864
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJRWLahAAoJEFpvPKfnPDWzaCAH/322i/TrvZmsfSMDVJLgGM5d
-jlSaKuGUT2Oz66fZnODmSMyAcBNnQzIxID5BHlsdStldSGURwLcR/TIMvtSISdPx
-eVMagNNHjO15r2GwMqHsQnUttlijlrr59RGMBk1qjjkZAa0R2nTP+fD9GDGo/gwJ
-+Al9OmNe5cdoeQEEXTbiiSkSEdps60LCGeWoZnmh6YLvm4BNHwI58UbLthdWSpCQ
-8TZ/ZlEX5+BTsaH8igYmGNZtsGtVuFdEdvft4FplaZ0Y+ES9ConH8Mb0yh9hmNCk
-3KllFTNtMQmHi777Y9XMSRxxQ7jBpOih8Xaxq7sBZBkXCfvp2ASktHLLIeV481s=
-=C0Nj
+iQEcBAEBCAAGBQJRWMHRAAoJEFpvPKfnPDWzoRMH/3IWwvlGAui2DFCHDnDuJV9+
+Vni1zz4nw35WMRFGvRMx79l1gq9jFdpQjwUSWtQ+yEUXeRg9ZYn0m7J8zZ6IHyLr
+bmeod995yLBMiLazDD9U1ZqMZ/hM8gXPl82hZbMBHTvzV6HQ4agWEvyu0Wz9HRAh
+lVFEj8Q8tMpyi16sQIOXYqITZKnGjRvLbCjDjG8RL8tKnsEG6QUsw67RpRgNNz1q
+BRCPilNe/AoH5MhpGS3nBnb6Pjf6QtWTpDmy0QUwENTK57AZmQZm29jjuawoo1ZV
+hvxXx0JX9XO4tdUyvhLJKCyd+DHnWTHWlsdE/nBxAKF+wYgPMd0MVNe6s8BYp9Y=
+=l/Kz
-----END PGP SIGNATURE-----
diff --git a/app-accessibility/simon/metadata.xml b/app-accessibility/simon/metadata.xml
index 19c1e2d761ea..ded12cab75ef 100644
--- a/app-accessibility/simon/metadata.xml
+++ b/app-accessibility/simon/metadata.xml
@@ -9,6 +9,7 @@
<use>
<flag name='kdepim'>Use <pkg>kde-base/kdepimlibs</pkg></flag>
<flag name='opencv'>Use <pkg>media-libs/opencv</pkg></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-0.4.0.ebuild b/app-accessibility/simon/simon-0.4.0.ebuild
index e06f513d1224..31aa290aad81 100644
--- a/app-accessibility/simon/simon-0.4.0.ebuild
+++ b/app-accessibility/simon/simon-0.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/simon/simon-0.4.0.ebuild,v 1.2 2013/03/31 22:20:15 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/simon/simon-0.4.0.ebuild,v 1.3 2013/03/31 23:07:57 hasufell Exp $
# KEEP KDE ECLASSES OUT OF HERE
@@ -19,12 +19,9 @@ SRC_URI="mirror://kde/stable/simon/${PV}/src/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="kdepim libsamplerate nls opencv"
+IUSE="kdepim libsamplerate nls opencv sphinx"
RDEPEND="
- >=app-accessibility/pocketsphinx-0.8
- >=app-accessibility/sphinxbase-0.8
- >=app-accessibility/SphinxTrain-1
dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtgui:4
@@ -41,7 +38,13 @@ RDEPEND="
kde-base/kde-l10n
virtual/libintl
)
- opencv? ( media-libs/opencv )"
+ opencv? ( media-libs/opencv )
+ sphinx? (
+ >=app-accessibility/pocketsphinx-0.8
+ >=app-accessibility/sphinxbase-0.8
+ >=app-accessibility/SphinxTrain-1
+ )
+ !sphinx? ( app-accessibility/julius )"
DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
@@ -51,17 +54,20 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch "${FILESDIR}"/${P}-libdir.patch \
"${FILESDIR}"/${P}-linguas.patch \
- "${FILESDIR}"/${P}-opencv.patch
+ "${FILESDIR}"/${P}-opencv.patch \
+ "${FILESDIR}"/${P}-sphinx.patch
}
src_configure() {
local mycmakeargs=(
-DSIMON_LIB_INSTALL_DIR=/usr/$(get_libdir)
- -DBackendType=both
- $(cmake-utils_use_enable nls NLS)
+ -DBackendType=$(usex sphinx "both" "jhtk")
+ $(cmake-utils_use_with sphinx Sphinxbase)
+ $(cmake-utils_use_with sphinx Pocketsphinx)
$(cmake-utils_use_with kdepim KdepimLibs)
$(cmake-utils_use_with libsamplerate LibSampleRate)
$(cmake-utils_use_with opencv OpenCV)
+ $(cmake-utils_use_enable nls NLS)
)
cmake-utils_src_configure
@@ -76,6 +82,7 @@ pkg_postinst() {
elog "optional dependencies:"
elog " kde-base/jovie (support for Jovie TTS system)"
+ use sphinx && elog " app-accessibility/julius (alternative backend)"
}
pkg_postrm() {