ssalonen / libcec-sys

FFI bindings for the libcec
GNU General Public License v2.0
2 stars 3 forks source link

[WIP] libcec4/5/6 support #11

Closed ssalonen closed 2 years ago

ssalonen commented 2 years ago

Support libcec 4.x, 5.x and 6.x

In this PR, the version is auto-detected during compile time. Most recent version is preferred. As fallback, we use vendored build which is still 4.x

build script (build.rs) outputs cargo:libcec_version_major which allows downstream to determine used libcec major version.

10