commit 8f4243f6b8c59e9e15480120455708b6bd81a6e7
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Wed Mar 13 01:29:28 2019 +0000
Switch to nv-codec-headers
avidemux.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/avidemux.spec b/avidemux.spec
index 896648c..f90a2f0 100644
--- a/avidemux.spec
+++ b/avidemux.spec
@@ -5,7 +5,7 @@
Name: avidemux
Version: 2.7.1
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Graphical video editing and transcoding tool
License: GPLv2+
@@ -67,7 +67,7 @@ BuildRequires: opus-devel
BuildRequires: xvidcore-devel >= 1.0.2
BuildRequires: x264-devel
BuildRequires: x265-devel
-BuildRequires: nvenc-devel
+BuildRequires: nv-codec-headers
# Main package is a metapackage, bring in something useful.
Requires: %{name}-gui = %{version}-%{release}
@@ -121,6 +121,8 @@ This package contains translation files for %{name}.
%prep
%autosetup -p1 -n %{name}_%{version}
+# nvenc is retired in favor nv-codec-headers
+sed -i -e 's@/usr/include/x86_64-linux-gnu@/usr/include/ffnvcodec@g'
cmake/admCheckNvEnc.cmake
# Remove sources of bundled libraries.
rm -rf avidemux_plugins/ADM_audioDecoders/ADM_ad_ac3/ADM_liba52 \
@@ -321,6 +323,9 @@ fi
%changelog
+* Wed Mar 13 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 2.7.1-12
+- Switch to nv-codec-headers
+
* Tue Mar 12 2019 Sérgio Basto <sergio(a)serjux.com> - 2.7.1-11
- Mass rebuild for x264