dev-zig/zls: remove 0.14.0-r1

The changes were not as agreeable as I expected.
1261a8a8e3 (r154956841)
A proper PR will be made.

Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
Filip Kobierski
2025-04-07 16:50:27 +02:00
parent ce819eff06
commit 4a5cc0a4b8

View File

@@ -1,61 +0,0 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The officially unofficial Ziglang language server"
HOMEPAGE="https://zigtools.org/zls/"
declare -g -r -A ZBS_DEPENDENCIES=(
[known_folders-0.0.0-Fy-PJtLDAADGDOwYwMkVydMSTp_aN-nfjCZw6qPQ2ECL.tar.gz]='https://github.com/ziglibs/known-folders/archive/aa24df42183ad415d10bc0a33e6238c437fc0f59.tar.gz'
[lsp_codegen-0.1.0-CMjjo0ZXCQB-rAhPYrlfzzpU0u0u2MeGvUucZ-_g32eg.tar.gz]='https://github.com/zigtools/zig-lsp-codegen/archive/063a98c13a2293d8654086140813bdd1de6501bc.tar.gz'
[N-V-__8AABhrAQAQLLLGadghhPsdxTgBk9N9aLVOjXW3ay0V.tar.gz]='https://github.com/ziglibs/diffz/archive/ef45c00d655e5e40faf35afbbde81a1fa5ed7ffb.tar.gz'
)
if [[ ${PV} == 9999 ]]; then
ZIG_SLOT="${PV}"
EGIT_REPO_URI="https://github.com/zigtools/zls"
inherit git-r3
else
# Sync with "minimum_build_zig_version" from upstream's "build.zig".
ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay
SRC_URI="https://github.com/zigtools/zls/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
# KEYWORDS="~amd64" uncomment to approve the changes
fi
inherit zig
SRC_URI+="${ZBS_DEPENDENCIES_SRC_URI}"
LICENSE="MIT"
SLOT="0/${ZIG_SLOT}"
# Sync with upstream's build.zig. Seems to be the latest zig release
minimum_runtime_zig_version="0.14.0"
RDEPEND="
|| (
>=dev-lang/zig-${minimum_runtime_zig_version}
>=dev-lang/zig-bin-${minimum_runtime_zig_version}
)
"
DOCS=( README.md )
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
zig_live_fetch -Denable-tracy=false
else
zig_src_unpack
fi
}
src_configure() {
local my_zbs_args=(
-Dpie=true
-Denable-tracy=false
)
zig_src_configure
}