Last active
March 24, 2020 07:36
-
-
Save forslund/cd98a042ea4a6b76bcddd45e08fd030d to your computer and use it in GitHub Desktop.
precise-snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mycroft-precise | |
version: 0.3.1 | |
summary: Mycroft Precise | |
description: Mycroft Precise, a wake word spotter. | |
base: core18 | |
confinement: strict | |
build-packages: [python3-dev, python3-setuptools, libtool, libffi-dev, libssl-dev, autoconf, build-essential] | |
parts: | |
alsa-mixin: | |
after: [] | |
build-packages: | |
- libasound2-dev | |
plugin: dump | |
source: https://github.com/diddlesnaps/snapcraft-alsa.git | |
source-subdir: snapcraft-assets | |
stage-packages: | |
- libasound2 | |
- libasound2-plugins | |
- libportaudio2 | |
- pulseaudio | |
- alsa-utils | |
mycroft-precise: | |
after: [alsa-mixin] | |
stage: | |
- -usr/share/alsa | |
- -usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib | |
- -usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libasound* | |
plugin: python | |
python-version: python3 | |
source: https://github.com/MycroftAI/mycroft-precise.git | |
source-type: git | |
source-branch: snap | |
build-packages: | |
- python-setuptools | |
- python3-pip | |
- curl | |
- libopenblas-dev | |
- python3-scipy | |
- cython | |
- libhdf5-dev | |
- python3-h5py | |
- portaudio19-dev | |
- swig | |
- libpulse-dev | |
- libatlas-base-dev | |
stage-packages: | |
- libopenblas-base | |
- python3 | |
- python3-scipy | |
- cython | |
- libhdf5-100 | |
- libhdf5-cpp-100 | |
- python3-h5py | |
- swig | |
- libatlas3-base | |
layout: | |
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib: | |
bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib | |
apps: | |
engine: | |
plugs: [] | |
command: bin/precise-engine | |
listen: | |
command-chain: | |
- snap/command-chain/alsa-launch | |
plugs: [home, audio-record, audio-playback] | |
command: bin/precise-listen | |
train: | |
plugs: [home] | |
command: bin/precise-train | |
collect: | |
plugs: [home, audio-record, audio-playback] | |
command-chain: | |
- snap/command-chain/alsa-launch | |
command: bin/precise-collect | |
python: | |
plugs: [home, audio-record, audio-playback] | |
command-chain: | |
- snap/command-chain/alsa-launch | |
command: bin/python3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment