mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user