BSD Ports

multimedia/libcec 8.1.7 FreeBSD

Library to control Pulse-Eight's HDMI-CEC adapter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
371544070a
License
GPLv2
Categories
multimedia
Package size
422.3 KiB, 2595.8 KiB installed

Description

libCEC allows you in combination with the right hardware to control your device with your TV remote control utilising your existing HDMI cabling. This library is an enabling platform for the CEC bus in HDMI, it allows developers to interact with other HDMI devices without having to worry about the communication overhead, handshaking, and the various ways of sending a message for each vendor.

In the other systems

SystemPortVersion
FreeBSDmultimedia/libcec8.1.7
NetBSDmisc/libcec4.0.4nb3
DragonFlymultimedia/libcec7.0.0
MidnightBSDmultimedia/libcec7.0.0

Install

Binary package:

pkg install libcec

From the ports tree:

cd /usr/ports/multimedia/libcec/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libcec>0:multimedia/libcec
LIB_DEPENDS=	libcec.so:multimedia/libcec

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest8.1.78.1.76.0.2_17.1.18.1.7
FreeBSD:14:quarterly8.1.78.1.7n/a7.1.18.1.7
FreeBSD:15:latest8.1.78.1.7n/a7.1.17.1.1
FreeBSD:15:quarterly8.1.78.1.7n/an/an/a
FreeBSD:16:latest8.1.78.1.7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 8

Configuration

Options name: multimedia_libcec

OptionDefaultDescription
PYTHONonBuild python wrapper
X11onX11 (graphics) support
USES
cmake compiler:c++11-lib pkgconfig shebangfix
Service scripts
none

Message after installing

WARNING:

You need write permissions on the USB device to make it work properly.
Consider adding your user to the operator group:

% pw groupmod operator -m jerry

and adding a rule in /etc/devfs.rules like this one:

[system=10]
add path 'ttyU*' mode 0660 group operator

To load this new rule add the following to /etc/rc.conf:

devfs_system_ruleset="system"

Then restart devfs to load the new rule:

% service devfs restart

Files

pkg-plist 22
  • bin/cec-client
  • bin/cec-client-
  • bin/cecc-client
  • bin/cecc-client-
  • bin/pyCecClient
  • include/libcec/cec.h
  • include/libcec/cecc.h
  • include/libcec/ceccloader.h
  • include/libcec/cecloader.h
  • include/libcec/cectypes.h
  • include/libcec/version.h
  • lib/cmake/libcec/libcec-.cmake
  • lib/cmake/libcec/libcec-config-version.cmake
  • lib/cmake/libcec/libcec-config.cmake
  • lib/cmake/libcec/libcec.cmake
  • lib/libcec.a
  • lib/libcec.so
  • lib/libcec.so.8
  • lib/libcec.so.
  • %%PYTHON_SITELIBDIR%%/_pycec.so
  • %%PYTHON_SITELIBDIR%%/cec.py
  • libdata/pkgconfig/libcec.pc
distinfo 1
FileSizeSHA256
Pulse-Eight-libcec-libcec-8.1.7_GH0.tar.gz2.034798e+06e4ac4d1dd3559cf83189d29ab40fc5537b5a2beceb82916ef173dac7e50dbfa0

Commit history 2

DateCommitCreditsLog message
371544070a Po-Chuan Hsieh multimedia/libcec: Update to 8.1.7
Changes: https://github.com/Pulse-Eight/libcec/releases
8132802d7f Po-Chuan Hsieh multimedia/libcec: Update to 8.1.6
- Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/Pulse-Eight/libcec/releases