pantry/projects/cairographics.org/package.yml

43 lines
971 B
YAML
Raw Normal View History

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
2022-12-08 04:10:37 +03:00
#FIXME or fontconfig detection fails
#FIXME build looks for 2.4.9 even when it has 2.5.0
2022-12-21 02:05:23 +03:00
libexpat.github.io: =2.4.9
gnome.org/gobject-introspection: 1
2022-12-21 02:05:23 +03:00
gnu.org/libtool: ^2
script: |
2022-12-21 02:05:23 +03:00
./configure --prefix={{ prefix }} --disable-dependency-tracking
make --jobs {{ hw.concurrency }}
make install
2022-09-02 17:57:48 +03:00
rm -rf {{prefix}}/share # docs are online
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
cc test.c -I{{prefix}}/include/cairo -lcairo
./a.out
#FIXME env should add that include path via pkg-config look up
2022-12-05 22:10:34 +03:00
provides:
- bin/cairo-trace