libcec: enable rpi support on armv7l.
This commit is contained in:
parent
78f5ee9799
commit
add9dbae7c
1 changed files with 10 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libcec'
|
||||
pkgname=libcec
|
||||
version=2.2.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config libtool"
|
||||
|
@ -13,13 +13,15 @@ license="GPL-2"
|
|||
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
||||
checksum=fd4f47a18d6e0f4b9e6f5831280207ee2b2a5fc2741ae32ae09ad12a8aa52917
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
||||
configure_args+=" --enable-rpi"
|
||||
configure_args+=" --with-rpi-include-path=${XBPS_CROSS_BASE}/opt/vc/include"
|
||||
configure_args+=" --with-rpi-lib-path=${XBPS_CROSS_BASE}/opt/vc/lib"
|
||||
configure_args+=" LDFLAGS="
|
||||
makedepends+=" rpi-firmware"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6l|armv7l)
|
||||
configure_args+=" --enable-rpi"
|
||||
configure_args+=" --with-rpi-include-path=${XBPS_CROSS_BASE}/opt/vc/include"
|
||||
configure_args+=" --with-rpi-lib-path=${XBPS_CROSS_BASE}/opt/vc/lib"
|
||||
configure_args+=" LDFLAGS="
|
||||
makedepends+=" rpi-firmware"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
|
|
Loading…
Reference in a new issue