From fe46919e198fdd598f056861c899a31ba2e8c548 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Mon, 27 Apr 2020 16:54:49 +0200 Subject: tulip: added new package at v5.4.0 (#16319) closes #3479 Co-authored-by: Kate Isaacs Co-authored-by: Kate Isaacs --- var/spack/repos/builtin/packages/tulip/package.py | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 var/spack/repos/builtin/packages/tulip/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/tulip/package.py b/var/spack/repos/builtin/packages/tulip/package.py new file mode 100644 index 0000000000..77d010222d --- /dev/null +++ b/var/spack/repos/builtin/packages/tulip/package.py @@ -0,0 +1,42 @@ +# 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 Tulip(CMakePackage): + """ Tulip is an information visualization framework dedicated to the + analysis and visualization of relational data. + + Tulip aims to provide the developer with a complete library, supporting + the design of interactive information visualization applications for + relational data that can be tailored to the problems he or she is + addressing. + """ + + homepage = "https://tulip.labri.fr" + url = "https://sourceforge.net/projects/auber/files/tulip/tulip-5.4.0/tulip-5.4.0_src.tar.gz" + + version('5.4.0', sha256='2175e4e1a79028ab7a2479e882242f304fd3e01fedf80e1f29f8f5e9a6eb1325') + + extends('python') + depends_on('py-pyqt5', type=('build', 'run')) + + depends_on('yajl') + depends_on('qt') + depends_on('qhull') + depends_on('freetype') + depends_on('zlib') + depends_on('glew') + depends_on('jpeg') + depends_on('libpng') + depends_on('libxml2') + + def cmake_args(self): + # The use of GL/glu.h seems to be deprecated, see: + # https://github.com/nigels-com/glew/issues/192 + return [ + '-DCMAKE_CXX_FLAGS="-DGLEW_NO_GLU"', + '-DCMAKE_C_FLAGS="-DGLEW_NO_GLU"', + '-DTULIP_BUILD_DOC:BOOL=OFF' + ] -- cgit v1.2.3-60-g2f50