summaryrefslogtreecommitdiff
path: root/package/transmission/transmission.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/transmission/transmission.mk')
-rw-r--r--package/transmission/transmission.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
index db0669281..c0d763bc4 100644
--- a/package/transmission/transmission.mk
+++ b/package/transmission/transmission.mk
@@ -14,7 +14,6 @@ TRANSMISSION_DEPENDENCIES = \
zlib
TRANSMISSION_CONF_OPT = \
- --disable-gtk \
--disable-libnotify \
--enable-lightweight
@@ -49,4 +48,11 @@ else
TRANSMISSION_CONF_OPT += --disable-remote
endif
+ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK),y)
+ TRANSMISSION_CONF_OPT += --enable-gtk
+ TRANSMISSION_DEPENDENCIES += libgtk2
+else
+ TRANSMISSION_CONF_OPT += --disable-gtk
+endif
+
$(eval $(call AUTOTARGETS))