From cd6ef2c3cb032a16b85ed120d64aa256a5dfb767 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 10 Oct 2022 19:38:01 -0500 Subject: new package: r-textshaping (#33173) --- .../builtin/packages/r-textshaping/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-textshaping/package.py diff --git a/var/spack/repos/builtin/packages/r-textshaping/package.py b/var/spack/repos/builtin/packages/r-textshaping/package.py new file mode 100644 index 0000000000..b48cadde9a --- /dev/null +++ b/var/spack/repos/builtin/packages/r-textshaping/package.py @@ -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") -- cgit v1.2.3-70-g09d2