2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2011-04-07 09:43:50 +02:00
|
|
|
version=7.10.2
|
2011-04-28 15:52:48 +02:00
|
|
|
revision=2
|
2010-03-29 10:21:32 +02:00
|
|
|
wrksrc="Mesa-${version}"
|
2010-11-01 18:58:55 +01:00
|
|
|
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
|
2008-10-02 07:36:10 +02:00
|
|
|
build_style=gnu_configure
|
2011-04-11 16:38:11 +02:00
|
|
|
configure_args="--enable-glx-tls --enable-xcb --enable-gallium-egl
|
2011-04-28 15:52:48 +02:00
|
|
|
--with-dri-drivers=i915,i965,mach64,mga,r128,savage,tdfx,unichrome
|
|
|
|
--enable-gallium-radeon --enable-gallium-r600 --enable-gallium-swrast"
|
2008-10-02 07:36:10 +02:00
|
|
|
short_desc="Graphics library similar to SGI's OpenGL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-04-07 09:43:50 +02:00
|
|
|
checksum=8ced2678ce11cf30804694a92ea3ca6b82f158ae8995bdc626c7e85aac71c7c1
|
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."
|
2009-03-19 06:43:21 +01:00
|
|
|
|
2010-11-01 18:58:55 +01:00
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency run libgcc
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run libXext
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency run libXxf86vm
|
|
|
|
Add_dependency run libXdamage
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run libXfixes
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libxcb
|
2010-11-01 18:58:55 +01:00
|
|
|
Add_dependency run libudev
|
2011-01-09 15:44:16 +01:00
|
|
|
Add_dependency run libdrm ">=2.4.23"
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency run expat
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run libXt
|
2010-11-01 18:58:55 +01:00
|
|
|
Add_dependency run talloc
|
2010-10-28 06:40:18 +02:00
|
|
|
|
2010-04-08 13:49:06 +02:00
|
|
|
Add_dependency build python
|
2009-03-19 06:43:21 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build glproto
|
2011-01-09 15:44:16 +01:00
|
|
|
Add_dependency build dri2proto ">=2.1"
|
2009-03-19 06:43:21 +01:00
|
|
|
Add_dependency build makedepend
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency build libXext-devel
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency build libXxf86vm-devel
|
|
|
|
Add_dependency build libXdamage-devel
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency build libXfixes-devel
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build libxcb-devel
|
2010-11-01 18:58:55 +01:00
|
|
|
Add_dependency build libudev-devel
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency build libdrm-devel
|
|
|
|
Add_dependency build expat-devel
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency build libXt-devel
|
2010-11-01 18:58:55 +01:00
|
|
|
Add_dependency build talloc-devel
|
2011-04-11 16:38:11 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove radeon Gallium state tracker, conflicts with
|
|
|
|
# xf86-video-ati!
|
|
|
|
rm -f ${DESTDIR}/usr/lib/xorg/modules/drivers/radeon_drv.so
|
|
|
|
}
|