2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2012-07-12 21:17:59 +00:00
|
|
|
version=8.0.4
|
2012-09-14 09:16:57 +00:00
|
|
|
revision=4
|
2010-03-29 08:21:32 +00:00
|
|
|
wrksrc="Mesa-${version}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-02-12 16:22:21 +00:00
|
|
|
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
|
2012-05-19 17:00:56 +00:00
|
|
|
--enable-shared-dricore --enable-gles1 --enable-gles2 --enable-openvg
|
|
|
|
--enable-egl --with-dri-driverdir=/usr/lib/xorg/modules/dri --enable-xa
|
2012-03-21 22:04:06 +00:00
|
|
|
--enable-gallium-egl --disable-va --enable-vdpau --enable-xvmc --enable-xa
|
2012-08-22 06:17:46 +00:00
|
|
|
--enable-texture-float --enable-osmesa
|
|
|
|
--with-gallium-drivers=i915,r300,r600,svga,swrast
|
2012-05-19 17:00:56 +00:00
|
|
|
--with-dri-drivers=i915,i965,r200,radeon,swrast"
|
2012-07-12 21:17:59 +00:00
|
|
|
makedepends="perl>=0 flex pkg-config glproto dri2proto>=2.1 makedepend
|
|
|
|
libXext-devel libXxf86vm-devel libXdamage-devel libXfixes-devel libxcb-devel
|
|
|
|
libudev-devel>=183 libdrm-devel expat-devel libXt-devel talloc-devel
|
|
|
|
libxml2-python llvm-devel libvdpau-devel libXvMC-devel>=1.0.6"
|
2012-05-26 13:56:40 +00:00
|
|
|
# XXX reenable nouveau driver when it's updated for libdrm>=2.4.34
|
2012-08-22 06:20:12 +00:00
|
|
|
subpackages="libEGL libglapi libGLES libGL libGLU libOpenVG libOSMesa MesaLib-devel"
|
2008-10-02 05:36:10 +00:00
|
|
|
short_desc="Graphics library similar to SGI's OpenGL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-14 13:17:59 +00:00
|
|
|
homepage="http://www.mesa3d.org/"
|
|
|
|
license="MIT, LGPL-2.1"
|
2012-07-12 21:17:59 +00:00
|
|
|
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=02ed19f4f5f6535dda03a9932a81438aa78ea723ebba1f39a3d49a70a4e1d07e
|
2008-10-02 05:36:10 +00:00
|
|
|
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
|
|
|
|
or state machine, it is being used with authorization from Silicon Graphics,
|
|
|
|
Inc. However, the author makes no claim that Mesa is in any way a
|
|
|
|
compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
|