snapcraft.yaml 1.4 KB

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