transmission: gtk client needs locale support in toolchain
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 8 Dec 2011 10:21:49 +0000 (11:21 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 8 Dec 2011 10:22:57 +0000 (11:22 +0100)
Otherwise configure errors out with:

configure: error: "The gtk client cannot be built without nls support.
Try adding either --enable-nls or --disable-gtk"

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/transmission/Config.in

index 3fcf017fd93e748522753cdfd5627278d55fe77d..e7e9f66f4bd03cf3a6f6a685ad2ab65d0cc2b4bd 100644 (file)
@@ -36,10 +36,12 @@ config BR2_PACKAGE_TRANSMISSION_REMOTE
 
 config BR2_PACKAGE_TRANSMISSION_GTK
        bool "transmission-gtk"
-       depends on BR2_PACKAGE_LIBGTK2
+       depends on BR2_PACKAGE_LIBGTK2 && BR2_ENABLE_LOCALE
        help
          Install transmission GTK-based GUI interface.
 
+comment "transmission-gtk requires a toolchain with locale support"
+       depends on BR2_PACKAGE_LIBGTK2 && !BR2_ENABLE_LOCALE
 endif
 
 comment "Transmission requires a toolchain with IPv6 support"