2022-08-19 20:31:09 +03:00
|
|
|
distributable:
|
|
|
|
url: https://cairographics.org/releases/cairo-{{ version }}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
- 1.16.0
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
libpng.org: 1
|
|
|
|
pixman.org: ^0.40.0
|
|
|
|
freetype.org: 2
|
|
|
|
gnome.org/glib: 2
|
|
|
|
freedesktop.org/fontconfig: 2
|
|
|
|
sourceware.org/bzip2: 1
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
libexpat.github.io: 2 #FIXME or fontconfig detection fails
|
|
|
|
gnome.org/gobject-introspection: 1
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{ prefix }}
|
|
|
|
make --jobs {{ hw.concurrency }}
|
|
|
|
make install
|
|
|
|
|
2022-08-20 20:50:44 +03:00
|
|
|
if test {{ hw.platform }} == darwin; then
|
|
|
|
#FIXME wtf is going on here
|
2022-08-22 15:37:13 +03:00
|
|
|
#NOTE has /opt/gnu.org/gettext/v0.21.0/lib/libpcre.la in it
|
|
|
|
#NOTE then has a thousand repeats of pcre.org/libpcre.la
|
|
|
|
sed -i.bak 's|/opt/.*/v.*/lib/libpcre.la||' {{prefix}}/lib/libcairo-gobject.la
|
2022-08-20 20:50:44 +03:00
|
|
|
fi
|
|
|
|
|
2022-08-19 20:31:09 +03:00
|
|
|
test: true #FIXME
|