2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2013-01-23 16:25:47 +01:00
|
|
|
version=9.0.2
|
|
|
|
revision=1
|
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
|
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-01-23 16:25:47 +01:00
|
|
|
checksum=75bf31f26c6e7b5515e610c1005fd1be1f7eeb2c9e6859848dab879c355ad64e
|
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-01-23 16:25:47 +01:00
|
|
|
makedepends="automake flex pkg-config glproto dri2proto>=2.1 makedepend
|
|
|
|
libXext-devel libXxf86vm-devel libXdamage-devel libudev-devel>=183
|
|
|
|
libdrm-devel expat-devel libXt-devel talloc-devel libxml2-python
|
|
|
|
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
|
|
|
|
}
|