summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/swftools/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/swftools/package.py')
-rw-r--r--var/spack/repos/builtin/packages/swftools/package.py34
1 files changed, 18 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/swftools/package.py b/var/spack/repos/builtin/packages/swftools/package.py
index 10eec879cb..3e5a52b826 100644
--- a/var/spack/repos/builtin/packages/swftools/package.py
+++ b/var/spack/repos/builtin/packages/swftools/package.py
@@ -15,25 +15,27 @@ class Swftools(AutotoolsPackage):
"""
homepage = "http://swftools.org"
- url = "http://swftools.org/swftools-0.9.2.tar.gz"
+ url = "http://swftools.org/swftools-0.9.2.tar.gz"
- version('0.9.2', sha256='bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1')
+ version("0.9.2", sha256="bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1")
- patch('configure.patch')
- patch('swfs_Makefile.in.patch')
- patch('https://aur.archlinux.org/cgit/aur.git/plain/giflib-5.1.patch?h=swftools',
- sha256='6a995dfd674c5954f5b967e3d45d6845a186872fcaa4223d725902fd4d679f1b',
- level=0)
+ patch("configure.patch")
+ patch("swfs_Makefile.in.patch")
+ patch(
+ "https://aur.archlinux.org/cgit/aur.git/plain/giflib-5.1.patch?h=swftools",
+ sha256="6a995dfd674c5954f5b967e3d45d6845a186872fcaa4223d725902fd4d679f1b",
+ level=0,
+ )
# The patches below are needed for swftools to compile on newer GCC
# versions. These are derived from:
# https://aur.archlinux.org/packages/swftools/#comment-839523
- patch('extern.patch', level=0, when='%gcc@10:')
- patch('pointer_compare.patch', level=0, when='%gcc@11:')
-
- depends_on('giflib')
- depends_on('lame')
- depends_on('poppler')
- depends_on('freetype')
- depends_on('jpeg')
- depends_on('fftw')
+ patch("extern.patch", level=0, when="%gcc@10:")
+ patch("pointer_compare.patch", level=0, when="%gcc@11:")
+
+ depends_on("giflib")
+ depends_on("lame")
+ depends_on("poppler")
+ depends_on("freetype")
+ depends_on("jpeg")
+ depends_on("fftw")