
* mesa: re-writen to new meson build system
* xorg-server: Remove unneeded mesa dependency
* glx: provide the virtual GLX package
* Convert most "mesa" dependencies to use virtual gl and glx dependencies
* mesa: Switch to always building from the git repo instead of a tarball
* Use gl and glx version ranges instead of exact versions
* glx: provide a default package
* add auto to swr variant
* Revert "add auto to swr variant"
This reverts commit 2e7cd8a8ac
.
* update mesa package to version 19.0
* set +glx by default only when running on linux
* fix style issues in geant4 package
* remove virtual package "egl"
47 lines
2.1 KiB
Python
47 lines
2.1 KiB
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class RRgl(RPackage):
|
|
"""Provides medium to high level functions for 3D interactive graphics,
|
|
including functions modelled on base graphics (plot3d(), etc.) as well as
|
|
functions for constructing representations of geometric objects (cube3d(),
|
|
etc.). Output may be on screen using OpenGL, or to various standard
|
|
3D file formats including WebGL, PLY, OBJ, STL as well as 2D image formats,
|
|
including PNG, Postscript, SVG, PGF."""
|
|
|
|
homepage = "https://r-forge.r-project.org/projects/rgl"
|
|
url = "https://cran.r-project.org/src/contrib/rgl_0.99.16.tar.gz"
|
|
list_url = "https://cran.r-project.org/src/contrib/Archive/rgl"
|
|
|
|
version('0.99.16', sha256='692a545ed2ff0f5e15289338736f0e3c092667574c43ac358d8004901d7a1a61')
|
|
version('0.98.1', 'bd69e1d33f1590feb4b6dc080b133e5b')
|
|
|
|
depends_on('r@3.2:3.9')
|
|
depends_on('zlib', type=('link'))
|
|
depends_on('libpng', type=('link'))
|
|
depends_on('libx11')
|
|
depends_on('freetype', type=('link'))
|
|
depends_on('gl')
|
|
depends_on('glu')
|
|
depends_on('r-htmlwidgets', type=('build', 'run'))
|
|
depends_on('r-htmltools', type=('build', 'run'))
|
|
depends_on('r-knitr', type=('build', 'run'))
|
|
depends_on('r-jsonlite', type=('build', 'run'))
|
|
depends_on('r-shiny', type=('build', 'run'))
|
|
depends_on('r-magrittr', type=('build', 'run'))
|
|
depends_on('r-crosstalk', type=('build', 'run'), when='@0.99.16:')
|
|
depends_on('r-manipulatewidget', type=('build', 'run'), when='@0.99.16:')
|
|
|
|
def configure_args(self):
|
|
args = ['--x-includes=%s' % self.spec['libx11'].prefix.include,
|
|
'--x-libraries=%s' % self.spec['libx11'].prefix.lib,
|
|
'--with-gl-includes=%s' % self.spec['gl'].prefix.include,
|
|
'--with-gl-libraries=%s' % self.spec['gl'].prefix.lib,
|
|
'--with-gl-prefix=%s' % self.spec['gl'].prefix]
|
|
return args
|