File: README.osx.md

package info (click to toggle)
libcec 4.0.4%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,360 kB
  • sloc: cpp: 18,613; ansic: 1,961; python: 1,357; sh: 42; makefile: 13
file content (26 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Apple OS X

### MacPorts

libCEC is available through [MacPorts] (https://www.macports.org/) and has been tested on OS X 10.9 through 10.12

### Prerequisites
To compile libCEC on OS X, you'll need the following dependencies:
* [p8-platform] (https://github.com/Pulse-Eight/platform) 2.0 or later
* [cmake 2.6 or better] (http://www.cmake.org/)
* a supported C++ 11 compiler. Support for C++11 was added in OS X 10.9
* xcode 3.2.6 or later
* optional: [Python 3.4 or later] (https://www.python.org/) and [Swig] (http://www.swig.org/) to generate Python bindings
* optional: libX11 and xrandr to read the sink's EDID, used to determine the PC's HDMI physical address

### Compilation
To compile, execute the following command:
```
mkdir build
cd build
cmake ..
make
sudo make install
```

_Note:_ You may need to copy pkg.m4 to your m4 sources directory