MesaLib: update to 8.0.

This commit is contained in:
Juan RP 2012-02-10 09:07:34 +01:00
parent f8ed0d97df
commit a70d312d07
8 changed files with 15 additions and 651 deletions

View file

@ -1,20 +1,19 @@
# Template build file for 'MesaLib'.
pkgname=MesaLib
version=7.11.2
revision=1
version=8.0
wrksrc="Mesa-${version}"
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-glx-tls --enable-xcb --enable-shared-glapi
--enable-shared-dricore --disable-glut --enable-gles1 --enable-gles2
configure_args="--enable-glx-tls --enable-shared-glapi
--enable-shared-dricore --enable-gles1 --enable-gles2 --enable-openvg
--enable-egl --with-dri-driverdir=/usr/lib/xorg/modules/dri --with-driver=dri
--with-gallium-drivers=r300,r600,swrast,nouveau --enable-gallium-egl
--enable-openvg"
--enable-gallium-egl --disable-va --enable-vdpau --enable-xvmc
--with-gallium-drivers=r300,r600,nouveau,swrast,i915"
short_desc="Graphics library similar to SGI's OpenGL"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mesa3d.org/"
license="MIT, LGPL-2.1"
checksum=57746aa8c60bc6f5596ec6c6c7274de40fa12edce5ec33fe899e704fa00b5357
checksum=a69adfe4fdda792ed145f7610075b8003961f080e5c515f1dfd326e172aa8543
long_desc="
MesaLib is a 3-D graphics library with an API which is very similar to
that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
@ -22,7 +21,7 @@ long_desc="
Inc. However, the author makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
subpackages="libEGL libglapi libGLES libGL libGLU libGLw libOpenVG"
subpackages="libEGL libglapi libGLES libGL libGLU libOpenVG"
subpackages="${subpackages} ${pkgname}-devel"
Add_dependency build perl ">=0"
@ -35,7 +34,6 @@ Add_dependency build libXext-devel
Add_dependency build libXxf86vm-devel
Add_dependency build libXdamage-devel
Add_dependency build libXfixes-devel
Add_dependency build libX11-devel
Add_dependency build libxcb-devel
Add_dependency build libudev-devel
Add_dependency build libdrm-devel
@ -44,11 +42,5 @@ Add_dependency build libXt-devel
Add_dependency build talloc-devel
Add_dependency build libxml2-python
Add_dependency build llvm-devel
post_install()
{
local dridir=/usr/lib/xorg/modules/dri
# Make a symlink from gallium software rasterizer to emulate
# the classic one.
cd ${DESTDIR}/${dridir} && ln -sf swrast_dri.so swrastg_dri.so
}
Add_dependency build libvdpau-devel
Add_dependency build libXvMC-devel ">=1.0.6"