1
0

snapcraft.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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-file: $SNAP_DATA/pip.conf
  16. apps:
  17. hass:
  18. command: bin/hass --config $SNAP_USER_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. stage-snap:
  85. - python38
  86. requirements:
  87. - requirements_all.txt
  88. constraints:
  89. - homeassistant/package_constraints.txt