]> git.pld-linux.org Git - packages/frei0r.git/commitdiff
- added opencv bcond (there's a loop in BR: opencv -> ffmpeg -> frei0r)
authorSzymon Siwek <sls@pld-linux.org>
Sat, 17 Sep 2011 19:11:06 +0000 (19:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    frei0r.spec -> 1.6

frei0r.spec

index 47424c763ba86a59cfdede7490ce1d50487f62d4..f7f5db348798d7b47ccfc071d8393a3350864238 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without opencv          # build without OpenCV support
+#
 Summary:       Minimalistic plugin API for video effects - common package
 Summary(pl.UTF-8):     Minimalistyczne API wtyczek efektów wideo - wspólny pakiet
 Name:          frei0r
@@ -12,7 +16,7 @@ BuildRequires:        autoconf >= 2.60
 BuildRequires: automake
 BuildRequires: gavl-devel >= 0.2.3
 BuildRequires: libtool >= 2:2.0
-BuildRequires: opencv-devel >= 1.0.0
+%{?with_opencv:BuildRequires:  opencv-devel >= 1.0.0}
 BuildRequires: pkgconfig
 BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -237,10 +241,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/frei0r-1/vectorscope.so
 %attr(755,root,root) %{_libdir}/frei0r-1/rgbparade.so
 
+%if %{with opencv}
 %files plugins-opencv
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/frei0r-1/facebl0r.so
 %attr(755,root,root) %{_libdir}/frei0r-1/facedetect.so
+%endif
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.212862 seconds and 4 git commands to generate.