spack/var/spack/repos/builtin/packages/aom/package.py
Todd Gamblin 9c47ecaeb2 directives: add checked_by field to license(), add some license checks
Add a "checked_by" field to the `license()` directive so that we can track who verified
the license for a project. also check the license of 18 or so projects and mark them
checked.
2023-12-27 11:20:45 -08:00

24 lines
708 B
Python

# Copyright 2013-2023 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.package import *
class Aom(CMakePackage):
"""Alliance for Open Media AOM AV1 Codec Library"""
homepage = "https://aomedia.googlesource.com/aom"
git = "https://aomedia.googlesource.com/aom"
license("BSD-2-Clause AND AOM-Patent-License-1.0", checked_by="tgamblin")
version("v1.0.0-errata1", commit="29d8ce4836630df5cc7ab58f1afc4836765fc212")
depends_on("yasm")
def cmake_args(self):
args = []
args.append("-DBUILD_SHARED_LIBS=ON")
return args