import frei0r-plugins-1.6.1-7.el8

This commit is contained in:
CentOS Sources 2020-11-03 06:52:01 -05:00 committed by Andrew Lukoshko
parent 54fb8cd892
commit 82f4462f23
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,22 @@
From b0a06d52e39438fae2afbf98bafe6c794d13b83e Mon Sep 17 00:00:00 2001
From: Christoph Willing <chris.willing@linux.com>
Date: Sat, 14 Jul 2018 21:34:03 +1000
Subject: [PATCH] Include opencv2/imgproc.hpp for CV_RGB()
Signed-off-by: Christoph Willing <chris.willing@linux.com>
---
src/filter/facebl0r/facebl0r.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/filter/facebl0r/facebl0r.cpp b/src/filter/facebl0r/facebl0r.cpp
index 6d6e8f2..823462a 100644
--- a/src/filter/facebl0r/facebl0r.cpp
+++ b/src/filter/facebl0r/facebl0r.cpp
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
+#include <opencv2/imgproc.hpp>
#include <frei0r.hpp>
#include <frei0r_math.h>

View File

@ -1,11 +1,13 @@
Name: frei0r-plugins
Version: 1.6.1
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Frei0r - a minimalist plugin API for video effects
License: GPLv2+
URL: https://frei0r.dyne.org/
Source0: https://github.com/dyne/frei0r/archive/v%{version}/frei0r-plugins-%{version}.tar.gz
# https://github.com/dyne/frei0r/commit/b0a06d52e39438fae2afbf98bafe6c794d13b83e.patch
Patch0: Include-opencv2-imgproc-hpp-for-CV_RGB.patch
Buildrequires: libtool
@ -35,7 +37,7 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n frei0r-%{version}
%autosetup -n frei0r-%{version} -p1
%build
@ -69,6 +71,11 @@ rm -rf %{buildroot}%{_docdir}/%{name}
%{_libdir}/pkgconfig/frei0r.pc
%changelog
* Fri Jul 10 2020 Tomas Popela <tpopela@redhat.com> - 1.6.1-7
- Rebuild with newer annobin to fix rpmdiff problems
- Fix the build with a newer opencv
- Resolves: rhbz#1703994
* Thu Jul 26 2018 Josh Boyer <jwboyer@redhat.com> - 1.6.1-6
- Rebuild for opencv soname bump (rhbz 1597591)