neovim: trigger build for x86 (#13271)

this also ensures the binary ends up in $commandBinDir

Co-authored-by: user0-07161 <user0thenyancat@proton.me>
This commit is contained in:
User0
2025-11-29 08:13:18 +01:00
committed by GitHub
parent 25c068bb86
commit e0fc27cac9

View File

@@ -50,6 +50,13 @@ CHECKSUM_SHA256_12="dc146fd279eacbbf399d3f70932ce66f516aac2d13f8ec2d26a30f8ed70a
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
neovim$secondaryArchSuffix = $portVersion
cmd:nvim = $portVersion
@@ -108,18 +115,21 @@ BUILD()
sed -i ./cmake.deps/deps.txt \
-e "s|\$UTF8PROC|$(find $sourceDir12/*)|"
cmake -DUSE_BUNDLED_LIBUV=OFF \
cmake -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
-DUSE_BUNDLED_LIBUV=OFF \
-DUSE_BUNDLED_UNIBILIUM=OFF \
-DUSE_BUNDLED_LUAJIT=OFF \
-DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-B .deps ./cmake.deps
make -C .deps $jobArgs
cmake . \
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-B build
-DCMAKE_INSTALL_BINDIR=$commandBinDir
make -C build $jobArgs
}