From 294ab733f451f7a2d47d9930dac8b3b9005fdc53 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Wed, 4 Mar 2020 23:21:25 +0000 Subject: [PATCH] Use shared for vmafossexec --- 0005-Use-shared-for-vmafossexec.patch | 25 +++++++++++++++++++++++++ vmaf.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0005-Use-shared-for-vmafossexec.patch diff --git a/0005-Use-shared-for-vmafossexec.patch b/0005-Use-shared-for-vmafossexec.patch new file mode 100644 index 0000000..775a14a --- /dev/null +++ b/0005-Use-shared-for-vmafossexec.patch @@ -0,0 +1,25 @@ +From 0e9e6df1542583a74a0d30b81b0872d95b11a6fc Mon Sep 17 00:00:00 2001 +From: Leigh Scott +Date: Wed, 4 Mar 2020 23:18:20 +0000 +Subject: [PATCH 5/5] Use shared for vmafossexec + +--- + libvmaf/tools/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libvmaf/tools/meson.build b/libvmaf/tools/meson.build +index 2550f29..117bad0 100644 +--- a/libvmaf/tools/meson.build ++++ b/libvmaf/tools/meson.build +@@ -8,7 +8,7 @@ vmafossexec = executable( + include_directories : libvmaf_inc, + c_args : vmaf_cflags_common, + cpp_args : vmaf_cflags_common, +- link_with : libvmaf.get_static_lib(), ++ link_with : libvmaf, + install : true, + ) + +-- +2.24.1 + diff --git a/vmaf.spec b/vmaf.spec index f2ea755..e68eb1d 100644 --- a/vmaf.spec +++ b/vmaf.spec @@ -1,6 +1,6 @@ Name: vmaf Version: 1.5.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video Multi-Method Assessment Fusion License: BSD-2-Clause-Patent @@ -10,6 +10,7 @@ Patch0: 0001-Use-better-FLAGS-for-ptools.patch Patch1: 0002-Unbundle-pugixml.patch Patch3: 0003-Fix-soname.patch Patch4: 0004-Avoid-x86cpudetection-code-when-not-relevant.patch +Patch5: 0005-Use-shared-for-vmafossexec.patch # This project relies on AVX ExclusiveArch: x86_64 @@ -111,6 +112,9 @@ touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name} %changelog +* Wed Mar 04 2020 Leigh Scott - 1.5.1-2 +- Use shared for vmafossexec + * Tue Mar 03 2020 Leigh Scott - 1.5.1-1 - Update to 1.5.1