summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Oxberry <goxberry@gmail.com>2019-08-27 01:29:50 -0700
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-08-27 10:29:50 +0200
commite891cc49d5bc4a9db9fd3674c178fcb23b846e49 (patch)
treec8a6fa87b1aff6c4cc7c4fad2d42b2bd486185af
parentb1d24d56732115aa236f77a8bab826f99a9b9b15 (diff)
downloadspack-e891cc49d5bc4a9db9fd3674c178fcb23b846e49.tar.gz
spack-e891cc49d5bc4a9db9fd3674c178fcb23b846e49.tar.bz2
spack-e891cc49d5bc4a9db9fd3674c178fcb23b846e49.tar.xz
spack-e891cc49d5bc4a9db9fd3674c178fcb23b846e49.zip
cairo: add gobject variant (#12568)
-rw-r--r--var/spack/repos/builtin/packages/cairo/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py
index afc6e81836..e57100d8aa 100644
--- a/var/spack/repos/builtin/packages/cairo/package.py
+++ b/var/spack/repos/builtin/packages/cairo/package.py
@@ -20,6 +20,7 @@ class Cairo(AutotoolsPackage):
variant('X', default=False, description="Build with X11 support")
variant('pdf', default=False, description="Enable cairo's PDF surface backend feature")
+ variant('gobject', default=False, description="Enable cairo's gobject functions feature")
depends_on('libx11', when='+X')
depends_on('libxext', when='+X')
@@ -45,5 +46,6 @@ class Cairo(AutotoolsPackage):
args.extend(['--disable-xlib', '--disable-xcb'])
args.extend(self.enable_or_disable('pdf'))
+ args.extend(self.enable_or_disable('gobject'))
return args