forked from MycroftAI/snapcraft-mycroft-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
87 lines (85 loc) · 2.54 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: mycroft-core
version: 0.7.13
summary: 79 char long summary
description: a longer description for the snap
confinement: devmode # use "strict" to enforce system access only via declared interfaces
build-packages: [python-dev, python-virtualenv, python-setuptools, python-gobject-dev, virtualenvwrapper, libtool, libffi-dev, libssl-dev, autoconf, bison, swig2.0, libglib2.0-dev, portaudio19-dev, mpg123, python-psutil, speech-dispatcher]
parts:
mimic:
plugin: autotools
configflags:
- --enable-static=no
- --prefix=/usr/local/
- --with-audio=pulseaudio
source: https://github.com/MycroftAI/mimic.git
source-type: git
build-packages:
- libpulse-dev
- libltdl-dev
- gcc
- make
- pkg-config
- libasound2-dev
stage-packages: [libpulse0]
snap:
- usr/local/bin
- usr/local/include
- usr/local/lib
mycroft-core:
plugin: python2
requirements: parts/mycroft-core/src/requirements.txt
source: https://github.com/MycroftAI/mycroft-core.git
source-type: git
source-branch: feature/snapcraft
build-packages: [python-psutil, python-setuptools]
stage-packages: [speech-dispatcher]
# snap:
# - etc
# - usr
# - lib
# - usr/lib/python2.7
# - usr/lib/python2.7/dist-packages/*
# - usr/lib/x86_64-linux-gnu
# - usr/bin/python
# - usr/bin/pip
# - usr/bin/python2.7-config
# - usr/bin/python-config
# - usr/bin/python2.7
# - usr/bin/2to3-2.7
# - usr/bin/pyversions
# - usr/bin/pygettext2.7
# - usr/bin/pycompile
# - usr/bin/mtrace
# - usr/bin/python2-config
# - usr/bin/python2
# - usr/bin/sotruss
# - usr/bin/x86_64-linux-gnu-python2.7-config
# - usr/bin/x86_64-linux-gnu-python-config
# - usr/bin/pygettext
# - usr/bin/gencat
# - usr/bin/cautious-launcher
# - usr/share/python/dist_fallback
# - usr/share/python/pyversions.py
# - lib/x86_64-linux-gnu
# - usr/bin/mycroft-messagebus
# - usr/bin/mycroft-skills
# - usr/bin/mycroft-speech-client
# - usr/bin/mycroft-cli-client
apps:
mimic:
command: usr/local/bin/mimic
plugs: [pulseaudio]
messagebus:
plugs: [home, network, network-bind]
command: usr/bin/mycroft-messagebus
daemon: simple
skills-client:
plugs: [home]
command: usr/bin/mycroft-skills
daemon: simple
speech-client:
plugs: [home, network, pulseaudio]
command: usr/bin/mycroft-speech-client
daemon: simple
cli-client:
command: usr/bin/mycroft-cli-client