diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-accessibility/pocketsphinx | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-accessibility/pocketsphinx')
-rw-r--r-- | app-accessibility/pocketsphinx/Manifest | 3 | ||||
-rw-r--r-- | app-accessibility/pocketsphinx/metadata.xml | 11 | ||||
-rw-r--r-- | app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild | 50 |
3 files changed, 64 insertions, 0 deletions
diff --git a/app-accessibility/pocketsphinx/Manifest b/app-accessibility/pocketsphinx/Manifest new file mode 100644 index 000000000000..48aa7c1a0193 --- /dev/null +++ b/app-accessibility/pocketsphinx/Manifest @@ -0,0 +1,3 @@ +DIST pocketsphinx-0.8.tar.gz 23781837 BLAKE2B 069f283f1cd80f62b625fe6fc621609b73ae90c2abfe37f36b67a9282fe50a1f877742a824439f9d2bc1d66da047d6460ae77f788e58e7fb93cdf9be610437db SHA512 b53ab8883ddbc2c66c6a6af1bac318f3cdfd5a495cb636f33eb649d42f28780b36c43dfd9a61f213d6a1b83f0fba6b114d44b38d9fa091acf62a8e529118e583 +EBUILD pocketsphinx-0.8.ebuild 1023 BLAKE2B 2eb97c8657796911711d01eb4f24f212494739259f1503c7b708161e34f168dd545a66de6cfa461f48b60f14263c21013b1696708b1eeb5fed553556f38d877f SHA512 979d56f0ec0886ded897007e5bbd87a105a852912b3c5e826252e0ba968a065d5fb9080713ac20b3b2d10e0c90337d63dbb4d751dc50b7ab7710ebb6c7751a97 +MISC metadata.xml 348 BLAKE2B afc4022dc46500e70aba84d0f85d8a1f843e5faef82c6bfbfe494784ed322c4b3e41a1415f4c4d5ff1655791ce805722d638785b985908182f5805ef44e68068 SHA512 34f2af68ffe473a5fc01eafc493532b72e40339ec299960ed5b9b0b45f0a2681497d1adad8c87dfefbdd446825c1eaa8d08a29b900e8e6998a131c20f24ef5c7 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 +} |