new package: libcec

This commit is contained in:
Tee KOBAYASHI 2022-01-09 01:27:38 +09:00 committed by Leonid Pliushch
parent b894e3abe3
commit daad590b41
2 changed files with 15 additions and 0 deletions

13
packages/libcec/build.sh Normal file
View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=http://libcec.pulse-eight.com/
TERMUX_PKG_DESCRIPTION="Provides support for Pulse-Eight's USB-CEC adapter and other CEC capable hardware"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=6.0.2
TERMUX_PKG_SRCURL=https://github.com/Pulse-Eight/libcec/archive/libcec-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=090696d7a4fb772d7acebbb06f91ab92e025531c7c91824046b9e4e71ecb3377
TERMUX_PKG_DEPENDS="libc++, libp8-platform"
termux_step_post_make_install() {
install -Dm600 -t $TERMUX_PREFIX/share/man/man1 \
$TERMUX_PKG_SRCDIR/debian/cec-client.1
}

View File

@ -0,0 +1,2 @@
TERMUX_SUBPKG_INCLUDE="bin/ share/man/man1/"
TERMUX_SUBPKG_DESCRIPTION="Client applications for libCEC"