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 | |
parent | 8fecb844da568c4c4fb8b0400873e74fdcf9f025 (diff) | |
download | aur-f4e3534f2d31699af1a141d437ad256559fc4c26.tar.gz |
support aarch64
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 21 insertions, 5 deletions
@@ -1,8 +1,9 @@ pkgbase = libhybris-git - pkgver = 1237.cfd9823 - pkgrel = 2 + pkgver = 1303.07b547e + pkgrel = 1 url = https://github.com/libhybris/libhybris arch = armv7h + arch = aarch64 license = Apache makedepends = wayland makedepends = hybris-android-headers @@ -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 |