From: Jan Rękorajski Date: Tue, 21 Jan 2014 11:59:03 +0000 (+0100) Subject: - fix libsmbclient detection X-Git-Tag: auto/th/xbmc-12.3-2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=3354f23cde6fdf36c64414cf7f8e0fa08c2d846d;p=packages%2Fxbmc.git - fix libsmbclient detection - rel 2 --- diff --git a/smbclient.patch b/smbclient.patch new file mode 100644 index 0000000..b19e187 --- /dev/null +++ b/smbclient.patch @@ -0,0 +1,12 @@ +--- xbmc-12.3-Frodo/configure.in~ 2014-01-21 12:39:13.709404239 +0100 ++++ xbmc-12.3-Frodo/configure.in 2014-01-21 12:44:02.928731740 +0100 +@@ -1309,7 +1309,8 @@ + + # samba + if test "x$use_samba" != "xno"; then +- AC_CHECK_LIB([smbclient], [main],, ++ PKG_CHECK_MODULES([LIBSMBCLIENT], [smbclient], ++ [INCLUDES="$INCLUDES $LIBSMBCLIENT_CFLAGS"; LIBS="$LIBS $LIBSMBCLIENT_LIBS"], + use_samba=no;AC_MSG_ERROR($missing_library)) + USE_LIBSMBCLIENT=0 + else diff --git a/xbmc.spec b/xbmc.spec index 6edd8ac..d01ae50 100644 --- a/xbmc.spec +++ b/xbmc.spec @@ -15,7 +15,7 @@ Summary: XBMC is a free and open source media-player and entertainment hub Name: xbmc Version: 12.3 -Release: 1 +Release: 2 License: GPL v2+ and GPL v3+ Group: Applications/Multimedia Source0: http://mirrors.xbmc.org/releases/source/%{name}-%{version}.tar.gz @@ -23,6 +23,7 @@ Source0: http://mirrors.xbmc.org/releases/source/%{name}-%{version}.tar.gz Patch0: ffmpeg2.patch Patch1: jpeglib-boolean.patch Patch2: %{name}-vdpau.patch +Patch3: smbclient.patch URL: http://xbmc.org/ BuildRequires: Mesa-libGLU-devel BuildRequires: OpenGL-devel @@ -133,6 +134,7 @@ forecast functions, together third-party plugins. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build ./bootstrap