2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2013-03-20 20:05:26 +01:00
|
|
|
version=9.1.1
|
2013-03-29 13:48:11 +01: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
|
2013-02-23 08:05:09 +01:00
|
|
|
--enable-gles1 --enable-gles2 --enable-openvg --enable-egl
|
2012-10-09 09:35:58 +02:00
|
|
|
--with-dri-driverdir=/usr/lib/xorg/modules/dri --enable-vdpau --enable-xa
|
|
|
|
--enable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float
|
2013-01-23 16:25:47 +01:00
|
|
|
--with-gallium-drivers=r300,r600,svga,swrast,nouveau --enable-gbm
|
|
|
|
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast
|
2013-01-16 10:07:05 +01:00
|
|
|
--with-egl-platforms=drm,wayland"
|
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"
|
2013-03-20 20:05:26 +01:00
|
|
|
checksum=3ae5741918a26ce6457b4427663b9e0ed31a3cae1b10b9009e55769a52e9adeb
|
2012-10-09 09:35:58 +02:00
|
|
|
|
2012-11-17 15:04:12 +01:00
|
|
|
conf_files="/etc/drirc"
|
2012-11-17 15:33:02 +01:00
|
|
|
depends="mesa-swraster-dri-${version}_${revision}"
|
|
|
|
|
2013-03-29 13:48:11 +01:00
|
|
|
makedepends="automake libtool flex pkg-config glproto dri2proto>=2.1
|
2013-01-23 16:25:47 +01:00
|
|
|
libXext-devel libXxf86vm-devel libXdamage-devel libudev-devel>=183
|
2013-03-20 20:05:26 +01:00
|
|
|
libdrm-devel expat-devel talloc-devel libxml2-python
|
2013-01-23 16:25:47 +01:00
|
|
|
libvdpau-devel libXvMC-devel>=1.0.6 wayland-devel llvm>=3.2"
|
2012-11-17 15:04:12 +01:00
|
|
|
|
|
|
|
subpackages="libgbm libEGL libglapi libGLES libGL libOpenVG libOSMesa
|
|
|
|
MesaLib-devel mesa-ati-dri mesa-intel-dri mesa-nouveau-dri mesa-swraster-dri
|
2012-12-02 15:52:18 +01:00
|
|
|
mesa-vmwgfx-dri libwayland-egl"
|
2012-10-09 09:35:58 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|