forked from aki/docker-aseprite-linux
build(manifest): Fix for skshaper and skunicode
This commit is contained in:
parent
7769777df0
commit
449184f5a3
@ -101,9 +101,6 @@ modules:
|
|||||||
- echo "Building Skia with Ninja (this may take a while)..."
|
- echo "Building Skia with Ninja (this may take a while)..."
|
||||||
- ninja -C out/Release-x64 skia modules skshaper skunicode
|
- 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
|
# Create directory structure for Aseprite
|
||||||
- echo "Installing Skia libraries and headers..."
|
- echo "Installing Skia libraries and headers..."
|
||||||
- install -d /app/lib
|
- install -d /app/lib
|
||||||
@ -159,6 +156,22 @@ modules:
|
|||||||
break
|
break
|
||||||
done
|
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
|
# Create symlinks for libraries that might have different names
|
||||||
(cd /app/lib && [ -f libjpeg.a ] && ln -sf libjpeg.a libjpeg-turbo.a || true)
|
(cd /app/lib && [ -f libjpeg.a ] && ln -sf libjpeg.a libjpeg-turbo.a || true)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user