commit fa9e7fd22b46bf420f50c0f6ec64a67fd5756b1a
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Dec 15 17:53:37 2019 +0000
Fix build issue building against libglvnd headers
fix_build_libglvnd.patch | 12 ++++++++++++
vdr-xineliboutput.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/fix_build_libglvnd.patch b/fix_build_libglvnd.patch
new file mode 100644
index 0000000..914f98b
--- /dev/null
+++ b/fix_build_libglvnd.patch
@@ -0,0 +1,12 @@
+--- a/configure
++++ b/configure
+@@ -401,7 +401,7 @@
+ test_library X11 xshape "X11/extensions/shape.h"
"-lXext" "XShapeQueryExtension(0,0,0)"
+ test_library X11 xdpms "X11/extensions/dpms.h"
"-lXext" "DPMSDisable(0)"
+ test_library X11 xinerama "X11/extensions/Xinerama.h"
"-lXinerama" "XineramaQueryScreens(0,0)"
+- test_library X11 opengl "GL/glx.h" "-lGL
-lGLU" "glXQueryVersion(0,0,0)"
++ test_library X11 OPENGL "GL/glx.h" "-lGL
-lGLU" "glXQueryVersion(0,0,0)"
+ test_library none vdpau "vdpau/vdpau_x11.h"
"-lvdpau" "vdp_device_create_x11(0,0,0,0)"
+ test_library X11 dbus-glib-1 \
+ "dbus/dbus-glib.h" \
+
diff --git a/vdr-xineliboutput.spec b/vdr-xineliboutput.spec
index 846c08b..ae98f0c 100644
--- a/vdr-xineliboutput.spec
+++ b/vdr-xineliboutput.spec
@@ -11,7 +11,7 @@
Name: vdr-%{pname}
Version: 2.1.0
-Release: 16.%{gitdate}git%{gitrev}%{?dist}
+Release: 17.%{gitdate}git%{gitrev}%{?dist}
Summary: Plugins for watching VDR over Xine
License: GPLv2+
URL:
http://sourceforge.net/projects/xineliboutput
@@ -24,6 +24,7 @@ URL:
http://sourceforge.net/projects/xineliboutput
Source0: %{name}-%{version}-%{gitrev}.tar.gz
Source1: %{name}.conf
Source2: allowed_hosts.conf
+Patch0: fix_build_libglvnd.patch
BuildRequires: gcc-c++
BuildRequires: gettext
@@ -75,6 +76,7 @@ This package contain plugin for VDR
%prep
%setup -q -n %{name}
+%patch0 -p1
./configure \
--enable-x11 \
@@ -159,6 +161,9 @@ find %{buildroot}%{xineplugindir} -name '*.so' -exec chmod +x
'{}' ';'
%endif
%changelog
+* Sun Dec 15 2019 Leigh Scott <leigh123linux(a)gmail.com> -
2.1.0-17.20191117git32a5ffc
+- Fix build issue building against libglvnd headers
+
* Thu Dec 12 2019 Martin Gansser <martinkg(a)fedoraproject.org> -
2.1.0-16.20191117git32a5ffc
- Update to 2.1.0-16.20191117git32a5ffc