2022-08-05 23:22:53 +03:00
|
|
|
distributable:
|
|
|
|
url: https://cairographics.org/releases/pixman-{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: freedesktop/pixman/tags
|
|
|
|
strip: /^pixman-/
|
|
|
|
|
|
|
|
build:
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{ prefix }} --disable-debug
|
|
|
|
make --jobs {{ hw.concurrency }}
|
|
|
|
make install
|
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
script: |
|
2022-08-31 21:05:21 +03:00
|
|
|
cc test.c -lpixman-1 $CFLAGS
|
2022-08-05 23:22:53 +03:00
|
|
|
./a.out
|
|
|
|
env:
|
|
|
|
# using pkg-config as pixman puts its headers in `include/pixman-1`
|
|
|
|
LDFLAGS: $(pkg-config --libs pixman-1)
|
|
|
|
CFLAGS: $(pkg-config --cflags pixman-1)
|