media-gfx/blender: force EGIT_LFS_CLONE_TYPE="single"

Pruning the lfs files after the initial clone results in long wait and potential
`Prune error: Git can't resolve ref: "HEAD"`.

We avoid this by only cloning a single version of the lfs.

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44694
Closes: https://github.com/gentoo/gentoo/pull/44694
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander 2025-11-26 22:26:13 +01:00 committed by Sam James
parent ce7f55d364
commit 6bc279288b
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
5 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
EGIT_SUBMODULES=( '*' '-lib/*' )
# using shallow causes long wait times.
EGIT_LFS_CLONE_TYPE="single"
if [[ "${PV}" == 9999* ]]; then
EGIT_BRANCH="main"

View File

@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
EGIT_SUBMODULES=( '*' '-lib/*' )
# using shallow causes long wait times.
EGIT_LFS_CLONE_TYPE="single"
if [[ "${PV}" == 9999* ]]; then
EGIT_BRANCH="main"

View File

@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
EGIT_SUBMODULES=( '*' '-lib/*' )
# using shallow causes long wait times.
EGIT_LFS_CLONE_TYPE="single"
if [[ "${PV}" == 9999* ]]; then
EGIT_BRANCH="main"

View File

@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
EGIT_SUBMODULES=( '*' '-lib/*' )
# using shallow causes long wait times.
EGIT_LFS_CLONE_TYPE="single"
if [[ "${PV}" == 9999* ]]; then
EGIT_BRANCH="main"

View File

@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
EGIT_SUBMODULES=( '*' '-lib/*' )
# using shallow causes long wait times.
EGIT_LFS_CLONE_TYPE="single"
if [[ "${PV}" == 9999* ]]; then
EGIT_BRANCH="main"