forked from aki/docker-aseprite-linux
build(manifest): Ensure Skia's src files and public headers are correctly installed
This commit is contained in:
parent
ce6af21c1c
commit
0cf643665c
@ -106,17 +106,25 @@ modules:
|
||||
- install -d /app/lib
|
||||
- install -d /app/include # Changed from /app/include/skia
|
||||
- install -d /app/third_party/externals
|
||||
# Ensure /app/src exists for Skia's src files
|
||||
- install -d /app/src
|
||||
|
||||
# Install Skia library
|
||||
- install -m644 out/Release-x64/libskia.a /app/lib/libskia.a
|
||||
|
||||
# Copy headers
|
||||
- cp -r include/* /app/include/ # Changed from /app/include/skia/
|
||||
# Copy Skia's public headers from 'include/' to '/app/include/'
|
||||
- cp -r include/* /app/include/
|
||||
|
||||
# Copy Skia's internal 'modules' headers as they are referenced by public headers
|
||||
# Copy Skia's 'modules' directory to '/app/include/modules/'
|
||||
# (as public headers might reference them like "modules/skcms/skcms.h")
|
||||
- echo "Copying Skia 'modules' directory to /app/include/"
|
||||
- cp -r modules /app/include/
|
||||
|
||||
# Copy Skia's internal 'src' directory to '/app/src/'
|
||||
# (as Aseprite/LAF references them like "src/core/SkConvertPixels.h")
|
||||
- echo "Copying Skia 'src' directory to /app/"
|
||||
- cp -r src/* /app/src/
|
||||
|
||||
# Extract and install libraries that Aseprite needs
|
||||
- |
|
||||
echo "Extracting and installing bundled libraries..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user