This repository contains a slightly modified version of Skia C++, adapted for building with Meson on Linux.
The entire library and its modules are compiled into a single shared library.
- core
- skcms
- skresources
- skunicode
- skparagraph
- skshaper
- svg
- ganesh
- graphite
- jpeg, png, webp, ico, bmp
Install directly from the cuarzo/software COPR:
$ sudo dnf copr enable cuarzo/software
$ sudo dnf install cz-skia cz-skia-devel
The pkg-config package name is cz-skia
.
Headers can be included like this:
#include <skia/core/SkSurface.h>
#include <skia/modules/skparagraph/include/Paragraph.h>
Install Meson and the dependencies listed in meson.build
.
$ cd Skia # This repo's root dir
$ meson setup builddir -Dbuildtype=release
$ cd builddir
$ meson install
# To remove later
$ cd builddir
$ sudo ninja uninstall