libcec: don't default enable rpi option on armv{6,7}*
this breaks the build for all armv{6,7} machines that aren't raspberry pis
This commit is contained in:
parent
2b320d4a2b
commit
3d92a232be
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libcec'
|
# Template file for 'libcec'
|
||||||
pkgname=libcec
|
pkgname=libcec
|
||||||
version=4.0.2
|
version=4.0.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config libtool swig"
|
hostmakedepends="pkg-config libtool swig"
|
||||||
|
@ -15,9 +15,6 @@ distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.g
|
||||||
checksum=b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27
|
checksum=b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27
|
||||||
|
|
||||||
build_options="rpi"
|
build_options="rpi"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
armv[67]*) build_options_default="rpi";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ "$build_option_rpi" ]; then
|
if [ "$build_option_rpi" ]; then
|
||||||
configure_args+=" -DRPI_INCLUDE_DIR=${XBPS_CROSS_BASE}/opt/vc/include"
|
configure_args+=" -DRPI_INCLUDE_DIR=${XBPS_CROSS_BASE}/opt/vc/include"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue