diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2018-01-31 14:34:52 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-01-31 14:34:52 +0100 |
commit | cb5919b98138a9273237fe41c0d837b29bacf286 (patch) | |
tree | 0a2de46a2260c090394d2d73a2df5720bc012f2f | |
parent | 770100765f0ebd6943780c6cddb1dfea970dcdd6 (diff) | |
download | spack-cb5919b98138a9273237fe41c0d837b29bacf286.tar.gz spack-cb5919b98138a9273237fe41c0d837b29bacf286.tar.bz2 spack-cb5919b98138a9273237fe41c0d837b29bacf286.tar.xz spack-cb5919b98138a9273237fe41c0d837b29bacf286.zip |
PNGwriter: 0.7.0 (#7026)
Adds the latest release of PNGwriter, including
Windows and CMake config package support.
-rw-r--r-- | var/spack/repos/builtin/packages/pngwriter/package.py | 10 |
1 files changed, 10 insertions, 0 deletions
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 |