Accepting request 225779 from KDE:Extra

- Upstream now provides tarballs with source only as git tags
  from github so update Source0 path.

- Add requires on various X extensions linked to opencv_ts module.
  As those are present in the .pc file we need it anyway.

- Update to OpenCV 2.4.8
  More info at:
  http://opencv.org/opencv-2-4-8.html
  The brief list of changes:
  * NVidia CUDA support on Android devices with CUDA capable SoC and
    CUDA sample;
  * Concurrent kernel execution and user defined context support for
    OpenCL;
  * Integration with Intel Perceptual SDK and new depth sensors support
    for Windows;
  * 32 reported bugs have been closed;
  * 139 pull requests have been merged;

OBS-URL: https://build.opensuse.org/request/show/225779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=49
This commit is contained in:
Stephan Kulow
2014-03-13 19:43:49 +00:00
committed by Git OBS Bridge
parent 13a9870924
commit 97bb18f305
4 changed files with 38 additions and 5 deletions

View File

@@ -22,13 +22,13 @@
%define soname 2_4
Name: opencv
Version: 2.4.7
Version: 2.4.8
Release: 0
Summary: Collection of algorithms for computer vision
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: http://opencv.org/
Source0: http://downloads.sourceforge.net/project/%{name}library/%{name}-unix/%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/Itseez/%{name}/archive/%{version}.tar.gz
# PATCH-FIX-UPSTREAM opencv-samples.patch koprok@nand.bg -- Improve samples installation.
Patch1: %{name}-samples.patch
# PATCH-FIX-UPSTREAM opencv-underlinking.patch koprok@nand.bg -- Make libopencv_highgui.so link to libv4l2 since it's using symbols defined there.
@@ -94,7 +94,12 @@ Group: Development/Libraries/C and C++
Provides: %{name}-devel-static = %{version}
Requires: %{libname}%{soname} = %{version}
Requires: %{name} = %{version}
Requires: pkgconfig(gl)
Requires: pkgconfig(glu)
Requires: pkgconfig(ice)
Requires: pkgconfig(sm)
Requires: pkgconfig(x11)
Requires: pkgconfig(xext)
%description devel
This package contains the OpenCV C/C++ library and header files, as well as