void-packages/srcpkgs/MesaLib/template

36 lines
1.4 KiB
Plaintext
Raw Normal View History

# Template build file for 'MesaLib'.
pkgname=MesaLib
2013-02-23 08:05:09 +01:00
version=9.1
2013-01-23 16:25:47 +01:00
revision=1
wrksrc="Mesa-${version}"
build_style=gnu-configure
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
--with-egl-platforms=drm,wayland"
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-02-23 08:05:09 +01:00
checksum=af484cbfe7fe26e62fb1ddb1204d608c4270e74364c44e7207508cd736a0707b
2012-10-09 09:35:58 +02:00
conf_files="/etc/drirc"
2012-11-17 15:33:02 +01:00
depends="mesa-swraster-dri-${version}_${revision}"
2013-02-23 08:05:09 +01:00
makedepends="automake flex pkg-config glproto dri2proto>=2.1
2013-01-23 16:25:47 +01:00
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"
subpackages="libgbm libEGL libglapi libGLES libGL libOpenVG libOSMesa
MesaLib-devel mesa-ati-dri mesa-intel-dri mesa-nouveau-dri mesa-swraster-dri
mesa-vmwgfx-dri libwayland-egl"
2012-10-09 09:35:58 +02:00
pre_configure() {
./autogen.sh
}