* Trial fix for #815

* Remove extra semicolon from old if block

* Better fix for #815 (just flip blocks)

* Version to 2.2, add changelog

* Update build.json

* Update CHANGELOG.md

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
This commit is contained in:
Wade Dorrell
2020-01-11 08:11:57 -07:00
committed by Pascal Vizeli
parent e836914c69
commit 216b6245a9
4 changed files with 13 additions and 8 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## 2.2
- Fix a cause of "autodetect FAILED" on Raspberry Pi introduced in 2.1
- Update to Alpine 3.11
## 2.1
- Added README into the add-on repository

View File

@@ -28,12 +28,12 @@ RUN \
&& mkdir -p /usr/src/libcec/build \
&& cd /usr/src/libcec/build \
&& if [[ "armhf armv7 aarch64" = *"$BUILD_ARCH"* ]]; then \
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..; \
else \
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local \
-DRPI_INCLUDE_DIR=/opt/vc/include \
-DRPI_LIB_DIR=/opt/vc/lib ..; \
else \
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..; \
fi \
&& make -j$(nproc) \
&& make install \

View File

@@ -1,10 +1,10 @@
{
"build_from": {
"aarch64": "homeassistant/aarch64-base:3.10",
"amd64": "homeassistant/amd64-base:3.10",
"armhf": "homeassistant/armhf-base:3.10",
"armv7": "homeassistant/armv7-base:3.10",
"i386": "homeassistant/i386-base:3.10"
"aarch64": "homeassistant/aarch64-base:3.11",
"amd64": "homeassistant/amd64-base:3.11",
"armhf": "homeassistant/armhf-base:3.11",
"armv7": "homeassistant/armv7-base:3.11",
"i386": "homeassistant/i386-base:3.11"
},
"args": {
"LIBCEC_VERSION": "4.0.3"

View File

@@ -1,6 +1,6 @@
{
"name": "CEC Scanner",
"version": "2.1",
"version": "2.2",
"slug": "cec_scan",
"description": "Scan for HDMI CEC devices",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/cec_scan",