summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gource/package.py
blob: a47bfc682199e2d01466d20ec9f442110fbe8fcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2013-2019 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 Gource(AutotoolsPackage):
    """Software version control visualization."""

    homepage = "http://gource.io"
    url = "https://github.com/acaudwell/Gource/releases/download/gource-0.44/gource-0.44.tar.gz"

    version('0.44', sha256='2604ca4442305ffdc5bb1a7bac07e223d59c846f93567be067e8dfe2f42f097c')

    depends_on('automake',   type='build')
    depends_on('autoconf',   type='build')
    depends_on('libtool',    type='build')
    depends_on('glm',        type='build')
    depends_on('pkgconfig', type='build')

    depends_on('freetype@2.0:')
    depends_on('pcre')
    depends_on('boost@1.46:+filesystem+system')
    depends_on('glew')
    depends_on('jpeg')
    depends_on('libpng')
    depends_on('pcre')
    depends_on('sdl2')
    depends_on('sdl2-image')

    parallel = False
    force_autoreconf = True

    def configure_args(self):
        spec = self.spec
        return [
            '--disable-dependency-tracking',
            '--without-x',
            '--with-boost=%s' % spec['boost'].prefix
        ]