libGL: enable D3D9 state tracker; create -vc4-dri subpkg for rpi.

This commit is contained in:
Juan RP 2014-12-14 16:48:02 +01:00
parent cbfe0bd370
commit 9e43884954
2 changed files with 16 additions and 2 deletions

View file

@ -1,11 +1,11 @@
# Template build file for 'libGL'.
pkgname=libGL
version=10.4.0
revision=1
revision=2
wrksrc="Mesa-${version}"
build_style=gnu-configure
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm
--enable-gles1 --enable-gles2 --enable-egl --enable-vdpau
--enable-gles1 --enable-gles2 --enable-egl --enable-vdpau --enable-nine
--disable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float
--with-egl-platforms=x11,drm,wayland"
short_desc="Graphics library similar to SGI's OpenGL"
@ -40,6 +40,13 @@ i686*|x86_64*)
subpackages+=" libxatracker mesa-ati-dri mesa-intel-dri mesa-nouveau-dri"
subpackages+=" mesa-vmwgfx-dri mesa-opencl"
;;
armv6l*)
# Enable Videocore IV and swrast for RaspberryPi
configure_args+=" --with-gallium-drivers=swrast,vc4"
configure_args+=" --with-dri-drivers=swrast"
configure_args+=" --disable-xa"
subpackages+=" mesa-vc4-dri"
;;
*)
# Enable swrast driver.
configure_args+=" --with-gallium-drivers=swrast"
@ -163,6 +170,12 @@ mesa-vmwgfx-dri_package() {
vmove usr/lib/gallium-pipe/pipe_vmwgfx.so
}
}
mesa-vc4-dri_package() {
short_desc="Mesa DRI drivers for Videocore IV GPU"
pkg_install() {
vmove "usr/lib/xorg/modules/drivers/vc4*"
}
}
mesa-opencl_package() {
short_desc="Mesa implementation of OpenCL (r600+ only)"
depends="libclc libOpenCL"

1
srcpkgs/mesa-vc4-dri Symbolic link
View file

@ -0,0 +1 @@
libGL