1
0

build(manifest): Fix for skshaper and skunicode

This commit is contained in:
Jose Daniel G. Percy 2025-05-07 10:50:50 +08:00
parent 7769777df0
commit 449184f5a3

View File

@ -101,9 +101,6 @@ modules:
- echo "Building Skia with Ninja (this may take a while)..."
- ninja -C out/Release-x64 skia modules skshaper skunicode
- echo "Listing Skia build output (out/Release-x64) after building skshaper & skunicode:"
- ls -la out/Release-x64/
# Create directory structure for Aseprite
- echo "Installing Skia libraries and headers..."
- install -d /app/lib
@ -159,6 +156,22 @@ modules:
break
done
# Find and install skshaper
for lib_file in $(find out/Release-x64 -name "libskshaper.a" 2>/dev/null || echo ""); do
echo "Installing libskshaper.a from $lib_file"
install -m644 "$lib_file" /app/lib/libskshaper.a
break
done
if [ ! -f /app/lib/libskshaper.a ]; then echo "WARNING: libskshaper.a not found in Skia output during install step, though it was present after build."; fi
# Find and install skunicode
for lib_file in $(find out/Release-x64 -name "libskunicode.a" 2>/dev/null || echo ""); do
echo "Installing libskunicode.a from $lib_file"
install -m644 "$lib_file" /app/lib/libskunicode.a
break
done
if [ ! -f /app/lib/libskunicode.a ]; then echo "WARNING: libskunicode.a not found in Skia output during install step, though it was present after build."; fi
# Create symlinks for libraries that might have different names
(cd /app/lib && [ -f libjpeg.a ] && ln -sf libjpeg.a libjpeg-turbo.a || true)