chafa: add v1.16.0 (#50536)
This commit is contained in:
parent
dd72df89d6
commit
3669f0356b
@ -13,13 +13,14 @@ class Chafa(AutotoolsPackage):
|
|||||||
suitable for display in a terminal."""
|
suitable for display in a terminal."""
|
||||||
|
|
||||||
homepage = "https://hpjansson.org/chafa/"
|
homepage = "https://hpjansson.org/chafa/"
|
||||||
url = "https://hpjansson.org/chafa/releases/chafa-1.14.5.tar.xz"
|
url = "https://hpjansson.org/chafa/releases/chafa-1.16.0.tar.xz"
|
||||||
git = "https://github.com/hpjansson/chafa.git"
|
git = "https://github.com/hpjansson/chafa.git"
|
||||||
|
|
||||||
license("LGPL-3.0-or-later", checked_by="Buldram")
|
license("LGPL-3.0-or-later", checked_by="Buldram")
|
||||||
maintainers("Buldram")
|
maintainers("Buldram")
|
||||||
|
|
||||||
version("master", branch="master")
|
version("master", branch="master")
|
||||||
|
version("1.16.0", sha256="bf863e57b6200b696bde1742aa95d7feb8cd23b9df1e91e91859b2b1e54fd290")
|
||||||
version("1.14.5", sha256="7b5b384d5fb76a641d00af0626ed2115fb255ea371d9bef11f8500286a7b09e5")
|
version("1.14.5", sha256="7b5b384d5fb76a641d00af0626ed2115fb255ea371d9bef11f8500286a7b09e5")
|
||||||
version("1.14.4", sha256="d0708a63f05b79269dae862a42671e38aece47fbd4fc852904bca51a65954454")
|
version("1.14.4", sha256="d0708a63f05b79269dae862a42671e38aece47fbd4fc852904bca51a65954454")
|
||||||
version("1.14.3", sha256="f3d5530a96c8e55eea180448896e973093e0302f4cbde45d028179af8cfd90f3")
|
version("1.14.3", sha256="f3d5530a96c8e55eea180448896e973093e0302f4cbde45d028179af8cfd90f3")
|
||||||
@ -75,6 +76,19 @@ def configure_args(self):
|
|||||||
*self.with_or_without("jxl"),
|
*self.with_or_without("jxl"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@run_after("install")
|
||||||
|
def install_completions(self):
|
||||||
|
mkdirp(zsh_completion_path(self.prefix))
|
||||||
|
install(
|
||||||
|
"tools/completions/zsh-completion.zsh", zsh_completion_path(self.prefix) / "_chafa"
|
||||||
|
)
|
||||||
|
if self.spec.satisfies("@master"):
|
||||||
|
mkdirp(fish_completion_path(self.prefix))
|
||||||
|
install(
|
||||||
|
"tools/completions/fish-completion.fish",
|
||||||
|
fish_completion_path(self.prefix) / "chafa.fish",
|
||||||
|
)
|
||||||
|
|
||||||
@run_after("install", when="+man")
|
@run_after("install", when="+man")
|
||||||
def install_man(self):
|
def install_man(self):
|
||||||
mkdirp(prefix.share.man.man1)
|
mkdirp(prefix.share.man.man1)
|
||||||
|
Loading…
Reference in New Issue
Block a user