summaryrefslogtreecommitdiffstats
path: root/ftp/transmission-i2p/DEPENDS
blob: a83a440360780047fd0fb741a7acaebe3fa153e8 (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
. "$GRIMOIRE/FUNCTIONS" &&

depends SSL  &&
depends intltool &&
depends curl     &&
depends libevent &&

if spell_ok libevent && is_version_less $(installed_version libevent) 2.0.10; then
  force_depends libevent
fi &&

runtime_depends zlib &&

optional_depends gtk+3 \
                 "--with-gtk" \
                 "--without-gtk" \
                 "for GTK+ client" &&

if is_depends_enabled $SPELL gtk+3; then
  depends GETTEXT '--enable-nls' &&

  optional_depends libcanberra "" "" "for sounds support" &&
  optional_depends dbus-glib "" "" "for dbus support"
else
  optional_depends GETTEXT \
                   "--enable-nls" \
                   "--disable-nls" \
                   "for native language support"
fi &&

optional_depends libnatpmp \
                 "--enable-external-natpmp" \
                 "--disable-external-natpmp" \
                 "to use system natpmp"