aboutsummaryrefslogtreecommitdiffstats
path: root/v4l-utils.spec.in
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-12-18 11:58:37 (GMT)
committerHans Verkuil <hans.verkuil@cisco.com>2018-08-17 09:05:58 (GMT)
commit0f0477c27453981f8f75814863938792778987c0 (patch)
treeca8f08292410e44970e42fd0ac088ae1bc916bc4 /v4l-utils.spec.in
parent02a260d3b307c61798a97c0c04ce2e7d862b1347 (diff)
qvidcap: add Qt video viewer
An Qt OpenGL/OpenGL ES video viewer that can read from video nodes, raw files, stream from the network and generate video using the test pattern generator. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Co-Developed-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Bård Eirik Winther <bwinther@cisco.com>
Diffstat (limited to 'v4l-utils.spec.in')
-rw-r--r--v4l-utils.spec.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/v4l-utils.spec.in b/v4l-utils.spec.in
index e820312..51765ea 100644
--- a/v4l-utils.spec.in
+++ b/v4l-utils.spec.in
@@ -9,6 +9,8 @@ URL: http://www.linuxtv.org/downloads/v4l-utils/
Source0: http://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2
Source1: qv4l2.desktop
Source2: qv4l2.svg
+Source3: qvidcap.desktop
+Source4: qvidcap.svg
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel libsysfs-devel kernel-headers desktop-file-utils elfutils-libelf-devel clang
# For /etc/udev/rules.d ownership
@@ -41,6 +43,17 @@ Requires: libv4l = %{version}-%{release}
QT v4l2 test control and streaming test application.
+%package -n qvidcap
+Summary: QT v4l2 video capture application
+License: GPLv2+
+Requires: libv4l = %{version}-%{release}
+
+%description -n qvidcap
+QT v4l2 video capture application for capturing from a video device, but also
+from a file, from a v4l2-ctl compliant network stream, or from a test pattern
+generator.
+
+
%package -n libv4l
Summary: Collection of video4linux support libraries
Group: System Environment/Libraries
@@ -120,6 +133,19 @@ fi
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+%post -n qvidcap
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun -n qvidcap
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans -n qvidcap
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
%files
%defattr(-,root,root,-)
%doc README
@@ -150,6 +176,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/applications/qv4l2.desktop
%{_datadir}/icons/hicolor/scalable/apps/qv4l2.svg
+%files -n qvidcap
+%defattr(-,root,root,-)
+%doc README
+%{_bindir}/qvidcap
+%{_datadir}/applications/qvidcap.desktop
+%{_datadir}/icons/hicolor/scalable/apps/qvidcap.svg
+
%files -n libv4l
%defattr(-,root,root,-)
%doc COPYING.LIB COPYING ChangeLog README.libv4l TODO

Privacy Policy