libGL: Enable building on ppc
This commit is contained in:
parent
55853003cf
commit
d457dd419e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue