2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2012-10-09 09:35:58 +02:00
|
|
|
version=9.0
|
2012-10-10 11:58:22 +02:00
|
|
|
revision=2
|
2010-03-29 10:21:32 +02:00
|
|
|
wrksrc="Mesa-${version}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-02-12 17:22:21 +01:00
|
|
|
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
|
2012-10-09 09:35:58 +02:00
|
|
|
--enable-gles1 --enable-gles2 --enable-openvg --enable-egl --disable-va
|
|
|
|
--with-dri-driverdir=/usr/lib/xorg/modules/dri --enable-vdpau --enable-xa
|
|
|
|
--enable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float
|
|
|
|
--with-gallium-drivers=r300,r600,radeonsi,svga,swrast,nouveau
|
|
|
|
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast --enable-gbm"
|
|
|
|
subpackages="libgbm libEGL libglapi libGLES libGL libOpenVG libOSMesa MesaLib-devel"
|
2008-10-02 07:36:10 +02:00
|
|
|
short_desc="Graphics library similar to SGI's OpenGL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-14 15:17:59 +02:00
|
|
|
homepage="http://www.mesa3d.org/"
|
|
|
|
license="MIT, LGPL-2.1"
|
2012-07-12 23:17:59 +02:00
|
|
|
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
|
2012-10-09 09:35:58 +02:00
|
|
|
checksum=0b7d206a2721d1c843f3decb71e10f86941cb4ddfd4c8a48cee75e7f0aabc3b5
|
2008-10-02 07:36:10 +02: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."
|
2012-10-09 09:35:58 +02:00
|
|
|
|
|
|
|
makedepends="perl 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 automake"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|