summaryrefslogtreecommitdiffstats
path: root/gnome2-libs/glib2/DEPENDS
blob: b24ac4d372fb9c53d640cd805cb28001b79e277d (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
57
58
59
60
61
. "$GRIMOIRE/FUNCTIONS" &&

depends pkgconfig &&
depends libffi  &&
depends xz-utils &&

if [[ $GLIB_VER == devel ]];then
  optional_depends elfutils '' '' 'manipulate ELF files'
fi &&

if  !  spell_installed  pkgconfig;  then
  force_depends  pkgconfig
fi  &&

depends perl      &&
optional_depends PYTHON                       \
                 ""                           \
                 ""                           \
                 "Perform post-build testing" &&

optional_depends gettext                            \
                 ""                                 \
                 "--with-libiconv=no"               \
                 "Build with gettext?"              &&

if spell_ok $SPELL; then
  optional_depends FAM                                \
                   "--enable-fam"                     \
                   "--disable-fam"                    \
                   "Build with file system monitoring"
else
  message "${MESSAGE_COLOR}NOTE: spell $SPELL isn't installed yet, FAM provider unavailable.${DEFAULT_COLOR}" &&

  optional_depends fam                                \
                   "--enable-fam"                     \
                   "--disable-fam"                    \
                   "Build with file system monitoring"
fi &&

optional_depends -sub UTFPROP pcre                  \
                 "--with-pcre=system"               \
                 "--with-pcre=internal"             \
                 "Use system supplied PCRE. Otherwise, the internal PCRE library will be used" &&

if is_depends_enabled $SPELL pcre; then
  if spell_ok pcre && is_version_less $(installed_version pcre) 8.11; then
    force_depends pcre
  fi
fi &&

optional_depends libselinux                         \
                 "--enable-selinux"                 \
                 "--disable-selinux"                \
                 "Build with selinux support"       &&

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

depends zlib