63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
# Template build file for 'MesaLib'.
|
|
pkgname=MesaLib
|
|
version=7.8.1
|
|
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"
|
|
build_style=gnu_configure
|
|
configure_args="--enable-glx-tls --enable-xcb --with-demos"
|
|
short_desc="Graphics library similar to SGI's OpenGL"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum="
|
|
b0b46e5abfd75db44501e308125fa92bcf1c91d91e97a043a3b1764cfa0907fa
|
|
e9f20b9345240064ac35ec914ebce63322a96d3f7c566963791d0daf7e7a93e5"
|
|
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."
|
|
|
|
subpackages="$pkgname-devel glx-utils"
|
|
Add_dependency run glibc
|
|
Add_dependency run libstdc++
|
|
Add_dependency run libgcc
|
|
Add_dependency run libXext
|
|
Add_dependency run libXxf86vm
|
|
Add_dependency run libXdamage
|
|
Add_dependency run libXfixes
|
|
Add_dependency run libX11
|
|
Add_dependency run libxcb
|
|
Add_dependency run libdrm
|
|
Add_dependency run expat
|
|
Add_dependency run libXt
|
|
Add_dependency run libSM
|
|
Add_dependency run libICE
|
|
Add_dependency build python
|
|
Add_dependency build pkg-config
|
|
Add_dependency build glproto
|
|
Add_dependency build dri2proto ">=2.1"
|
|
Add_dependency build makedepend
|
|
Add_dependency build libXext-devel
|
|
Add_dependency build libXxf86vm-devel
|
|
Add_dependency build libXdamage-devel
|
|
Add_dependency build libXfixes-devel
|
|
Add_dependency build libX11-devel
|
|
Add_dependency build libxcb-devel
|
|
Add_dependency build libdrm-devel
|
|
Add_dependency build expat-devel
|
|
Add_dependency build libXt-devel
|
|
Add_dependency build libSM-devel
|
|
Add_dependency build libICE-devel
|
|
|
|
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
|
|
}
|