summaryrefslogtreecommitdiffstats
path: root/gnome2-libs/librsvg2/DEPENDS
blob: d4c2eeff5a127ff68d152604a6dc717710d49733 (plain) (blame)
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
. "$GRIMOIRE"/VDEPENDS &&
depends llvm &&
depends -sub "CAIRO_DEVEL PNG" cairo &&
depends fontconfig &&
depends freetype2 &&
depends glib2 &&
depends harfbuzz &&
depends pango &&
# remove on next stable release (2.48+)
if [[ "${LIBRSVG2_BRANCH}" == "stable" ]]; then
  depends libcroco
fi &&
depends libice &&
depends libpng &&
depends libpthread-stubs &&
depends libx11 &&
depends libxau &&
depends libxcb &&
depends libxdmcp &&
depends libxext &&
depends libxml2 &&
# make icu usage explicit
if is_depends_enabled libxml2 icu;then
  depends icu
fi &&
depends libxrender &&
depends pcre &&
depends pixman &&
depends gdk-pixbuf2 &&
vdepends <<! &&
	rust >= 1.39.0
!

optional_depends gtk-doc                               \
                 "--enable-gtk-doc"                    \
                 "--disable-gtk-doc"                   \
                 "Build documentation with gtk-doc"    &&

message "${MESSAGE_COLOR}NOTICE: Vala bindings require ${SPELL_COLOR}gobject-introspection${MESSAGE_COLOR} installed.${DEFAULT_COLOR}" &&

optional_depends vala                                  \
                 "--enable-vala=yes"                   \
                 "--enable-vala=no"                    \
                 "build vala bindings"                 &&

if is_depends_enabled $SPELL vala; then
  depends gobject-introspection
else
  optional_depends gobject-introspection               \
                 "--enable-introspection"              \
                 "--disable-introspection"             \
                 "Enable introspection"
fi &&

optional_depends gtk+3 '' '' 'GTK3 support'