|
root / base / pixman
pixman Plain Text 42 lines 1.1 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
# Build script for pixman (Meson, Template B). No X deps; no libtool fix
# needed (Meson doesn't use libtool's dynamic-linker case block).
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"

meson setup build \
    --prefix="$PREFIX" \
    --libdir=lib \
    --buildtype=release \
    -Ddefault_library=shared \
    -Dtests=disabled

ninja -C build -j${JOBS:-1}
DESTDIR="$PKGDIR" ninja -C build install
# pixman - low-level pixel manipulation library (cairo + Xvfb rasterizer dep)
# https://www.cairographics.org/releases/ (also mirrored on xorg.freedesktop.org)

[package]
name = "pixman"
version = "0.46.4"
release = 1
description = "Low-level pixel manipulation library"
url = "https://www.cairographics.org/releases/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "pixman-0.46.4.tar.gz"
urls = ["https://www.cairographics.org/releases/pixman-0.46.4.tar.gz"]
checksum = "d09c44ebc3bd5bee7021c79f922fe8fb2fb57f7320f55e97ff9914d2346a591c"

[build]
parallel = true