snapcraft.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. name: home-assistant-snap
  2. version: '0.112.4'
  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, armhf] #, armhf, amd64, ppc64el]
  13. apps:
  14. hass:
  15. command: bin/hass --config $SNAP_DATA
  16. daemon: simple
  17. restart-condition: always
  18. plugs:
  19. - bluez
  20. - network
  21. - network-bind
  22. # GPIO devices etc..
  23. - physical-memory-control
  24. parts:
  25. homeassistant:
  26. plugin: python-wot-plugin
  27. source: https://github.com/home-assistant/core.git
  28. source-tag: ${SNAPCRAFT_PROJECT_VERSION}
  29. python-packages:
  30. - urllib[secure]
  31. - setuptools
  32. - wheel
  33. - Cython
  34. build-packages:
  35. - python3
  36. - python3-dev
  37. - pkg-config
  38. - autoconf
  39. - build-essential
  40. - cmake
  41. - cython3
  42. - ffmpeg
  43. - libavcodec-dev
  44. - libavdevice-dev
  45. - libavfilter-dev
  46. - libavformat-dev
  47. - libavresample-dev
  48. - libavutil-dev
  49. - libffi-dev
  50. - libglib2.0-dev
  51. - libglu1-mesa-dev
  52. - libjpeg-dev
  53. - libopenzwave1.5-dev
  54. - libssl-dev
  55. - libswscale-dev
  56. - libudev-dev
  57. - libxml2-dev
  58. - libxslt1-dev
  59. - zlib1g-dev
  60. requirements:
  61. - requirements_all.txt
  62. constraints:
  63. - homeassistant/package_constraints.txt