diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb b/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb new file mode 100644 index 0000000000..2276ea8571 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "Python interface to Pocketsphinx libraries." | ||
| 2 | DESCRIPTION = "Pythonsphinx is an Open source large vocabulary, speaker-independent continuous speech recognition engines." | ||
| 3 | HOMEPAGE = "https://github.com/cmusphinx/pocketsphinx" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "BSD-2-Clause | BSD-3-Clause | MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c4d720cdc9c6953091f65e8b01524bb4" | ||
| 7 | |||
| 8 | SRC_URI += "file://0001-cython-Use-cythyon3-in-cmake-check.patch" | ||
| 9 | SRC_URI[sha256sum] = "17d2971e998490def9554b6ba41886708422af5b4ae888723b1b077aab0fe8d4" | ||
| 10 | |||
| 11 | inherit cmake pkgconfig pypi python3native cython | ||
| 12 | |||
| 13 | DEPENDS += "swig-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 14 | |||
| 15 | EXTRA_OECMAKE += "-DBUILD_GSTREAMER=ON" | ||
| 16 | |||
| 17 | PACKAGES += "${PN}-models ${MLPREFIX}gstreamer1.0-pocketsphinx" | ||
| 18 | |||
| 19 | FILES:${MLPREFIX}gstreamer1.0-pocketsphinx = "${libdir}/gstreamer-1.0/" | ||
| 20 | FILES:${PN}-models = "${datadir}/pocketsphinx/model" | ||
