commit b69cac6933ed1d19e0cf2b68cf51f38ea13afd6b
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Apr 26 12:42:26 2021 +0200
Update to 1.2.3
Add DRM_CFLAGS
.gitignore | 1 +
sources | 2 +-
vdr-mpv.spec | 9 +++++++--
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 750d630..62d6613 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/vdr-mpv-1.1.0.tar.gz
/vdr-mpv-1.1.1.tar.gz
/vdr-mpv-1.2.0.tar.gz
+/vdr-mpv-1.2.3.tar.gz
diff --git a/sources b/sources
index 6e7f24c..e28d7eb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vdr-mpv-1.2.0.tar.gz) =
c204f97e8dc73434100a626e81a4b31c2dd56d9b722f183d53106ea18aa7e585c69fa178bab6c74f9cf3873499f56ca0be762db98b726118544328ac72b4305c
+SHA512 (vdr-mpv-1.2.3.tar.gz) =
a3c8526e2271d56be74a2ee905bb0b42d4869876468e7070c37cbb3612bb0890fbb2a7ec10da9ed10183854063c2862021226bca2266e75a738abf3a4cea0f20
diff --git a/vdr-mpv.spec b/vdr-mpv.spec
index 56adcb8..0da5f86 100644
--- a/vdr-mpv.spec
+++ b/vdr-mpv.spec
@@ -1,7 +1,7 @@
%global pname mpv
Name: vdr-%{pname}
-Version: 1.2.0
+Version: 1.2.3
Release: 1%{?dist}
Summary: A mpv player plugin for VDR
License: AGPLv3+
@@ -28,7 +28,8 @@ Display) during playback.
%autosetup -p1 -n vdr-plugin-%{pname}-%{version}
%build
-make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC"
%{?_smp_mflags} all
+DRM_CFLAGS="$(pkg-config --cflags libdrm)"
+%make_build CFLAGS="%{optflags} -fPIC $DRM_CFLAGS" CXXFLAGS="%{optflags}
-fPIC $DRM_CFLAGS" all
%install
%make_install
@@ -41,6 +42,10 @@ make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags}
-fPIC" %{?_smp_mflags} all
%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
%changelog
+* Mon Apr 26 2021 Martin Gansser <martinkg(a)fedoraproject.org> - 1.2.3-1
+- Update to 1.2.3
+- Add DRM_CFLAGS
+
* Wed Apr 14 2021 Martin Gansser <martinkg(a)fedoraproject.org> - 1.2.0-1
- Update to 1.2.0