From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/skia/skia.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 repo/skia/skia.xibuild (limited to 'repo/skia/skia.xibuild') 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 +} -- cgit v1.2.1