From 669769c090c0e7203aecbaebf000a9e73b2c8643 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Wed, 21 Jul 2021 14:11:21 +0200 Subject: exempi: add new package (#24982) --- var/spack/repos/builtin/packages/exempi/package.py | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 var/spack/repos/builtin/packages/exempi/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/exempi/package.py b/var/spack/repos/builtin/packages/exempi/package.py new file mode 100644 index 0000000000..4f1ddff54a --- /dev/null +++ b/var/spack/repos/builtin/packages/exempi/package.py @@ -0,0 +1,35 @@ +# Copyright 2013-2021 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) + +from spack import * + + +class Exempi(AutotoolsPackage): + """exempi is a port of Adobe XMP SDK to work on UNIX and to be build with + GNU automake. + + It includes XMPCore and XMPFiles, libexempi, a C-based API and exempi + a command line tool. + """ + + homepage = "http://libopenraw.freedesktop.org/wiki/Exempi" + url = "https://libopenraw.freedesktop.org/download/exempi-2.5.2.tar.bz2" + + version('2.5.2', sha256='52f54314aefd45945d47a6ecf4bd21f362e6467fa5d0538b0d45a06bc6eaaed5') + + depends_on('zlib') + depends_on('iconv') + depends_on('boost@1.48.0:') + depends_on('pkgconfig') + + conflicts('%gcc@:4.5') + + def configure_args(self): + args = ['--with-boost={0}'.format(self.spec['boost'].prefix)] + + if self.spec.satisfies('polatform=darwin'): + args += ['--with-darwinports', '--with-fink'] + + return args -- cgit v1.2.3-60-g2f50