dev-zig/zls: move src_unpack block closer to other phases

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
This commit is contained in:
Eric Joldasov
2025-06-04 11:35:11 +05:00
parent 509db1085b
commit 0756f73e14
2 changed files with 14 additions and 8 deletions

View File

@@ -17,10 +17,6 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/zigtools/zls"
inherit git-r3
src_unpack() {
git-r3_src_unpack
zig_live_fetch -Denable-tracy=false
}
else
# Should be the "minimum_build_zig_version" from upstream's "build.zig".
ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay
@@ -47,6 +43,13 @@ RDEPEND="
DOCS=( README.md )
if [[ ${PV} == 9999 ]]; then
src_unpack() {
git-r3_src_unpack
zig_live_fetch -Denable-tracy=false
}
fi
src_configure() {
local my_zbs_args=(
-Dpie=true

View File

@@ -11,10 +11,6 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/zigtools/zls"
inherit git-r3
src_unpack() {
git-r3_src_unpack
zig_live_fetch -Denable-tracy=false
}
else
# Should be the "minimum_build_zig_version" from upstream's "build.zig".
ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay
@@ -41,6 +37,13 @@ RDEPEND="
DOCS=( README.md )
if [[ ${PV} == 9999 ]]; then
src_unpack() {
git-r3_src_unpack
zig_live_fetch -Denable-tracy=false
}
fi
src_configure() {
local my_zbs_args=(
-Dpie=true