libcec: create new sub package for python dependencies

This commit is contained in:
Enno Boland 2020-06-18 09:07:59 +02:00 committed by Enno Boland
parent 8fe597380f
commit d37a3a6c1a
2 changed files with 10 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'libcec'
pkgname=libcec
version=4.0.4
revision=5
revision=6
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
configure_args="Python_ADDITIONAL_VERSIONS=${py3_ver}"
@ -39,6 +39,14 @@ cec-client_package() {
vmove usr/bin
}
}
python3-libcec_package() {
short_desc+=" - python bindings"
depends="python3 libcec>=${version}"
pkg_install() {
vmove "${py3_lib#/}"
}
}
libcec-devel_package() {
short_desc+=" - development files"
depends="eudev-libudev-devel p8-platform-devel libcec>=${version}_${revision}"

1
srcpkgs/python3-libcec Symbolic link
View file

@ -0,0 +1 @@
libcec