[packages/xbmc] - fix libsmbclient detection - rel 2
baggins
baggins at pld-linux.org
Tue Jan 21 12:59:18 CET 2014
commit 3354f23cde6fdf36c64414cf7f8e0fa08c2d846d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jan 21 12:59:03 2014 +0100
- fix libsmbclient detection
- rel 2
smbclient.patch | 12 ++++++++++++
xbmc.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
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
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xbmc.git/commitdiff/3354f23cde6fdf36c64414cf7f8e0fa08c2d846d
More information about the pld-cvs-commit
mailing list