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>
This commit is contained in:
parent
62fd890c52
commit
4c2531d5fb
@ -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")
|
||||
|
17
var/spack/repos/builtin/packages/sheenbidi/package.py
Normal file
17
var/spack/repos/builtin/packages/sheenbidi/package.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user