2 VCS: #e3ca2f3bdcac02e9780c2de7001310a2a61a483e-dirty
3 Summary: OpenCV library
6 Group: Development/Libraries
7 License: BSD-2.0 and LGPL-2.1+
8 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkg-config
12 BuildRequires: libjpeg-devel
13 BuildRequires: libpng-devel
14 BuildRequires: libtiff-devel
15 #BuildRequires: gettext-tools
16 #BuildRequires: edje-tools
17 #BuildRequires: eet-tools
18 #BuildRequires: eina-devel
19 #BuildRequires: eet-devel
20 #BuildRequires: evas-devel
21 #BuildRequires: ecore-devel
22 #BuildRequires: edje-devel
23 #BuildRequires: edbus-devel
24 #BuildRequires: efreet-devel
25 #BuildRequires: ethumb-devel
26 #BuildRequires: emotion-devel
27 #BuildRequires: app-svc-devel
28 #BuildRequires: libx11-devel
29 BuildRequires: elementary-devel
30 BuildRequires: gstreamer
31 BuildRequires: gst-plugins-base
32 BuildRequires: gst-plugins-good
33 BuildRequires: libavutil-devel
34 BuildRequires: libavcodec-devel
35 BuildRequires: libavformat-devel
36 BuildRequires: libswscale-devel
37 #BuildRequires: gst-ffmpeg
38 Requires(post): /sbin/ldconfig
39 Requires(postun): /sbin/ldconfig
42 The Open Computer Vision Library includes various algorithms for computer vision problems.
45 Summary: OpenCV Library (Dev)
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
50 The Open Computer Vision Library (Dev) includes various algorithms for computer vision problems.
56 %ifarch aarch64 x86_64
62 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
64 -DCMAKE_BUILD_TYPE=Release \
65 -DCMAKE_CONFIGURATION_TYPES=Release \
68 -DBUILD_ANDROID_SERVICE=OFF \
69 -DBUILD_ANDRIOD_PACKAGE=OFF \
70 -DBUILD_SHARED_LIBS=ON \
73 -DBUILD_PERF_TESTS=OFF \
77 -DBUILD_WITH_DEBUG_INFO=ON \
81 -DBUILD_EXAMPLES=OFF \
82 -DBUILD_opencv_apps=OFF \
83 -DBUILD_opencv_calib3d=ON \
84 -DBUILD_opencv_contrib=ON \
85 -DBUILD_opencv_core=ON \
86 -DBUILD_opencv_imgproc=ON \
87 -DBUILD_opencv_flann=ON \
88 -DBUILD_opencv_features2d=ON \
89 -DBUILD_opencv_objdetect=ON \
90 -DBUILD_opencv_ml=ON \
91 -DBUILD_opencv_gpu=OFF \
92 -DBUILD_opencv_highgui=ON \
93 -DBUILD_opencv_legacy=ON \
94 -DBUILD_opencv_nonfree=OFF \
95 -DBUILD_opencv_ocl=OFF \
96 -DBUILD_opencv_photo=ON \
97 -DBUILD_opencv_stitching=OFF \
98 -DBUILD_opencv_superres=OFF \
99 -DBUILD_opencv_ts=OFF \
100 -DBUILD_opencv_video=ON \
101 -DBUILD_opencv_videostab=OFF \
102 -DBUILD_opencv_world=OFF \
104 -DWITH_CSTRIPES=OFF \
112 -DWITH_INTELPERC=OFF \
118 -DWITH_OPENCLAMDBLAS=OFF \
119 -DWITH_OPENCLAMDFFT=OFF \
133 -DWITH_GSTREAMER=ON \
136 -DINSTALL_C_EXAMPLES=OFF \
137 -DINSTALL_PYTHON_EXAMPLES=OFF \
138 -DINSTALL_TESTS=OFF \
139 -DINTALL_ANDROID_EXAMPLES=OFF \
140 -DENABLE_PRECOMPILED_HEADERS=OFF \
141 -DENABLE_DYNAMIC_CUDA=OFF \
142 -DENABLE_SOLUTION_FOLDERS=OFF \
143 -DENABLE_PROFILLING=OFF \
144 -DENABLE_COVERAGE=OFF
146 make %{?jobs:-j%jobs}
150 mkdir -p %{buildroot}%{_datadir}/license
151 cp LICENSE %{buildroot}%{_datadir}/license/%{name}
152 cat LICENSE.LGPL-2.1+ >> %{buildroot}%{_datadir}/license/%{name}
166 %manifest opencv.manifest
167 %defattr(-,root,root,-)
169 %{_datadir}/license/*
174 %{_libdir}/pkgconfig/*.pc