transmission: gtk option needs libgtk3

Fixes the following configure issue:

checking for GTK... no
configure: error: Package requirements (gtk+-3.0 >= 3.4.0
                              glib-2.0 >= 2.32.0
                              gio-2.0 >= 2.26.0,
                              gmodule-2.0 >= 2.32.0
                              gthread-2.0 >= 2.32.0) were not met:

libgtk2 support was dropped in commit cdd71c642724 ((trunk gtk) #4970 remove
deprecated GTK+ API calls, raise GTK+ dependency to 3.2) which was part of
transmission-2.61.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2017-09-02 00:37:48 +02:00
parent e67fbcfa94
commit a2935ee288
2 changed files with 3 additions and 3 deletions

View File

@ -39,12 +39,12 @@ config BR2_PACKAGE_TRANSMISSION_REMOTE
config BR2_PACKAGE_TRANSMISSION_GTK
bool "transmission-gtk"
depends on BR2_PACKAGE_LIBGTK2 && BR2_ENABLE_LOCALE
depends on BR2_PACKAGE_LIBGTK3 && BR2_ENABLE_LOCALE
help
Install transmission GTK-based GUI interface.
comment "transmission-gtk needs a toolchain w/ locale"
depends on BR2_PACKAGE_LIBGTK2 && !BR2_ENABLE_LOCALE
depends on BR2_PACKAGE_LIBGTK3 && !BR2_ENABLE_LOCALE
endif
comment "transmission needs a toolchain w/ threads"

View File

@ -83,7 +83,7 @@ endif
ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK),y)
TRANSMISSION_CONF_OPTS += --with-gtk
TRANSMISSION_DEPENDENCIES += libgtk2
TRANSMISSION_DEPENDENCIES += libgtk3
else
TRANSMISSION_CONF_OPTS += --without-gtk
endif