mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libcec: remove rpi build option
unnecessary now that rpi can use system libraries
This commit is contained in:
parent
d5ab8fffad
commit
96da05dc03
1 changed files with 0 additions and 15 deletions
|
@ -14,21 +14,6 @@ homepage="https://github.com/Pulse-Eight/libcec"
|
||||||
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
||||||
checksum=090696d7a4fb772d7acebbb06f91ab92e025531c7c91824046b9e4e71ecb3377
|
checksum=090696d7a4fb772d7acebbb06f91ab92e025531c7c91824046b9e4e71ecb3377
|
||||||
|
|
||||||
build_options="rpi"
|
|
||||||
|
|
||||||
if [ "$build_option_rpi" ]; then
|
|
||||||
configure_args+=" -DRPI_INCLUDE_DIR=${XBPS_CROSS_BASE}/opt/vc/include"
|
|
||||||
configure_args+=" -DRPI_LIB_DIR=${XBPS_CROSS_BASE}/opt/vc/lib"
|
|
||||||
makedepends+=" rpi-userland-devel"
|
|
||||||
LDFLAGS="-Wl,-rpath=/opt/vc/lib"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vmkdir usr/lib
|
|
||||||
mv "$DESTDIR"/$wrksrc/build/lib*/* "$DESTDIR"/usr/lib
|
|
||||||
vsed -i "s#$wrksrc/build/##" "$DESTDIR"/usr/lib/pkgconfig/libcec.pc
|
|
||||||
}
|
|
||||||
|
|
||||||
cec-client_package() {
|
cec-client_package() {
|
||||||
depends="libcec>=${version}"
|
depends="libcec>=${version}"
|
||||||
short_desc+=" - client tool"
|
short_desc+=" - client tool"
|
||||||
|
|
Loading…
Add table
Reference in a new issue