mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
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'
|
# Template file for 'libcec'
|
||||||
pkgname=libcec
|
pkgname=libcec
|
||||||
version=4.0.4
|
version=4.0.4
|
||||||
revision=5
|
revision=6
|
||||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="Python_ADDITIONAL_VERSIONS=${py3_ver}"
|
configure_args="Python_ADDITIONAL_VERSIONS=${py3_ver}"
|
||||||
|
@ -39,6 +39,14 @@ cec-client_package() {
|
||||||
vmove usr/bin
|
vmove usr/bin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3-libcec_package() {
|
||||||
|
short_desc+=" - python bindings"
|
||||||
|
depends="python3 libcec>=${version}"
|
||||||
|
|
||||||
|
pkg_install() {
|
||||||
|
vmove "${py3_lib#/}"
|
||||||
|
}
|
||||||
|
}
|
||||||
libcec-devel_package() {
|
libcec-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="eudev-libudev-devel p8-platform-devel libcec>=${version}_${revision}"
|
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…
Add table
Reference in a new issue