diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-11-30 09:25:40 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 10:25:40 -0500 |
commit | 868dbb24c117d719702a928f1e068508a9120264 (patch) | |
tree | 2c285aa27c5983d596811ace07244378c43490f7 /var | |
parent | 2072c93dc87c75e6d940a4d9aa41e5228e5acb29 (diff) | |
download | spack-868dbb24c117d719702a928f1e068508a9120264.tar.gz spack-868dbb24c117d719702a928f1e068508a9120264.tar.bz2 spack-868dbb24c117d719702a928f1e068508a9120264.tar.xz spack-868dbb24c117d719702a928f1e068508a9120264.zip |
libQGLViewer: add new package (#20164)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libqglviewer/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libqglviewer/package.py b/var/spack/repos/builtin/packages/libqglviewer/package.py new file mode 100644 index 0000000000..a60ade218a --- /dev/null +++ b/var/spack/repos/builtin/packages/libqglviewer/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2020 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) + + +class Libqglviewer(QMakePackage): + """libQGLViewer is a C++ library based on Qt that eases the creation of + OpenGL 3D viewers.""" + + homepage = "http://libqglviewer.com/" + url = "http://libqglviewer.com/src/libQGLViewer-2.7.2.tar.gz" + git = "https://github.com/GillesDebunne/libQGLViewer.git" + + version('2.7.2', sha256='e2d2799dec5cff74548e951556a1fa06a11d9bcde2ce6593f9c27a17543b7c08') + + # http://libqglviewer.com/installUnix.html + + depends_on('qt+opengl') + depends_on('freeglut', when='^qt@:3.0') + + build_directory = 'QGLViewer' + + def qmake_args(self): + return ['PREFIX=' + self.prefix] |