https://github.com/feenkcom/libskia
C-style wrapper around
https://github.com/feenkcom/libskia
Last synced: 3 months ago
JSON representation
C-style wrapper around
- Host: GitHub
- URL: https://github.com/feenkcom/libskia
- Owner: feenkcom
- License: mit
- Created: 2019-10-24T08:37:08.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2026-03-30T09:19:28.000Z (3 months ago)
- Last Synced: 2026-03-30T10:26:06.491Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 729 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libskia
C api wrapper around [rust-skia](https://github.com/rust-skia/rust-skia)
# Building
## MacOS
Requires `curl` at least `v7.67.0`.
```
brew install curl ninja
```
## Windows
```
choco install llvm python2 -y
```
## Ubuntu 20.04
Starting from a minimal installation of `Ubuntu 20.04` we should install a couple of packages:
```
sudo apt install curl git pkg-config libssl-dev clang llvm python2 python libfontconfig1-dev libgl1-mesa-dev
```
Next we need `Rust` which can be installed using `rustup`:
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
```
Now let's clone the repository and `cd` in the cloned folder:
```
git clone https://github.com/feenkcom/libskia.git && cd libskia
```
Once inside we can start the build using the following `cargo` command:
```
cargo build --release --features "skia_linux"
```