diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/skia/skia.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/skia/skia.xibuild')
-rw-r--r-- | repo/skia/skia.xibuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/skia/skia.xibuild b/repo/skia/skia.xibuild new file mode 100644 index 0000000..55bccb3 --- /dev/null +++ b/repo/skia/skia.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="skia" +DESC="Skia is a complete 2D graphic library for drawing Text, Geometries, and Images." + +MAKEDEPS="gn " + +SOURCE="https://skia.googlesource.com/skia.git" + +prepare () { + python tools/git-sync-deps + export common_args=" + skia_use_dng_sdk=false + " +} + +build () { + # dng sdk fails to build + gn gen out/Shared --args="$common_args is_official_build=true is_component_build=true" + + ninja -C out/Shared +} + +package () { + for lib in out/Shared/*.so; do + install -Dm644 $lib $PKG_DEST/usr/lib/ + done +} |