new package: r-textshaping (#33173)

This commit is contained in:
Glenn Johnson 2022-10-10 19:38:01 -05:00 committed by GitHub
parent 042050be11
commit cd6ef2c3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
# 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 RTextshaping(RPackage):
"""Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text Shaping.
Provides access to the text shaping functionality in the 'HarfBuzz' library
and the bidirectional algorithm in the 'Fribidi' library. 'textshaping' is
a low-level utility package mainly for graphic devices that expands upon
the font tool-set provided by the 'systemfonts' package."""
cran = "textshaping"
version("0.3.6", sha256="80e2c087962f55ce2811fbc798b09f5638c06c6b28c10cd3cb3827005b902ada")
depends_on("r@3.2.0:", type=("build", "run"))
depends_on("r-systemfonts@1.0.0:", type=("build", "run"))
depends_on("r-cpp11@0.2.1:", type=("build", "run"))
depends_on("freetype")
depends_on("harfbuzz")
depends_on("fribidi")