summaryrefslogtreecommitdiffstats
path: root/devel/bluefish/DEPENDS
blob: c035eaac99f8c0b863962f46629519a9da921eea (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
depends pcre &&

if [[ $BLUEFISH_UNSTABLE == y ]]; then
  depends gtk+2
else
  if spell_ok gtk+2 && ! spell_ok gtk+3 || \
     ! spell_ok gtk+2 && ! spell_ok gtk+3; then
    optional_depends gtk+3 \
                     "--without-gtk2" \
                     "--with-gtk2" \
                     "to use gtk3 instead of gtk2" &&

    if ! is_depends_enabled $SPELL gtk+3; then
      depends gtk+2
    fi
  else
    optional_depends gtk+2 \
                     "--with-gtk2" \
                     "--without-gtk2" \
                     "to use gtk2 even if gtk3 is available" &&

    if ! is_depends_enabled $SPELL gtk+2; then
      depends gtk+3
    fi
  fi
fi &&

optional_depends gettext \
                 "--enable-nls" \
                 "--disable-nls" \
                 "to use Native Language Support" &&

optional_depends gucharmap "" "" "for the character map plugin" &&

optional_depends enchant \
                 "--enable-spell-check" \
                 "--disable-spell-check" \
                 "for spell checking capabilities" &&

optional_depends python \
                 "--enable-python" \
                 "--disable-python" \
                 "for zen-coding plugin"