[fotowall] Add libv4l-devel (and good include usage) for v4l1 compatibility

Nicoleau Fabien eponyme at fedoraproject.org
Sun Feb 13 13:05:38 UTC 2011


commit 5099a45ff0364522f73a7ba9004491a1a1b130b2
Author: eponyme <eponyme at fedoraproject.org>
Date:   Sun Feb 13 14:05:36 2011 +0100

    Add libv4l-devel (and good include usage) for v4l1 compatibility

 fotowall.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/fotowall.spec b/fotowall.spec
index d95cac1..a763897 100644
--- a/fotowall.spec
+++ b/fotowall.spec
@@ -1,6 +1,6 @@
 Name:           fotowall
 Version:        0.9
-Release:        2%{?dist}
+Release:        3%{?dist}
 Epoch:          1
 Summary:        Photo collection creativity tool
 
@@ -10,7 +10,7 @@ URL:            http://www.enricoros.com/opensource/fotowall/
 Source0:        http://%{name}.googlecode.com/files/Fotowall-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  qt-devel >= 4.4
+BuildRequires:  qt-devel >= 4.4 libv4l-devel
 BuildRequires:  desktop-file-utils
 
 %description
@@ -24,6 +24,8 @@ change colors, text, shadows, etc..
 sed -i -e "s/\.build/build/" %{name}.pro
 # Unused file
 sed -i -e "/scripts/d" -e "s at man\ \\\@man@" %{name}.pro
+# for v4l1 compatibility
+sed -i -e 's/linux\/videodev.h/libv4l1-videodev.h/' 3rdparty/videocapture/VideoDevice.h
 
 %build
 qmake-qt4
@@ -52,9 +54,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/man/man?/%{name}.?.gz
 
 %changelog
+* Sun Feb 13 2011 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 1:0.9-3
+- Add libv4l-devel (and good include usage) for v4l1 compatibility
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.9-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
 * Thu Dec  8 2009 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 1:0.9-1
 - Update to 0.9
 * Sun Sep 20 2009 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 1:0.8.1-1


More information about the scm-commits mailing list