commit 5c6836525743067dc72995d8f5ab483754d8d9ff
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Dec 15 15:45:06 2016 +0100
Add nonfreeflavor RPM Conditional
ffmpeg.spec | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 1dd0fe4..2622724 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -17,6 +17,23 @@
%global _without_nvenc 1
%endif
+# flavor nonfree
+%if 0%{?_with_nonfree:1}
+%global flavor -nonfree
+%global progs_suffix -nonfree
+#global build_suffix -lgpl
+%global _with_cuda 1
+%global _with_cuvid 1
+%global _with_libnpp 1
+%global _with_fdk_aac 1
+%global _without_cdio 1
+%global _without_frei0r 1
+%global _without_gpl 1
+%global _without_x264 1
+%global _without_x265 1
+%global _without_x11grab 1
+%endif
+
# extras flags
%if 0%{!?_without_nvenc:1}
%global nvenc_cflags -I%{_includedir}/nvenc
Show replies by date