2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2012-03-21 22:04:06 +00:00
|
|
|
version=8.0.2
|
2010-03-29 08:21:32 +00:00
|
|
|
wrksrc="Mesa-${version}"
|
2010-11-01 17:58:55 +00:00
|
|
|
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
|
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-02-10 08:07:34 +00:00
|
|
|
--enable-shared-dricore --enable-gles1 --enable-gles2 --enable-openvg
|
2011-08-01 10:18:47 +00:00
|
|
|
--enable-egl --with-dri-driverdir=/usr/lib/xorg/modules/dri --with-driver=dri
|
2012-03-21 22:04:06 +00:00
|
|
|
--enable-gallium-egl --disable-va --enable-vdpau --enable-xvmc --enable-xa
|
|
|
|
--enable-texture-float --with-gallium-drivers=r300,r600,nouveau,swrast,i915,svga"
|
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-03-21 22:04:06 +00:00
|
|
|
checksum=8f4d1e70e058a65143e618a9daaf45f00fac04ae9464b35a8d9eeeef3fa5e2a5
|
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."
|
2009-03-19 05:43:21 +00:00
|
|
|
|
2012-02-10 08:07:34 +00:00
|
|
|
subpackages="libEGL libglapi libGLES libGL libGLU libOpenVG"
|
2011-11-03 12:44:31 +00:00
|
|
|
subpackages="${subpackages} ${pkgname}-devel"
|
|
|
|
|
2011-08-01 10:18:47 +00:00
|
|
|
Add_dependency build perl ">=0"
|
2011-06-14 13:17:59 +00:00
|
|
|
Add_dependency build flex
|
2009-03-19 05:43:21 +00:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build glproto
|
2011-01-09 14:44:16 +00:00
|
|
|
Add_dependency build dri2proto ">=2.1"
|
2009-03-19 05:43:21 +00:00
|
|
|
Add_dependency build makedepend
|
2009-12-24 15:04:45 +00:00
|
|
|
Add_dependency build libXext-devel
|
2010-01-10 23:08:23 +00:00
|
|
|
Add_dependency build libXxf86vm-devel
|
|
|
|
Add_dependency build libXdamage-devel
|
2009-12-24 15:04:45 +00:00
|
|
|
Add_dependency build libXfixes-devel
|
2010-01-10 23:08:23 +00:00
|
|
|
Add_dependency build libxcb-devel
|
2010-11-01 17:58:55 +00:00
|
|
|
Add_dependency build libudev-devel
|
2010-01-10 23:08:23 +00:00
|
|
|
Add_dependency build libdrm-devel
|
|
|
|
Add_dependency build expat-devel
|
2009-12-24 15:04:45 +00:00
|
|
|
Add_dependency build libXt-devel
|
2010-11-01 17:58:55 +00:00
|
|
|
Add_dependency build talloc-devel
|
2011-07-02 19:28:24 +00:00
|
|
|
Add_dependency build libxml2-python
|
2011-08-01 10:18:47 +00:00
|
|
|
Add_dependency build llvm-devel
|
2012-02-10 08:07:34 +00:00
|
|
|
Add_dependency build libvdpau-devel
|
|
|
|
Add_dependency build libXvMC-devel ">=1.0.6"
|