summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBesnard Jean-Baptiste <jbbesnard@paratools.fr>2017-11-06 01:55:44 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2017-11-05 16:55:44 -0800
commit84c6fea32e38a5bf1b55b4c9c8dbf6bc9dd429bb (patch)
treeb60f378753fde7f3ac7268092b9c8155c46c9ac0 /var
parentccc51cea7d50c693e7708c6351f3db59b8c7b236 (diff)
downloadspack-84c6fea32e38a5bf1b55b4c9c8dbf6bc9dd429bb.tar.gz
spack-84c6fea32e38a5bf1b55b4c9c8dbf6bc9dd429bb.tar.bz2
spack-84c6fea32e38a5bf1b55b4c9c8dbf6bc9dd429bb.tar.xz
spack-84c6fea32e38a5bf1b55b4c9c8dbf6bc9dd429bb.zip
Graphviz : Add a GTS variant (#6149)
Enable support for the GNU Triangulated Surface Library - New variant +gts for graphviz - Optionnal dependency for GTS (already packaged)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/graphviz/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py
index ca3a6f7f36..0ec35f09e8 100644
--- a/var/spack/repos/builtin/packages/graphviz/package.py
+++ b/var/spack/repos/builtin/packages/graphviz/package.py
@@ -79,6 +79,9 @@ class Graphviz(AutotoolsPackage):
variant('libgd', default=False,
description='Build with libgd support (more output formats)')
+ variant('gts', default=False,
+ description='Build with GNU Triangulated Surface Library')
+
parallel = False
# These language bindings have been tested, we know they work.
@@ -98,6 +101,7 @@ class Graphviz(AutotoolsPackage):
depends_on('cairo', when='+pangocairo')
depends_on('pango', when='+pangocairo')
depends_on('libgd', when='+libgd')
+ depends_on('gts', when='+gts')
depends_on('ghostscript')
depends_on('freetype')
depends_on('expat')
@@ -146,7 +150,7 @@ class Graphviz(AutotoolsPackage):
else:
options.append('--enable-swig=no')
- for var in ('+pangocairo', '+libgd'):
+ for var in ('+pangocairo', '+libgd', '+gts'):
if var in spec:
options.append('--with-{0}'.format(var[1:]))
else: