summaryrefslogtreecommitdiff
path: root/app-accessibility/pocketsphinx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-accessibility/pocketsphinx
reinit the tree, so we can have metadata
Diffstat (limited to 'app-accessibility/pocketsphinx')
-rw-r--r--app-accessibility/pocketsphinx/Manifest5
-rw-r--r--app-accessibility/pocketsphinx/metadata.xml11
-rw-r--r--app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild50
3 files changed, 66 insertions, 0 deletions
diff --git a/app-accessibility/pocketsphinx/Manifest b/app-accessibility/pocketsphinx/Manifest
new file mode 100644
index 000000000000..c444e190ac54
--- /dev/null
+++ b/app-accessibility/pocketsphinx/Manifest
@@ -0,0 +1,5 @@
+DIST pocketsphinx-0.8.tar.gz 23781837 SHA256 874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a SHA512 b53ab8883ddbc2c66c6a6af1bac318f3cdfd5a495cb636f33eb649d42f28780b36c43dfd9a61f213d6a1b83f0fba6b114d44b38d9fa091acf62a8e529118e583 WHIRLPOOL 90078dea3bcfeca6f04fb058e9d9d42e505dc3919606ef6f392abaf91251421243a02d6892eafb1c8890ab430b6f87a81b7b0c1c5df73675a737923d384ce674
+EBUILD pocketsphinx-0.8.ebuild 1023 SHA256 5b9b25d163cdaa855f4f8616e4defd195c525be84274ceceb7533c6d50143dff SHA512 979d56f0ec0886ded897007e5bbd87a105a852912b3c5e826252e0ba968a065d5fb9080713ac20b3b2d10e0c90337d63dbb4d751dc50b7ab7710ebb6c7751a97 WHIRLPOOL 4cd0d1a4c014e7f12d428e8e0d7b4ccf4c17820a27b0f7fbe37d4d279924d26517171aec0ddc8c7b946f810c802763a4d4bff4b760a40f2bcd62fa8e50f10953
+MISC ChangeLog 2447 SHA256 f31803d52f2f4e9091d77e9456a37743003af266e803d56ec31a9cf78f0dc9f1 SHA512 85e835457ba5fbc8bc7bb5d54fc83aee002798f1aa675a0a032159b40b9e3c6301a9dbfcf8f117dee7addc5aacfa781dacbdbd72ec97ab9517702402d660990d WHIRLPOOL eda65a3be888053ba5abf9cd2a99f5c00fe4538df9ff90d99f56127903e39f35d5b0288fcdd7368c44aae21ea1357efd85f87f8f4846fa7f95e73971bab205ea
+MISC ChangeLog-2015 894 SHA256 902a93bcf50f7545bbab3fc7a0102d0d5b84af02bb511f32085eb5bee8e3c829 SHA512 2992d93323391fc13bd95c9624e3d5ca36891c4cc639c6a20d6dbe41b7753568433fc4f556f00c1f04226f1987f933e4498d4734923c12c9a81b750ddf9a2a2e WHIRLPOOL 932502e2f322d3d5bc56d64c74a283810ddff367319721bea69e73f406c1cc39d32f5ed90701b55b91455f4a6e3772deea0d9e68597acfd746958467e8b776be
+MISC metadata.xml 348 SHA256 d9bd602b65a5fadd7279129dba6081262706e71364f005412f620ecee476e2df SHA512 34f2af68ffe473a5fc01eafc493532b72e40339ec299960ed5b9b0b45f0a2681497d1adad8c87dfefbdd446825c1eaa8d08a29b900e8e6998a131c20f24ef5c7 WHIRLPOOL 613351b663338df3c909b7e5262c484cb65d86b16799baf0cf440ba0fca4a780f5599204b6927c8fcc93221108a9a6613e2803a8a7b82e1ab5f93663328e457a
diff --git a/app-accessibility/pocketsphinx/metadata.xml b/app-accessibility/pocketsphinx/metadata.xml
new file mode 100644
index 000000000000..b41f634a646d
--- /dev/null
+++ b/app-accessibility/pocketsphinx/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">cmusphinx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild b/app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild
new file mode 100644
index 000000000000..6b2f52862a61
--- /dev/null
+++ b/app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+inherit eutils distutils-r1
+
+DESCRIPTION="Speaker-independent large vocabulary with continuous speech recognizer"
+HOMEPAGE="https://sourceforge.net/projects/cmusphinx/"
+SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="app-accessibility/sphinxbase
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-base:0.10
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+run_distutils() {
+ if use python; then
+ pushd python > /dev/null || die
+ distutils-r1_"${@}"
+ popd > /dev/null || die
+ fi
+}
+
+src_configure() {
+ econf \
+ --without-python \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ run_distutils ${FUNCNAME}
+}
+
+src_install() {
+ default
+ run_distutils ${FUNCNAME}
+ prune_libtool_files
+}