Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.47 KB

README.linux.md

File metadata and controls

55 lines (46 loc) · 1.47 KB

Linux & BSD

Prerequisites

libCEC needs the following dependencies in order to work correctly:

To compile libCEC on Linux, you'll need the following dependencies:

The following dependencies are recommended. Without them, the adapter can not be (fully) auto-detected.

  • pkg-config
  • udev development headers v151 or later
  • X randr development headers

Compilation

To compile libCEC on a new Debian/Ubuntu installation, follow these instructions:

apt-get update
apt-get install cmake libudev-dev libxrandr-dev python-dev swig
git clone https://github.com/Pulse-Eight/libcec.git
mkdir libcec/build
cd libcec/build
cmake ..
make -j4
sudo make install
sudo ldconfig

Raspberry Pi

See docs/README.raspberrypi.md.

Exynos

Pass the argument -DHAVE_EXYNOS_API=1 to the cmake command in the compilation instructions:

cmake -DHAVE_EXYNOS_API=1 ..

AOCEC

Pass the argument -DHAVE_AOCEC_API=1 to the cmake command in the compilation instructions:

cmake -DHAVE_AOCEC_API=1 ..

TDA995x

Pass the argument -DHAVE_TDA995X_API=1 to the cmake command in the compilation instructions:

cmake -DHAVE_TDA995X_API=1 ..

Debian / Ubuntu .deb packaging

See docs/README.debian.md.