summaryrefslogtreecommitdiffstats
path: root/ftp/transmission-i2p/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/transmission-i2p/DEPENDS')
-rwxr-xr-xftp/transmission-i2p/DEPENDS34
1 files changed, 34 insertions, 0 deletions
diff --git a/ftp/transmission-i2p/DEPENDS b/ftp/transmission-i2p/DEPENDS
new file mode 100755
index 0000000000..a83a440360
--- /dev/null
+++ b/ftp/transmission-i2p/DEPENDS
@@ -0,0 +1,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"