From cb5919b98138a9273237fe41c0d837b29bacf286 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 31 Jan 2018 14:34:52 +0100 Subject: PNGwriter: 0.7.0 (#7026) Adds the latest release of PNGwriter, including Windows and CMake config package support. --- var/spack/repos/builtin/packages/pngwriter/package.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/var/spack/repos/builtin/packages/pngwriter/package.py b/var/spack/repos/builtin/packages/pngwriter/package.py index e170989693..efccb3ac9f 100644 --- a/var/spack/repos/builtin/packages/pngwriter/package.py +++ b/var/spack/repos/builtin/packages/pngwriter/package.py @@ -43,9 +43,19 @@ class Pngwriter(CMakePackage): git='https://github.com/pngwriter/pngwriter.git') version('master', branch='master', git='https://github.com/pngwriter/pngwriter.git') + version('0.7.0', 'a68aa0889f120f5bb07848afce278a95') version('0.6.0', '0a19bc55c5f6379fea7343752fd3ffae') version('0.5.6', 'c13bd1fdc0e331a246e6127b5f262136') depends_on('libpng') depends_on('zlib') depends_on('freetype') + + def cmake_args(self): + spec = self.spec + args = [] + + if spec.satisfies('@0.7.0:'): + args += ['-DPNGwriter_USE_FREETYPE:BOOL=ON'] + + return args -- cgit v1.2.3-70-g09d2