From 0cf643665cb8235a1bf555bb090a365962b05305 Mon Sep 17 00:00:00 2001 From: aki Date: Wed, 7 May 2025 10:30:41 +0800 Subject: [PATCH] build(manifest): Ensure Skia's src files and public headers are correctly installed --- com.aseprite.Aseprite.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/com.aseprite.Aseprite.yaml b/com.aseprite.Aseprite.yaml index d139285..88ab3f4 100644 --- a/com.aseprite.Aseprite.yaml +++ b/com.aseprite.Aseprite.yaml @@ -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..."