diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-03-11 11:32:18 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-03-15 22:42:12 +0100 |
commit | b8931e7159bb14dcf1f930f2d27124f5b56f232f (patch) | |
tree | 3ee185c96ed0f3b5d437377e67f412738168ec86 | |
parent | 0ab4af29f1495e7a7f544b487adf43a262f61bad (diff) | |
download | buildroot-b8931e7159bb14dcf1f930f2d27124f5b56f232f.tar.gz buildroot-b8931e7159bb14dcf1f930f2d27124f5b56f232f.zip |
mplayer: switch it to samba4
samba(3) has been deprecated for quite some time so switch mplayer to
use samba4 if available.
It needs a little extra tweak to pick up the proper cflags since the odd
configure script doesn't do it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/mplayer/mplayer.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 2082f25190..cbbd1e7728 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -98,9 +98,11 @@ else MPLAYER_CONF_OPTS += --disable-termcap endif -ifeq ($(BR2_PACKAGE_SAMBA_SMBCLIENT),y) +# mplayer doesn't pick up libsmbclient cflags +ifeq ($(BR2_PACKAGE_SAMBA4),y) +MPLAYER_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags smbclient` MPLAYER_CONF_OPTS += --enable-smb -MPLAYER_DEPENDENCIES += samba +MPLAYER_DEPENDENCIES += samba4 else MPLAYER_CONF_OPTS += --disable-smb endif |