libGL: Enable building on ppc

This commit is contained in:
Thomas Batten 2019-01-23 10:48:49 +10:30 committed by maxice8
parent 55853003cf
commit d457dd419e

View file

@ -39,7 +39,7 @@ i686*|x86_64*)
subpackages+=" libxatracker mesa-ati-dri mesa-intel-dri mesa-nouveau-dri"
subpackages+=" mesa-vmwgfx-dri mesa-opencl"
;;
ppc64*)
ppc*)
# No OpenCL and a bunch of other things but otherwise complete
configure_args+=" -Dgallium-drivers=r300,r600,radeonsi,swrast,nouveau,virgl"
configure_args+=" -Ddri-drivers=r100,r200,nouveau"
@ -171,7 +171,7 @@ mesa-ati-dri_package() {
vmove "usr/share/vulkan/icd.d/radeon_icd*.json"
vmove "usr/lib/libvulkan_radeon.so"
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
ppc*) ;;
*)
vmove "usr/lib/gallium-pipe/pipe_r[36]00.so"
vmove usr/lib/gallium-pipe/pipe_radeonsi.so
@ -197,7 +197,7 @@ mesa-nouveau-dri_package() {
vmove "usr/lib/xorg/modules/drivers/nouveau*"
vmove "usr/lib/dri/nouveau*"
case "$XBPS_TARGET_MACHINE" in
aarch64*|ppc64*) ;;
aarch64*|ppc*) ;;
*) vmove usr/lib/gallium-pipe/pipe_nouveau.so ;;
esac
}