[Buildroot] [PATCH 3/6] kodi: switch smb support to samba4

Yann E. MORIN yann.morin.1998 at free.fr
Mon Mar 9 22:00:13 UTC 2015


Gustavo, All,

On 2015-03-06 09:50 -0300, Gustavo Zacarias spake thusly:
> samba3 is deprecated upstream.
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>

Tested-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
[run-time tested on RPI-2 and played video via a SMB share]
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/kodi/Config.in | 7 +++++--
>  package/kodi/kodi.mk   | 2 +-
>  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> index 1bc8b15..48e624f 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in
> @@ -203,10 +203,13 @@ config BR2_PACKAGE_KODI_LIBSHAIRPLAY
>  comment "shairport support needs a toolchain w/ dynamic library"
>  	depends on BR2_STATIC_LIBS
>  
> +comment "samba support needs an (e)glibc toolchain"
> +	depends on !BR2_TOOLCHAIN_USES_GLIBC
> +
>  config BR2_PACKAGE_KODI_LIBSMBCLIENT
>  	bool "samba"
> -	select BR2_PACKAGE_SAMBA
> -	select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
> +	depends on BR2_TOOLCHAIN_USES_GLIBC
> +	select BR2_PACKAGE_SAMBA4
>  	help
>  	  Enable Samba support
>  
> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
> index f40fc31..a975f70 100644
> --- a/package/kodi/kodi.mk
> +++ b/package/kodi/kodi.mk
> @@ -140,7 +140,7 @@ KODI_CONF_OPTS += --disable-webserver
>  endif
>  
>  ifeq ($(BR2_PACKAGE_KODI_LIBSMBCLIENT),y)
> -KODI_DEPENDENCIES += samba
> +KODI_DEPENDENCIES += samba4
>  KODI_CONF_OPTS += --enable-samba
>  else
>  KODI_CONF_OPTS += --disable-samba
> -- 
> 2.0.5
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list