libcec: remove rpi build option
unnecessary now that rpi can use system libraries
This commit is contained in:
parent
d5ab8fffad
commit
96da05dc03
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue