2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-10-23 05:28:59 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2022-03-18 07:42:07 +08:00
|
|
|
from spack.pkg.builtin.boost import Boost
|
2016-10-23 05:28:59 +08:00
|
|
|
|
|
|
|
|
2017-01-26 18:27:15 +08:00
|
|
|
class Gource(AutotoolsPackage):
|
2016-10-23 05:28:59 +08:00
|
|
|
"""Software version control visualization."""
|
|
|
|
|
2021-08-27 04:05:24 +08:00
|
|
|
homepage = "https://gource.io"
|
2017-01-26 18:27:15 +08:00
|
|
|
url = "https://github.com/acaudwell/Gource/releases/download/gource-0.44/gource-0.44.tar.gz"
|
2016-10-23 05:28:59 +08:00
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version("0.44", sha256="2604ca4442305ffdc5bb1a7bac07e223d59c846f93567be067e8dfe2f42f097c")
|
2016-10-23 05:28:59 +08:00
|
|
|
|
|
|
|
depends_on("automake", type="build")
|
|
|
|
depends_on("autoconf", type="build")
|
|
|
|
depends_on("libtool", type="build")
|
|
|
|
depends_on("glm", type="build")
|
2017-11-23 23:05:38 +08:00
|
|
|
depends_on("pkgconfig", type="build")
|
2016-10-23 05:28:59 +08:00
|
|
|
|
|
|
|
depends_on("freetype@2.0:")
|
|
|
|
depends_on("pcre")
|
|
|
|
depends_on("boost@1.46:+filesystem+system")
|
2022-03-18 07:42:07 +08:00
|
|
|
|
|
|
|
# TODO: replace this with an explicit list of components of Boost,
|
|
|
|
# for instance depends_on('boost +filesystem')
|
|
|
|
# See https://github.com/spack/spack/pull/22303 for reference
|
|
|
|
depends_on(Boost.with_default_variants)
|
2016-10-23 05:28:59 +08:00
|
|
|
depends_on("glew")
|
|
|
|
depends_on("jpeg")
|
|
|
|
depends_on("libpng")
|
|
|
|
depends_on("pcre")
|
|
|
|
depends_on("sdl2")
|
2017-01-05 10:24:07 +08:00
|
|
|
depends_on("sdl2-image")
|
2016-10-23 05:28:59 +08:00
|
|
|
|
2017-01-26 18:27:15 +08:00
|
|
|
parallel = False
|
|
|
|
force_autoreconf = True
|
2016-10-23 05:28:59 +08:00
|
|
|
|
2017-01-26 18:27:15 +08:00
|
|
|
def configure_args(self):
|
|
|
|
spec = self.spec
|
|
|
|
return [
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--without-x",
|
|
|
|
"--with-boost=%s" % spec["boost"].prefix,
|
|
|
|
]
|