dev-zig/zls: add 0.14.0

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
This commit is contained in:
Eric Joldasov
2025-03-07 19:47:18 +05:00
parent 48b694a005
commit dbfe241078
3 changed files with 73 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,11 +6,6 @@ EAPI=8
DESCRIPTION="The officially unofficial Ziglang language server"
HOMEPAGE="https://zigtools.org/zls/ https://github.com/zigtools/zls"
declare -g -r -A ZBS_DEPENDENCIES=(
[diffz-1220102cb2c669d82184fb1dc5380193d37d68b54e8d75b76b2d155b9af7d7e2e76d.tar.gz]='https://github.com/ziglibs/diffz/archive/ef45c00d655e5e40faf35afbbde81a1fa5ed7ffb.tar.gz'
[known_folders-12209cde192558f8b3dc098ac2330fc2a14fdd211c5433afd33085af75caa9183147.tar.gz]='https://github.com/ziglibs/known-folders/archive/0ad514dcfb7525e32ae349b9acc0a53976f3a9fa.tar.gz'
)
# Sync with "minimum_build_zig_version" from upstream's "build.zig".
if [[ ${PV} == 9999 ]]; then
ZIG_SLOT="9999"
@@ -18,11 +13,10 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/zigtools/zls"
inherit git-r3
else
ZIG_SLOT="0.13"
ZIG_SLOT="0.14"
SRC_URI="
https://github.com/zigtools/zls/archive/refs/tags/${PV}.tar.gz -> zls-${PV}.tar.gz
https://codeberg.org/BratishkaErik/distfiles/releases/download/zls-${PV}/zls-${PV}-version_data.tar.xz
"
KEYWORDS="~amd64"
fi