libcec: remove rpi build option

unnecessary now that rpi can use system libraries
This commit is contained in:
classabbyamp 2023-11-17 14:20:44 -05:00 committed by classabbyamp
parent d5ab8fffad
commit 96da05dc03
1 changed files with 0 additions and 15 deletions

View File

@ -14,21 +14,6 @@ homepage="https://github.com/Pulse-Eight/libcec"
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
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() {
depends="libcec>=${version}"
short_desc+=" - client tool"