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:
Rasmus Thomsen 2018-09-19 22:58:14 +02:00 committed by maxice8
parent 2b320d4a2b
commit 3d92a232be
1 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libcec'
pkgname=libcec
version=4.0.2
revision=1
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
hostmakedepends="pkg-config libtool swig"
@ -15,9 +15,6 @@ distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.g
checksum=b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27
build_options="rpi"
case "$XBPS_TARGET_MACHINE" in
armv[67]*) build_options_default="rpi";;
esac
if [ "$build_option_rpi" ]; then
configure_args+=" -DRPI_INCLUDE_DIR=${XBPS_CROSS_BASE}/opt/vc/include"