diff --git a/com.aseprite.Aseprite.yaml b/com.aseprite.Aseprite.yaml index 5521b5b..bdb5cf0 100644 --- a/com.aseprite.Aseprite.yaml +++ b/com.aseprite.Aseprite.yaml @@ -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 @@ -158,6 +155,22 @@ modules: install -m644 "$lib_file" /app/lib/libjpeg.a 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)