summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/aom/package.py
blob: b4ae5171ec6fc6608d10b9052cf15c4e125778bd (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
# 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)

#
# Author: Darach Golden <dgolden@tchpc.tcd.ie>,
# Institution: Trinity Centre for High Performance Computing, https://www.tchpc.tcd.ie/  # noqa: E501
# Date: May 09, 2019
# Author: Sean McGrath <smcgrat@tchpc.tcd.ie>
# Institution: Trinity Centre for High Performance Computing, https://www.tchpc.tcd.ie/  # noqa: E501
# Date: May 09, 2019
#
from spack import *


class Aom(CMakePackage):
    """Alliance for Open Media AOM AV1 Codec Library"""
    homepage = "https://aomedia.googlesource.com/aom"
    git      = "https://aomedia.googlesource.com/aom"
    version('v1.0.0-errata1', commit='29d8ce4836630df5cc7ab58f1afc4836765fc212')
    depends_on('yasm')

    def cmake_args(self):
        args = []
        args.append('-DBUILD_SHARED_LIBS=ON')
        return args