snapcraft.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. #- urllib3[secure]
  31. #- setuptools
  32. #- wheel
  33. #- Cython
  34. build-packages:
  35. - python3
  36. - python3-dev
  37. - python3-setuptools
  38. - python3-wheel
  39. - pkg-config
  40. - autoconf
  41. - build-essential
  42. - cmake
  43. - cython3
  44. - ffmpeg
  45. - libavcodec-dev
  46. - libavdevice-dev
  47. - libavfilter-dev
  48. - libavformat-dev
  49. - libavresample-dev
  50. - libavutil-dev
  51. - libffi-dev
  52. - libglib2.0-dev
  53. - libglu1-mesa-dev
  54. - libjpeg-dev
  55. - libopenzwave1.5-dev
  56. - libssl-dev
  57. - libswscale-dev
  58. - libudev-dev
  59. - libxml2-dev
  60. - libxslt1-dev
  61. - zlib1g-dev
  62. requirements:
  63. - requirements_all.txt
  64. constraints:
  65. - homeassistant/package_constraints.txt