diff options
author | Thomas Bouvier <contact@thomas-bouvier.io> | 2023-06-06 00:13:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 18:13:42 -0400 |
commit | 4c2531d5fbc2022dd144d1c59dd6faa7ce2c9607 (patch) | |
tree | 2d6cee56337c647e1d50557f772919eb3c3289ba /var | |
parent | 62fd890c52701fc71bd45b9a61d19bd59be989f2 (diff) | |
download | spack-4c2531d5fbc2022dd144d1c59dd6faa7ce2c9607.tar.gz spack-4c2531d5fbc2022dd144d1c59dd6faa7ce2c9607.tar.bz2 spack-4c2531d5fbc2022dd144d1c59dd6faa7ce2c9607.tar.xz spack-4c2531d5fbc2022dd144d1c59dd6faa7ce2c9607.zip |
`libraqm`: add missing `fribidi` dependency (#36125)
* `libraqm`: add missing `fribidi` dependency
* `libraqm`: add `sheenbidi` variant
* [@spackbot] updating style on behalf of thomas-bouvier
---------
Co-authored-by: thomas-bouvier <thomas-bouvier@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libraqm/package.py | 11 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/sheenbidi/package.py | 17 |
2 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libraqm/package.py b/var/spack/repos/builtin/packages/libraqm/package.py index a1b8e8cb87..338e10abaa 100644 --- a/var/spack/repos/builtin/packages/libraqm/package.py +++ b/var/spack/repos/builtin/packages/libraqm/package.py @@ -15,5 +15,16 @@ class Libraqm(MesonPackage): version("0.9.0", sha256="9ed6fdf41da6391fc9bf7038662cbe412c330aa6eb22b19704af2258e448107c") + variant( + "bidi_algo", + default="fribidi", + description="Unicode Bidirectional Algorithm", + values=("fribidi", "sheenbidi"), + multi=False, + ) + depends_on("freetype") depends_on("harfbuzz") + + depends_on("fribidi@1.0.6:", when="bidi_algo=fribidi") + depends_on("sheenbidi@2.6:", when="bidi_algo=sheenbidi") diff --git a/var/spack/repos/builtin/packages/sheenbidi/package.py b/var/spack/repos/builtin/packages/sheenbidi/package.py new file mode 100644 index 0000000000..3452ce1c1d --- /dev/null +++ b/var/spack/repos/builtin/packages/sheenbidi/package.py @@ -0,0 +1,17 @@ +# 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 Sheenbidi(MesonPackage): + """A sophisticated implementation of Unicode Bidirectional Algorithm""" + + homepage = "https://github.com/Tehreer/SheenBidi" + url = "https://github.com/Tehreer/SheenBidi/archive/v2.6.tar.gz" + git = "https://github.com/Tehreer/SheenBidi.git" + + version("2.6", sha256="f538f51a7861dd95fb9e3f4ad885f39204b5c670867019b5adb7c4b410c8e0d9") |