2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'MesaLib'.
|
|
|
|
pkgname=MesaLib
|
2010-03-25 14:56:08 +01:00
|
|
|
version=7.7.0.902
|
|
|
|
wrksrc="Mesa-7.8-rc2"
|
2009-12-23 16:18:13 +01:00
|
|
|
distfiles="
|
2010-03-25 14:56:08 +01:00
|
|
|
ftp://ftp.freedesktop.org/pub/mesa/7.8/RC/$pkgname-7.8-rc2.tar.bz2
|
|
|
|
ftp://ftp.freedesktop.org/pub/mesa/7.8/RC/MesaDemos-7.8-rc2.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="
|
2010-03-25 14:56:08 +01:00
|
|
|
f79fc44a59f11af3d8e7bcad52eaf6b275632a971f60849db3dac055a0170dd5
|
|
|
|
13c1d83bbc3c53443b6a0ae091fcba4cfbe5224851171d3877ea185490b261b8"
|
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-12-24 16:04:45 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency run libgcc
|
2009-12-24 16:04:45 +01:00
|
|
|
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
|
|
|
|
Add_dependency run libdrm
|
|
|
|
Add_dependency run expat
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run libXt
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency run libSM
|
|
|
|
Add_dependency run libICE
|
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
|
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
|
|
|
|
Add_dependency build libdrm-devel
|
|
|
|
Add_dependency build expat-devel
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency build libXt-devel
|
2010-01-11 00:08:23 +01:00
|
|
|
Add_dependency build libSM-devel
|
|
|
|
Add_dependency build libICE-devel
|
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
|
|
|
|
}
|