From bb8e925cd385802a0141e5b38756d9a4dc501fc6 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Tue, 20 Dec 2016 21:09:32 +0100 Subject: [PATCH] Bump libbcm2835 to 1.51 (#1424) enable aarch64 --- alarm/libbcm2835/PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/alarm/libbcm2835/PKGBUILD b/alarm/libbcm2835/PKGBUILD index ad665ca69..0dcb9349a 100644 --- a/alarm/libbcm2835/PKGBUILD +++ b/alarm/libbcm2835/PKGBUILD @@ -1,21 +1,22 @@ # Maintainer: # Maintainer: -buildarch=20 +buildarch=28 _pkgbasename=bcm2835 pkgname=libbcm2835 -pkgver=1.50 -pkgrel=1 +pkgver=1.51 +pkgrel=1 pkgdesc="C library for Broadcom BCM 2835 as used in Raspberry Pi" url="http://www.airspayce.com/mikem/bcm2835/" -arch=('armv6h' 'armv7h') +arch=('armv6h' 'armv7h' 'aarch64') license=('GPL') source=("http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz") -md5sums=('258caf3437012d09a651e1852d0bd60c') +md5sums=('c36ad5d2f2305d8620cde0bc94fb57f7') build() { cd ${_pkgbasename}-${pkgver} + [[ $CARCH == "aarch64" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC" ./configure --prefix=/usr make }