1
0

snapcraft.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. requirements:
  65. - requirements_all.txt
  66. constraints:
  67. - homeassistant/package_constraints.txt