summaryrefslogtreecommitdiff
path: root/package/transmission/transmission.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-11-17 20:57:23 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-11-17 20:57:23 +0100
commit2211f63e79d9bc3057e94179fba22284b6b635a8 (patch)
treee0484c83214e350f8439dc29a5a70cbfb73fe123 /package/transmission/transmission.mk
parent6e223241e1bb58a27eb890291f9f5c1fcc6a0818 (diff)
transmission: add gtk support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))