# skia **Repository Path**: GARRYCODE/skia ## Basic Information - **Project Name**: skia - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: m83f - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-20 - **Last Updated**: 2025-09-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Skia for Friction Skia fork for use with Friction. Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. ## Linux/macOS Note that Friction includes skia and will build it for you. ### Requirements * ninja * python3 * cmake * clang * expat * harfbuzz * freetype * fontconfig * libjpeg-turbo * libpng * libwebp * libicu * zlib ### Options * `-DSKIA_USE_SYSTEM_LIBS=OFF` * `-DSKIA_SYNC_EXTERNAL=ON` *(not needed if using source tarball)* Will build all dependencies instead of using system libraries. ### Build and install ``` mkdir build && cd build cmake -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_C_COMPILER=clang .. cmake --build . ``` ``` cmake --install . ``` This will install `libskia-friction.so` to defined install path. Add optional `--prefix=/some/path` to install to a different location. **Note:** Install option only available on Linux. ## Windows ### Requirements * CMake, Python and Ninja in PATH * LLVM (Installed to Program Files, v15 recommended) * Visual Studio (Build Tools) 2017 ### Build ``` cmake -A x64 -DSKIA_USE_SYSTEM_LIBS=OFF -DSKIA_SYNC_EXTERNAL=ON .. cmake --build . ``` * `SKIA_SYNC_EXTERNAL=ON` requires git in PATH, not needed if using source tarball