Allow installing Alpine's mesa for x86* arches
When a pmaport can not be built for the desired architecture, fall back to the binary package (from postmarketOS or Alpine) if it exists. This allows us to provide an updated version of mesa for arm arches, but using Alpine's mesa package on x86* arches.
Related: #1741 (closed)
How to test:
- set
arch="armhf"
intemp/mesa/APKBUILD
- run
pmbootstrap chroot --add=mesa
- without this patch, it will complain that mesa can't be built for x86_64. With the patch, it works.
Edited by Administrator