sdl2-ttf: add new package

This commit is contained in:
George Malerbo 2023-04-04 03:49:39 -04:00 committed by GitHub
parent e9a1d0a157
commit 77d55ebbd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# 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 Sdl2Ttf(CMakePackage):
"""Simple DirectMedia Layer 2 TrueType Fonts library"""
homepage = "https://www.libsdl.org/projects/SDL_ttf/"
url = "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.20.2.tar.gz"
git = "https://github.com/libsdl-org/SDL_ttf.git"
version("2.20.2", sha256="9dc71ed93487521b107a2c4a9ca6bf43fb62f6bddd5c26b055e6b91418a22053")
depends_on("sdl2")
maintainers("georgemalerbo", "amklinv")