forked from conda-forge/cairo-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.yaml
78 lines (70 loc) · 1.91 KB
/
meta.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{% set version = "1.14.6" %}
package:
name: cairo
version: {{ version }}
source:
fn: cairo-{{ version }}.tar.xz
url: http://cairographics.org/releases/cairo-{{ version }}.tar.xz
sha256: 613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252
build:
number: 2
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
- vc14 # [win and py35]
requirements:
build:
- python # [win]
- posix # [win]
- m2w64-xz # [win]
- pkg-config # [not win]
- libtool # [not win]
- xz 5.2.* # [not win]
- freetype 2.6.* # [not win]
- fontconfig 2.12.* # [not win]
- glib 2.51.* # [not win]
- pixman 0.34.*
- libpng >=1.6.23,<1.7
- zlib 1.2.*
- icu 56.*
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py35]
run:
- freetype 2.6.* # [not win]
- fontconfig 2.12.* # [not win]
- libpng >=1.6.23,<1.7
- glib 2.51.* # [not win]
- pixman 0.34.*
- zlib 1.2.*
- icu 56.*
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py35]
test:
commands:
# Check commands.
- cairo-trace --help # [not win]
# Verify libraries.
{% set cairo_libs = [
"libcairo",
"libcairo-gobject",
"libcairo-script-interpreter",
] %}
{% for each_cairo_lib in cairo_libs %}
- test -f $PREFIX/lib/{{ each_cairo_lib }}.a # [not win]
- test -f $PREFIX/lib/{{ each_cairo_lib }}.dylib # [osx]
- test -f $PREFIX/lib/{{ each_cairo_lib }}.so # [linux]
{% endfor %}
- conda inspect linkages -p $PREFIX cairo # [not win]
- conda inspect objects -p $PREFIX cairo # [osx]
about:
home: http://cairographics.org/
license: LGPL 2.1 or MPL 1.1
summary: 'Cairo is a 2D graphics library with support for multiple output devices.'
extra:
recipe-maintainers:
- ccordoba12
- jakirkham
- ocefpaf
- pkgw