snapcraft.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. name: home-assistant-snap
  2. version: '0.113.3'
  3. summary: Open source home automation that puts local control and privacy first
  4. description: |
  5. Home Assistant is a home automation platform running on Python 3.
  6. It is able to track and control all devices at home and offer a
  7. platform for automating control.
  8. base: core20
  9. grade: stable
  10. confinement: strict
  11. architectures:
  12. - build-on: [arm64, amd64, ppc64el]
  13. layout:
  14. /etc/pip.conf:
  15. bind: $SNAP_DATA/pip.conf
  16. apps:
  17. hass:
  18. command: bin/hass --config $SNAP_DATA
  19. daemon: simple
  20. restart-condition: always
  21. plugs:
  22. - bluez
  23. - network
  24. - network-bind
  25. # GPIO devices etc..
  26. - physical-memory-control
  27. parts:
  28. homeassistant:
  29. plugin: python-wot-plugin
  30. source: https://github.com/home-assistant/core.git
  31. source-tag: ${SNAPCRAFT_PROJECT_VERSION}
  32. python-packages:
  33. - setuptools
  34. - wheel
  35. - Cython
  36. build-packages:
  37. - python3
  38. - python3-dev
  39. - python3-setuptools
  40. - python3-wheel
  41. - pkg-config
  42. - autoconf
  43. - build-essential
  44. - cmake
  45. - cython3
  46. - ffmpeg
  47. - libavcodec-dev
  48. - libavdevice-dev
  49. - libavfilter-dev
  50. - libavformat-dev
  51. - libavresample-dev
  52. - libavutil-dev
  53. - libffi-dev
  54. - libglib2.0-dev
  55. - libglu1-mesa-dev
  56. - libjpeg-dev
  57. - libopenzwave1.5-dev
  58. - libssl-dev
  59. - libswscale-dev
  60. - libudev-dev
  61. - libxml2-dev
  62. - libxslt1-dev
  63. - zlib1g-dev
  64. stage-packages:
  65. - freeglut3
  66. - ffmpeg
  67. - libavcodec58
  68. - libavdevice58
  69. - libavfilter7
  70. - libavformat58
  71. - libavutil56
  72. - libffi7
  73. - libglib2.0-0
  74. - libglu1-mesa
  75. - libjpeg8
  76. - libopenzwave1.5
  77. - libssl1.1
  78. - libswscale5
  79. - libudev1
  80. - libswresample3
  81. - libxml2
  82. - libxslt1.1
  83. - zlib1g
  84. requirements:
  85. - requirements_all.txt
  86. constraints:
  87. - homeassistant/package_constraints.txt