1
0

snapcraft.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. - pkg-config
  39. - autoconf
  40. - build-essential
  41. - cmake
  42. - cython3
  43. - ffmpeg
  44. - libavcodec-dev
  45. - libavdevice-dev
  46. - libavfilter-dev
  47. - libavformat-dev
  48. - libavresample-dev
  49. - libavutil-dev
  50. - libffi-dev
  51. - libglib2.0-dev
  52. - libglu1-mesa-dev
  53. - libjpeg-dev
  54. - libopenzwave1.5-dev
  55. - libssl-dev
  56. - libswscale-dev
  57. - libudev-dev
  58. - libxml2-dev
  59. - libxslt1-dev
  60. - zlib1g-dev
  61. requirements:
  62. - requirements_all.txt
  63. constraints:
  64. - homeassistant/package_constraints.txt