libcec: create new sub package for python dependencies
This commit is contained in:
parent
8fe597380f
commit
d37a3a6c1a
2 changed files with 10 additions and 1 deletions
|
@ -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
1
srcpkgs/python3-libcec
Symbolic link
|
@ -0,0 +1 @@
|
|||
libcec
|
Loading…
Reference in a new issue