commit dc7feed6be64b74581e68f183bbef5d637dd0c58
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Jun 29 19:19:03 2020 +0200
Add patch %{name}-undefined-symbol.patch fixes (BZ#5686)
sources | 2 +-
vdr-vaapidevice-undefined-symbol.patch | 13 +++++++++++++
vdr-vaapidevice.spec | 8 ++++++--
3 files changed, 20 insertions(+), 3 deletions(-)
---
diff --git a/sources b/sources
index e796ccc..3ca463e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f552a85fb685decfaf3172f1b3913cec vdr-plugin-vaapi-d19657b.tar.gz
+SHA512 (vdr-plugin-vaapi-d19657b.tar.gz) =
f67caa3f052479ac8339700766471f0f36369b152c84c84ed7479ddb67235fa527465dffae6f3b0d57f6cae12ed3d4c290a7cd65ad32af1421943b8adcad8e5b
diff --git a/vdr-vaapidevice-undefined-symbol.patch
b/vdr-vaapidevice-undefined-symbol.patch
new file mode 100644
index 0000000..bdd036e
--- /dev/null
+++ b/vdr-vaapidevice-undefined-symbol.patch
@@ -0,0 +1,13 @@
+--- Makefile.x 2020-06-29 16:21:04.108953021 +0200
++++ Makefile 2020-06-29 16:28:55.975251824 +0200
+@@ -40,8 +40,8 @@
+ $(warning CXXFLAGS not set)
+ endif
+
+-_CFLAGS += $(shell pkg-config --cflags alsa libva libavcodec libswscale libswresample
x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
+-LIBS += -lrt $(shell pkg-config --libs alsa libva libavcodec libswscale libswresample
x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
++_CFLAGS += $(shell pkg-config --cflags alsa libva-x11 libavcodec libswscale
libswresample x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
++LIBS += -lrt $(shell pkg-config --libs alsa libva-x11 libavcodec libswscale
libswresample x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
+
+ ### The version number of VDR's plugin API:
+
diff --git a/vdr-vaapidevice.spec b/vdr-vaapidevice.spec
index 74fa0b3..a5ba024 100644
--- a/vdr-vaapidevice.spec
+++ b/vdr-vaapidevice.spec
@@ -6,7 +6,7 @@
Name: vdr-vaapidevice
Version: 0.7.0
-Release: 17.%{gitdate}git%{shortcommit0}%{?dist}
+Release: 18.%{gitdate}git%{shortcommit0}%{?dist}
Summary: A VA-API output device plugin for VDR
License: AGPLv3
@@ -14,6 +14,7 @@ URL:
https://github.com/pesintta/vdr-plugin-vaapidevice
Source0: %{url}/archive/%{commit0}/%{sname}-%{shortcommit0}.tar.gz
# Configuration files for plugin parameters. These are Fedora specific and not in
upstream.
Source1: %{name}.conf
+Patch0: %{name}-undefined-symbol.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -49,7 +50,7 @@ A VA-API output device plugin for VDR.
%prep
-%setup -qn vdr-plugin-vaapidevice-%{commit0}
+%autosetup -p0 -n vdr-plugin-vaapidevice-%{commit0}
# remove .git files
rm -f .indent.pro .gitignore .dependencies
@@ -71,6 +72,9 @@ install -Dpm 644 %{SOURCE1} \
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/vaapidevice.conf
%changelog
+* Mon Jun 29 2020 Martin Gansser <martinkg(a)fedoraproject.org> -
0.7.0-18.20190526gitd19657b
+- Add patch %%{name}-undefined-symbol.patch fixes (BZ#5686)
+
* Sat Feb 22 2020 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
0.7.0-17.20190526gitd19657b
- Rebuild for ffmpeg-4.3 git