2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2009-12-22 22:25:53 +01:00
|
|
|
version=7.7
|
2009-12-23 16:18:13 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc="Mesa-${version}"
|
|
|
|
distfiles="
|
|
|
|
ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2
|
|
|
|
ftp://ftp.freedesktop.org/pub/mesa/$version/MesaDemos-$version.tar.bz2"
|
2008-10-02 07:36:10 +02:00
|
|
|
build_style=gnu_configure
|
2009-12-23 16:18:13 +01:00
|
|
|
configure_args="--enable-glx-tls --enable-xcb --with-demos"
|
2008-10-02 07:36:10 +02:00
|
|
|
short_desc="Graphics library similar to SGI's OpenGL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-12-23 16:18:13 +01:00
|
|
|
checksum="
|
|
|
|
6252d7d4190b47f70d0e4ec0edbd5a70f2261c5f6e66859e5fd2572c1df6357a
|
|
|
|
38dbcce59fcc457b53ff6d4e2d5a400d41c02f093bb1fae141e99e032729ab14"
|
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
|
|
|
|
2009-12-23 16:18:13 +01:00
|
|
|
subpackages="$pkgname-devel glx-utils"
|
2009-03-19 06:43:21 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build glproto
|
2009-11-07 05:01:00 +01:00
|
|
|
Add_dependency build dri2proto ">=2.1"
|
2009-03-19 06:43:21 +01:00
|
|
|
Add_dependency build makedepend
|
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full expat
|
2009-11-07 06:38:21 +01:00
|
|
|
Add_dependency full libdrm ">=2.4.15"
|
2009-03-19 06:43:21 +01:00
|
|
|
Add_dependency full libX11
|
|
|
|
Add_dependency full libXext
|
|
|
|
Add_dependency full libXt
|
|
|
|
Add_dependency full libXmu
|
|
|
|
Add_dependency full libXi
|
|
|
|
Add_dependency full libXfixes
|
|
|
|
Add_dependency full libXdamage
|
|
|
|
Add_dependency full libXxf86vm
|
2009-11-22 08:31:44 +01:00
|
|
|
Add_dependency run libstdc++
|
2009-12-23 16:18:13 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}/usr/bin || return 1
|
|
|
|
for f in glxgears glxinfo; do
|
|
|
|
install -m755 ${wrksrc}/progs/xdemos/${f} \
|
|
|
|
${DESTDIR}/usr/bin || return 1
|
|
|
|
done
|
|
|
|
}
|