/* Setup */ Add libcec source build instructions
authorEmantor <Emantor@stratum0.org/mediawiki>
Fri, 20 Oct 2017 19:22:26 +0000 (19:22 +0000)
committerEmantor <Emantor@stratum0.org/mediawiki>
Fri, 20 Oct 2017 19:22:26 +0000 (19:22 +0000)
Infodisplay.mw

index 266002d..a29cfd3 100644 (file)
@@ -35,6 +35,17 @@ Pakete installieren:
  sudo apt -y install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils cec-utils python3-rpi.gpio npm xinit libicu-dev nodejs unattended-upgrades
  # oder auch 'firefox', je nach Verfügbarkeit
 
+Libcec mit RPI build system fix bauen:
+ git clone https://github.com/Emantor/libcec
+ cd libcec && mkdir build && cd build
+ cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib ..
+
+Darauf achten das nach dem cmake die Zeile
+ -- Raspberry Pi support:                   yes
+auf yes steht. Dann:
+ make
+ sudo make install
+
 s0infodisplay macht lokal einen HTTP-Server und baut die HTML-Seite:
  git clone https://gitli.stratum0.org/kasalehlia/s0infodisplay/
  cd s0infodisplay/
This page took 0.024408 seconds and 4 git commands to generate.