Skip to content

Commit

Permalink
Added svg support for image generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kcleal committed Jan 15, 2024
1 parent 12c02c0 commit 959fb61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ USE_GL ?= "" # Else use EGL backend for Linux only
prep:
@if [ "$(PLATFORM)" = "Darwin" ]; then \
SKIA_LINK=""; \
echo "Downloading pre-built skia for MacOS-Intel"; \
echo "Downloading pre-built skia for MacOS-Intel"; mkdir -p lib/skia; \
cd lib/skia && wget -O skia.zip "https://github.com/JetBrains/skia-build/releases/download/m93-87e8842e8c/Skia-m93-87e8842e8c-macos-Release-x64.zip" && unzip -o skia.zip && rm skia.zip && cd ../../; \
elif [ "$(PLATFORM)" = "Arm64" ]; then \
echo "Downloading pre-built skia for MacOS-Arm64"; \
echo "Downloading pre-built skia for MacOS-Arm64"; mkdir -p lib/skia; \
cd lib/skia && wget -O skia.tar.gz "https://github.com/kcleal/skia_build_arm64/releases/download/v0.0.1/skia.zip" && tar -xvf skia.tar.gz && rm skia.tar.gz && cd ../../; \
elif [ "$(PLATFORM)" = "Linux" ] && [ "$(USE_GL)" = "1" ]; then \
echo "Downloading pre-built skia for Linux with GL"; \
echo "Downloading pre-built skia for Linux with GL"; mkdir -p lib/skia; \
cd lib/skia && wget -O skia.zip "https://github.com/JetBrains/skia-build/releases/download/m93-87e8842e8c/Skia-m93-87e8842e8c-linux-Release-x64.zip" && unzip -o skia.zip && rm skia.zip && cd ../../; \
elif [ "$(PLATFORM)" = "Linux" ]; then \
echo "Downloading pre-built skia for Linux with EGL"; \
echo "Downloading pre-built skia for Linux with EGL"; mkdir -p lib/skia; \
cd lib/skia && wget -O skia.tar.gz "https://github.com/kcleal/skia_build_arm64/releases/download/v0.0.1/skia-m93-linux-Release-x64.tar.gz" && tar -xvf skia.tar.gz && rm skia.tar.gz && cd ../../; \
fi

Expand Down

0 comments on commit 959fb61

Please sign in to comment.