diff options
author | mickybart | 2018-06-25 02:30:50 -0400 |
---|---|---|
committer | mickybart | 2018-06-25 02:30:50 -0400 |
commit | f4e3534f2d31699af1a141d437ad256559fc4c26 (patch) | |
tree | 532de4e5a22a79d5d53434341b7681ac2e50d5b9 /PKGBUILD | |
parent | 8fecb844da568c4c4fb8b0400873e74fdcf9f025 (diff) | |
download | aur-libhybris-git.tar.gz |
support aarch64
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -3,9 +3,9 @@ pkgbase=libhybris-git pkgname=('libhybris-git' 'libhybris-libgl-git' 'libhybris-wayland-egl-git') _pkgbase=libhybris -pkgver=1237.cfd9823 -pkgrel=2 -arch=('armv7h') +pkgver=1303.07b547e +pkgrel=1 +arch=('armv7h' 'aarch64') url="https://github.com/libhybris/libhybris" license=('Apache') makedepends=('wayland' 'hybris-android-headers') @@ -25,7 +25,22 @@ prepare() { build() { cd "${srcdir}/${_pkgbase}/hybris" + # set target arch for libhybris + case "$CARCH" in + "armv7h") + _carch="arm" + ;; + "aarch64") + _carch="arm64" + ;; + *) + _carch="$CARCH" + esac + + echo "Target architecture for libhybris: $_carch" + ./autogen.sh \ + --enable-arch=$_carch \ --prefix=/opt/android/hybris \ --with-android-headers=/opt/android/include \ --enable-wayland |