libheif: add new package (#31982)
This commit is contained in:
parent
67154a1088
commit
a00951137f
@ -241,7 +241,7 @@ class Gdal(CMakePackage):
|
||||
depends_on("grass@5.7:", when="+grass")
|
||||
depends_on("grib-api", when="+grib")
|
||||
# depends_on('gta', when='+gta')
|
||||
# depends_on('heif@1.1:', when='+heif')
|
||||
depends_on("libheif@1.1:", when="+heif")
|
||||
depends_on("hdf", when="+hdf4")
|
||||
depends_on("hdf5+cxx", when="+hdf5")
|
||||
depends_on("hdf5@:1.12", when="@:3.4.1 +hdf5")
|
||||
@ -362,7 +362,6 @@ class Gdal(CMakePackage):
|
||||
conflicts("+filegdb")
|
||||
conflicts("+fme")
|
||||
conflicts("+gta")
|
||||
conflicts("+heif")
|
||||
conflicts("+idb")
|
||||
conflicts("+ingres")
|
||||
conflicts("+jxl")
|
||||
|
17
var/spack/repos/builtin/packages/libheif/package.py
Normal file
17
var/spack/repos/builtin/packages/libheif/package.py
Normal file
@ -0,0 +1,17 @@
|
||||
# Copyright 2013-2022 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 Libheif(CMakePackage):
|
||||
"""libheif is an HEIF and AVIF file format decoder and encoder."""
|
||||
|
||||
homepage = "https://github.com/strukturag/libheif"
|
||||
url = "https://github.com/strukturag/libheif/archive/refs/tags/v1.12.0.tar.gz"
|
||||
|
||||
version("1.12.0", sha256="086145b0d990182a033b0011caadb1b642da84f39ab83aa66d005610650b3c65")
|
||||
|
||||
depends_on("cmake@3.13:", type="build")
|
Loading…
Reference in New Issue
Block a user