f38
kwizart 5 years ago
parent 3b32baeed3
commit 52ff8517a4

@ -0,0 +1,16 @@
diff -up os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp.orig os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp
--- os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp.orig 2019-11-21 19:49:35.000000000 +0100
+++ os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp 2019-12-29 19:21:14.007837983 +0100
@@ -6,11 +6,11 @@
*/
#include <fftw3.h>
-#include <highgui.h>
#include <locale.h>
#include <math.h>
#include <memory.h>
#include <opencv2/opencv.hpp>
+#include <opencv2/highgui.hpp>
#include <sndfile.h>
#include <stdio.h>
#include <stdlib.h>

@ -40,6 +40,7 @@ Summary: OS-level test automation
License: GPLv2+ License: GPLv2+
URL: https://os-autoinst.github.io/openQA/ URL: https://os-autoinst.github.io/openQA/
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz
Patch0: os-autoinst-opencv_header.patch
# diff from SUSE: added perl(ExtUtils::MakeMaker) and perl(ExtUtils::Embed) # diff from SUSE: added perl(ExtUtils::MakeMaker) and perl(ExtUtils::Embed)
# which I've found necessary before # which I've found necessary before
%define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make %define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make

Loading…
Cancel
Save