transmission: add gtk support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
6e223241e1
commit
2211f63e79
@ -33,6 +33,13 @@ config BR2_PACKAGE_TRANSMISSION_REMOTE
|
||||
bool "transmission-remote"
|
||||
help
|
||||
Install transmission remote management tool.
|
||||
|
||||
config BR2_PACKAGE_TRANSMISSION_GTK
|
||||
bool "transmission-gtk"
|
||||
depends on BR2_PACKAGE_LIBGTK2
|
||||
help
|
||||
Install transmission GTK-based GUI interface.
|
||||
|
||||
endif
|
||||
|
||||
comment "Transmission requires a toolchain with IPv6 support"
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user