Skip to content

CuarzoSoftware/Skia

Repository files navigation

cz-skia

Skia is released under the BSD-3 license. Current cz-skia version.

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.

Modules

  • core
  • skcms
  • skresources
  • skunicode
  • skparagraph
  • skshaper
  • svg
  • ganesh
  • graphite
  • jpeg, png, webp, ico, bmp

Fedora

Install directly from the cuarzo/software COPR:

$ sudo dnf copr enable cuarzo/software
$ sudo dnf install cz-skia cz-skia-devel

Linking

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>

Manual Building

Dependencies

Install Meson and the dependencies listed in meson.build.

Build & Install

$ cd Skia # This repo's root dir
$ meson setup builddir -Dbuildtype=release
$ cd builddir
$ meson install

# To remove later
$ cd builddir
$ sudo ninja uninstall