automatic update by autodist [release 1.0.1-1mamba;Sun Feb 23 2014]
This commit is contained in:
parent
2154bd2470
commit
733ce2159d
@ -1,2 +1,7 @@
|
|||||||
# libv4l
|
# libv4l
|
||||||
|
|
||||||
|
libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
|
||||||
|
libv4lconvert offers functions to convert from any (known) pixelformat to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.
|
||||||
|
libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not).
|
||||||
|
libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the application transparent libv4lconvert conversion where necessary.
|
||||||
|
|
||||||
|
251
libv4l.spec
Normal file
251
libv4l.spec
Normal file
@ -0,0 +1,251 @@
|
|||||||
|
Name: libv4l
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Collection of video4linux support libraries
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||||
|
URL: http://www.linuxtv.org/downloads/v4l-utils/
|
||||||
|
Source0: http://www.linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2
|
||||||
|
Source1: qv4l2.desktop
|
||||||
|
Source2: qv4l2.svg
|
||||||
|
License: GPL, LGPL
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: kernelheaders
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libsysfs-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
|
||||||
|
libv4lconvert offers functions to convert from any (known) pixelformat to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.
|
||||||
|
libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not).
|
||||||
|
libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the application transparent libv4lconvert conversion where necessary.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Libraries and headers for libv4l
|
||||||
|
Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices.
|
||||||
|
|
||||||
|
This package contains libraries and header files need for developing applications that use libv4l.
|
||||||
|
|
||||||
|
%package -n v4l-utils
|
||||||
|
Group: System/Multimedia
|
||||||
|
Summary: Utilities for video4linux and DVB devices
|
||||||
|
Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n v4l-utils
|
||||||
|
v4l-utils is a collection of various video4linux (V4L) and DVB utilities. The
|
||||||
|
main v4l-utils package contains cx18-ctl, ir-keytable, ivtv-ctl, v4l2-ctl and
|
||||||
|
v4l2-sysfs-path.
|
||||||
|
|
||||||
|
%package -n v4l-dev-tools
|
||||||
|
Group: Development/Tools
|
||||||
|
Summary: Utilities for v4l2 / DVB driver development and debugging
|
||||||
|
Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n v4l-dev-tools
|
||||||
|
Utilities for v4l2 / DVB driver authors: decode_tm6000, v4l2-compliance and
|
||||||
|
v4l2-dbg.
|
||||||
|
|
||||||
|
%package -n qv4l2
|
||||||
|
Group: Graphical Desktop/Applications/Multimedia
|
||||||
|
Summary: QT v4l2 test control and streaming test application
|
||||||
|
Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n qv4l2
|
||||||
|
QT v4l2 test control and streaming test application.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n v4l-utils-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--enable-libdvbv5
|
||||||
|
|
||||||
|
%make
|
||||||
|
# CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
# CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
# PREFIX=%{_prefix} \
|
||||||
|
# LIBDIR=%{_libdir}
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
# PREFIX=%{_prefix} \
|
||||||
|
# LIBDIR=%{_libdir}
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
|
||||||
|
install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n qv4l2
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%postun -n qv4l2
|
||||||
|
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 qv4l2
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libv4l1.so.*
|
||||||
|
%{_libdir}/libv4l2.so.*
|
||||||
|
%{_libdir}/libv4l2rds.so.*
|
||||||
|
%{_libdir}/libv4lconvert.so.*
|
||||||
|
%{_libdir}/libdvbv5.so.*
|
||||||
|
%{_libdir}/v4l1compat.so
|
||||||
|
%{_libdir}/v4l2convert.so
|
||||||
|
%dir %{_libdir}/libv4l
|
||||||
|
%dir %{_libdir}/libv4l/plugins
|
||||||
|
%{_libdir}/libv4l/plugins/libv4l-mplane.la
|
||||||
|
%{_libdir}/libv4l/plugins/libv4l-mplane.so
|
||||||
|
%{_libdir}/libv4l/ov511-decomp
|
||||||
|
%{_libdir}/libv4l/ov518-decomp
|
||||||
|
%{_libdir}/libv4l/v4l1compat.so
|
||||||
|
%{_libdir}/libv4l/v4l2convert.so
|
||||||
|
/lib/udev/rc_keymaps/*
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/*.h
|
||||||
|
%{_libdir}/libv4l1.a
|
||||||
|
%{_libdir}/libv4l1.la
|
||||||
|
%{_libdir}/libv4l1.so
|
||||||
|
%{_libdir}/libv4l2.a
|
||||||
|
%{_libdir}/libv4l2.la
|
||||||
|
%{_libdir}/libv4l2.so
|
||||||
|
%{_libdir}/libv4lconvert.a
|
||||||
|
%{_libdir}/libv4lconvert.la
|
||||||
|
%{_libdir}/libv4lconvert.so
|
||||||
|
%{_libdir}/libdvbv5.a
|
||||||
|
%{_libdir}/libdvbv5.la
|
||||||
|
%{_libdir}/libdvbv5.so
|
||||||
|
%{_libdir}/libv4l2rds.a
|
||||||
|
%{_libdir}/libv4l2rds.la
|
||||||
|
%{_libdir}/libv4l2rds.so
|
||||||
|
%{_libdir}/libv4l/v4l1compat.la
|
||||||
|
%{_libdir}/libv4l/v4l2convert.la
|
||||||
|
%{_libdir}/pkgconfig/libv4l1.pc
|
||||||
|
%{_libdir}/pkgconfig/libv4l2.pc
|
||||||
|
%{_libdir}/pkgconfig/libv4lconvert.pc
|
||||||
|
%{_libdir}/pkgconfig/libdvbv5.pc
|
||||||
|
%{_libdir}/pkgconfig/libv4l2rds.pc
|
||||||
|
%doc README.lib-multi-threading TODO ChangeLog
|
||||||
|
|
||||||
|
%files -n v4l-utils
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_sysconfdir}/rc_keymaps
|
||||||
|
%config(noreplace) %{_sysconfdir}/rc_maps.cfg
|
||||||
|
/lib/udev/rules.d/70-infrared.rules
|
||||||
|
%{_bindir}/cx18-ctl
|
||||||
|
%{_bindir}/dvb-fe-tool
|
||||||
|
%{_bindir}/dvb-format-convert
|
||||||
|
%{_bindir}/dvbv5-scan
|
||||||
|
%{_bindir}/dvbv5-zap
|
||||||
|
%{_bindir}/ir-keytable
|
||||||
|
%{_bindir}/ivtv-ctl
|
||||||
|
%{_bindir}/v4l2-ctl
|
||||||
|
%{_bindir}/v4l2-sysfs-path
|
||||||
|
%{_mandir}/man1/ir-keytable.1.gz
|
||||||
|
|
||||||
|
%files -n v4l-dev-tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/decode_tm6000
|
||||||
|
%{_bindir}/v4l2-compliance
|
||||||
|
%{_sbindir}/v4l2-dbg
|
||||||
|
#%{_bindir}/capture-example
|
||||||
|
#%{_bindir}/driver-test
|
||||||
|
#%{_bindir}/ioctl-test
|
||||||
|
#%{_bindir}/pixfmt-test
|
||||||
|
%{_bindir}/rds-ctl
|
||||||
|
#%{_bindir}/sliced-vbi-detect
|
||||||
|
#%{_bindir}/sliced-vbi-test
|
||||||
|
#%{_bindir}/stress-buffer
|
||||||
|
#%{_bindir}/v4l2grab
|
||||||
|
#%{_bindir}/v4lgrab
|
||||||
|
#%{_bindir}/vbi-test
|
||||||
|
|
||||||
|
%files -n qv4l2
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/qv4l2
|
||||||
|
%{_datadir}/applications/qv4l2.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/qv4l2.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/qv4l2.svg
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Feb 23 2014 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Aug 07 2013 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 0.8.8-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Mar 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-1mamba
|
||||||
|
- update to 0.8.6
|
||||||
|
|
||||||
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Jun 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-1mamba
|
||||||
|
- update to 0.8.4
|
||||||
|
|
||||||
|
* Tue Mar 22 2011 gil <puntogil@libero.it> 0.8.3-1mamba
|
||||||
|
- update to 0.8.3
|
||||||
|
- add new sub package: qv4l2, v4l-utils, v4l-dev-tools
|
||||||
|
|
||||||
|
* Thu Sep 17 2009 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Mon Jul 13 2009 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Jun 10 2009 Automatic Build System <autodist@mambasoft.it> 0.5.99-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 19 2009 Automatic Build System <autodist@mambasoft.it> 0.5.97-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.9-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.8-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue Dec 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.7-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue Oct 28 2008 gil <puntogil@libero.it> 0.3.7-1mamba
|
||||||
|
- package created by autospec
|
11
qv4l2.desktop
Normal file
11
qv4l2.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=QT V4L2 test Utility
|
||||||
|
Name[pt]=Utilitário de teste V4L2
|
||||||
|
Comment=Allow testing Video4Linux devices
|
||||||
|
Comment[pt]=Permite testar dispositivos Video4Linux
|
||||||
|
Exec=qv4l2
|
||||||
|
Icon=qv4l2
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=AudioVideo;
|
||||||
|
|
31
qv4l2.svg
Normal file
31
qv4l2.svg
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="0.47 r22583" version="1.1" id="svg2839" height="297mm" width="210mm" sodipodi:docname="Novo documento 3">
|
||||||
|
<defs id="defs2841">
|
||||||
|
<linearGradient id="linearGradient2963">
|
||||||
|
<stop style="stop-color: rgb(255, 236, 187); stop-opacity: 1;" offset="0" id="stop2965"/>
|
||||||
|
<stop id="stop2971" offset="1" style="stop-color: rgb(0, 0, 0); stop-opacity: 0.498039;"/>
|
||||||
|
</linearGradient>
|
||||||
|
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 526.18109 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="744.09448 : 526.18109 : 1" inkscape:persp3d-origin="372.04724 : 350.78739 : 1" id="perspective2847"/>
|
||||||
|
<inkscape:perspective id="perspective2935" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
|
||||||
|
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2963" id="linearGradient2969" x1="-719.14288" y1="494.69958" x2="-324.21902" y2="968.98529" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0512, 0, 0, 1.05137, 651.058, -25.2444)"/>
|
||||||
|
<inkscape:perspective id="perspective2992" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.7" inkscape:cx="376.9721" inkscape:cy="468.42546" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" inkscape:window-width="1513" inkscape:window-height="1044" inkscape:window-x="1941" inkscape:window-y="0" inkscape:window-maximized="0"/>
|
||||||
|
<metadata id="metadata2844">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||||
|
<dc:title/>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g inkscape:label="Camada 1" inkscape:groupmode="layer" id="layer1">
|
||||||
|
<rect style="fill: rgb(173, 160, 127); fill-opacity: 1;" id="rect2959" width="498.57132" height="402.52496" x="101.42867" y="345.21906" ry="15.848869"/>
|
||||||
|
<rect style="fill: rgb(214, 207, 189); fill-opacity: 1; fill-rule: evenodd; stroke: rgb(0, 0, 0); stroke-width: 1.09651px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;" id="rect2955" width="366.37466" height="268.80539" x="172.03215" y="409.8259" ry="24.860613"/>
|
||||||
|
<path style="fill: url("#linearGradient2969") rgb(0, 0, 0); fill-opacity: 1;" d="m 111.92284,745.80915 c -1.7443,-0.70488 -4.61634,-3.11878 -6.38231,-5.3642 l -3.21086,-4.08259 0,-189.14299 c 0,-136.34795 0.46823,-190.05871 1.67748,-192.42365 0.92263,-1.80438 3.11889,-4.44845 4.8806,-5.87571 3.00442,-2.43405 17.98923,-2.5971 241.57759,-2.62843 l 238.37448,-0.0334 4.90427,4.38251 4.90429,4.3825 0.39257,189.41161 c 0.43575,210.24489 1.09242,196.30432 -9.4544,200.71175 -4.34407,1.81535 -40.20923,2.12038 -239.80015,2.0394 -129.08065,-0.0523 -236.11926,-0.67193 -237.86356,-1.37681 z m 413.94314,-69.49552 c 4.39946,-2.22093 7.85143,-5.43895 10.06966,-9.38725 l 3.37535,-6.00784 -0.36571,-118.16973 c -0.36124,-116.72035 -0.4037,-118.22058 -3.46195,-122.31682 -4.69144,-6.28374 -10.15101,-9.79936 -17.39001,-11.19809 -8.54594,-1.65125 -316.90144,-1.65125 -325.4474,0 -7.68,1.48394 -13.16379,5.20817 -17.88452,12.146 l -3.40519,5.00442 0.40173,119.03503 c 0.39878,118.15286 0.42505,119.06645 3.54637,123.27494 1.72955,2.33195 5.7842,5.74954 9.01033,7.59462 l 5.8657,3.35471 164.49565,0.0248 164.49566,0.0246 6.69433,-3.3794 z" id="path2961"/>
|
||||||
|
<rect style="fill: rgb(25, 20, 8); fill-opacity: 1;" id="rect2980" width="63.072273" height="39.050926" x="499.38467" y="744.74005" ry="0"/>
|
||||||
|
<rect style="fill: rgb(25, 20, 8); fill-opacity: 1;" id="rect2980-1" width="63.072273" height="39.050926" x="130.56888" y="744.74005" ry="0"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 4.4 KiB |
Loading…
Reference in New Issue
Block a user