Ubuntu Pastebin

Paste from mycroft-core at Fri, 24 Jun 2016 18:26:10 +0000

Download as text
  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
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: mycroft-core
version: 0.6.3
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:
  sphinxbase:
    source: https://github.com/cmusphinx/sphinxbase
    source-type: git
    plugin: autotools
    configflags:
      - --enable-static=no
      - --prefix=/usr
    build-packages:
      - python-dev
      - swig2.0
    organize:
      usr/share/sphinxbase/swig: usr/swig
#   stage:
#     - -usr/lib/python2.7/dist-packages/sphinxbase/*
#   snap:
#     - usr/lib/lib*
#     - usr/lib/python2.7
#     - usr/bin


  pocketsphinx:
    source: https://github.com/cmusphinx/pocketsphinx.git
    source-type: git
    plugin: autotools
    configflags:
      - --prefix=/usr
      - --with-sphinxbase=$SNAPCRAFT_STAGE/usr
    after:
      - sphinxbase
    stage:
      - -usr/lib/python2.7/dist-packages/pocketsphinx
    snap:
      - usr/lib/lib*
      - usr/bin
 
  mimic:
    plugin: autotools
    configflags:
     - --enable-static=no
     - --prefix=/usr/local/
#     - --with-audio=alsa
    source: https://github.com/MycroftAI/mimic.git
    source-type: git
    build-packages:
      - gcc
      - make
      - pkg-config
      - libasound2-dev
    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
    after:
      - pocketsphinx
    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:
    command: usr/bin/mycroft-messagebus
  skills-client:
    command: usr/bin/mycroft-skills
  speech-client:
    command: usr/bin/mycroft-speech-client
  cli-client:
    command: usr/bin/mycroft-cli-client
Download as text