author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2024-07-12 17:48:06 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2024-07-12 17:48:06 UTC |
parent | da95ec6b930b07ccad9389b75099987662815dd5 |
PKGBUILD | +9 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index b61a944..e6af621 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=pixman pkgver=0.43.4 pkgrel=1 pkgdesc="The pixel-manipulation library for X and cairo" -arch=('armv7h') +arch=('armv7h' 'aarch64') url="https://cgit.freedesktop.org/pixman/" license=('MIT') depends=('glibc') @@ -17,16 +17,23 @@ sha512sums=('b40fb05bd58dc78f4e4e9b19c86991ab0611b708657c9a7fb42bfe82d57820a0fde #validpgpkeys=('') # Maarten Lankhorst <maarten.lankhorst@linux.intel.com> build() { + local _disableflags + + # Disable the other arch' accels + [[ $CARCH == "armv7h" ]] && _disableflags="-D a64-neon=disabled" + [[ $CARCH == "aarch64" ]] && _disableflags="-D arm-simd=disabled -D neon=disabled" + arch-meson $pkgname-$pkgver build \ -D loongson-mmi=disabled \ -D vmx=disabled \ -D mmx=disabled \ -D sse2=disabled \ -D ssse3=disabled \ - -D a64-neon=disabled \ -D iwmmxt=disabled \ -D mips-dspr2=disabled \ + $_disableflags \ -D gtk=disabled + ninja -C build }