2024-01-06 06:01:11 +01:00
|
|
|
Name: libv4l
|
2024-07-25 21:06:47 +02:00
|
|
|
Version: 1.28.1
|
2024-07-22 10:37:43 +02:00
|
|
|
Release: 1mamba
|
2024-01-06 06:01:11 +01:00
|
|
|
Summary: Collection of video4linux support libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 06:01:12 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:01:12 +01:00
|
|
|
URL: https://www.linuxtv.org/downloads/v4l-utils/
|
2024-01-06 06:01:14 +01:00
|
|
|
Source0: https://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.xz
|
2024-01-06 06:01:11 +01:00
|
|
|
Source1: qv4l2.desktop
|
|
|
|
Source2: qv4l2.svg
|
|
|
|
License: GPL, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:01:12 +01:00
|
|
|
BuildRequires: libalsa-devel
|
2024-01-06 06:01:11 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 06:01:12 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-06 06:01:12 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-06 06:01:13 +01:00
|
|
|
BuildRequires: libjson-c-devel
|
2024-01-06 06:01:11 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 06:01:12 +01:00
|
|
|
BuildRequires: libudev-devel
|
2024-07-22 10:37:43 +02:00
|
|
|
BuildRequires: qt6-qt5compat-devel
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
2024-01-06 06:01:11 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 06:01:12 +01:00
|
|
|
BuildRequires: desktop-file-utils
|
2024-01-06 06:01:11 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
%package -n qvidcap
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Summary: QT video capture tool
|
|
|
|
Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n qvidcap
|
|
|
|
QT video capture tool.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n v4l-utils-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 06:01:14 +01:00
|
|
|
%meson
|
2024-01-06 06:01:11 +01:00
|
|
|
|
2024-01-06 06:01:14 +01:00
|
|
|
%meson_build
|
2024-01-06 06:01:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 06:01:14 +01:00
|
|
|
%meson_install
|
2024-01-06 06:01:11 +01:00
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
%find_lang %{name} --all-name
|
|
|
|
|
2024-01-06 06:01:14 +01:00
|
|
|
# Conflicting with glibc
|
|
|
|
rm -f %{buildroot}%{_libdir}/gconv/gconv-modules
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
%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
|
|
|
|
|
2024-01-06 06:01:14 +01:00
|
|
|
%posttrans
|
|
|
|
# regenerate iconv cache
|
|
|
|
iconvconfig
|
|
|
|
:
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
%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.*
|
2024-01-06 06:01:13 +01:00
|
|
|
%{_libdir}/libv4l2tracer.so
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_libdir}/libdvbv5.so.*
|
|
|
|
%dir %{_libdir}/libv4l
|
|
|
|
%dir %{_libdir}/libv4l/plugins
|
|
|
|
%{_libdir}/libv4l/plugins/libv4l-mplane.so
|
|
|
|
%{_libdir}/libv4l/ov511-decomp
|
|
|
|
%{_libdir}/libv4l/ov518-decomp
|
|
|
|
%{_libdir}/libv4l/v4l1compat.so
|
|
|
|
%{_libdir}/libv4l/v4l2convert.so
|
2024-01-06 06:01:14 +01:00
|
|
|
%{_libdir}/gconv/ARIB-STD-B24.so
|
|
|
|
%{_libdir}/gconv/EN300-468-TAB00.so
|
2024-01-06 06:01:11 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
2024-01-06 06:01:11 +01:00
|
|
|
%dir %{_includedir}/libdvbv5
|
|
|
|
%{_includedir}/libdvbv5/*.h
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_libdir}/libv4l1.so
|
|
|
|
%{_libdir}/libv4l2.so
|
|
|
|
%{_libdir}/libv4lconvert.so
|
|
|
|
%{_libdir}/libdvbv5.so
|
|
|
|
%{_libdir}/libv4l2rds.so
|
|
|
|
%{_libdir}/pkgconfig/libv4l1.pc
|
|
|
|
%{_libdir}/pkgconfig/libv4l2.pc
|
|
|
|
%{_libdir}/pkgconfig/libv4lconvert.pc
|
|
|
|
%{_libdir}/pkgconfig/libdvbv5.pc
|
|
|
|
%{_libdir}/pkgconfig/libv4l2rds.pc
|
2024-01-06 06:01:14 +01:00
|
|
|
%dir %{_docdir}/v4l-utils
|
|
|
|
%{_docdir}/v4l-utils/*
|
2024-01-06 06:01:11 +01:00
|
|
|
%doc README.lib-multi-threading TODO ChangeLog
|
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
%files -n v4l-utils -f %{name}.lang
|
2024-01-06 06:01:11 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/rc_keymaps
|
|
|
|
%config(noreplace) %{_sysconfdir}/rc_maps.cfg
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_bindir}/cec-compliance
|
|
|
|
%{_bindir}/cec-ctl
|
|
|
|
%{_bindir}/cec-follower
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_bindir}/cx18-ctl
|
|
|
|
%{_bindir}/dvb-fe-tool
|
|
|
|
%{_bindir}/dvb-format-convert
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_bindir}/dvbv5-daemon
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_bindir}/dvbv5-scan
|
|
|
|
%{_bindir}/dvbv5-zap
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_bindir}/ir-ctl
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_bindir}/ir-keytable
|
|
|
|
%{_bindir}/ivtv-ctl
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_bindir}/media-ctl
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_bindir}/v4l2-ctl
|
|
|
|
%{_bindir}/v4l2-sysfs-path
|
2024-01-06 06:01:13 +01:00
|
|
|
%{_bindir}/v4l2-tracer
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_udevrulesdir}/70-infrared.rules
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_prefix}/lib/udev/rc_keymaps/*
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_mandir}/man1/cec-compliance.1*
|
|
|
|
%{_mandir}/man1/cec-ctl.1*
|
|
|
|
%{_mandir}/man1/cec-follower.1*
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_mandir}/man1/dvb-fe-tool.1*
|
|
|
|
%{_mandir}/man1/dvb-format-convert.1*
|
|
|
|
%{_mandir}/man1/dvbv5-scan.1*
|
|
|
|
%{_mandir}/man1/dvbv5-zap.1*
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_mandir}/man1/ir-ctl.1*
|
2024-01-06 06:01:11 +01:00
|
|
|
%{_mandir}/man1/ir-keytable.1*
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_mandir}/man1/v4l2-compliance.1*
|
|
|
|
%{_mandir}/man1/v4l2-ctl.1*
|
2024-01-06 06:01:13 +01:00
|
|
|
%{_mandir}/man1/v4l2-tracer.1*
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_mandir}/man5/rc_keymap.5*
|
2024-01-06 06:01:11 +01:00
|
|
|
|
|
|
|
%files -n v4l-dev-tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/decode_tm6000
|
|
|
|
%{_bindir}/v4l2-compliance
|
|
|
|
%{_sbindir}/v4l2-dbg
|
|
|
|
%{_bindir}/rds-ctl
|
|
|
|
|
|
|
|
%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
|
2024-01-06 06:01:12 +01:00
|
|
|
%{_mandir}/man1/qv4l2.1*
|
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
%ifnarch arm
|
2024-01-06 06:01:12 +01:00
|
|
|
%files -n qvidcap
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/qvidcap
|
|
|
|
%{_datadir}/applications/qvidcap.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/qvidcap.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/qvidcap.svg
|
|
|
|
%{_mandir}/man1/qvidcap.1*
|
2024-01-06 06:01:12 +01:00
|
|
|
%endif
|
2024-01-06 06:01:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-07-25 21:06:47 +02:00
|
|
|
* Thu Jul 25 2024 Automatic Build System <autodist@openmamba.org> 1.28.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-22 10:37:43 +02:00
|
|
|
* Sun Jul 21 2024 Automatic Build System <autodist@openmamba.org> 1.28.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:01:14 +01:00
|
|
|
* Wed Dec 13 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.1-2mamba
|
|
|
|
- bump release to ensure updating from a previous build
|
|
|
|
|
|
|
|
* Wed Dec 13 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.1-1mamba
|
|
|
|
- update to 1.26.1
|
|
|
|
|
|
|
|
* Wed Dec 13 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.0-2mamba
|
|
|
|
- remove %_libdir/gconv-modules conflicting with glibc; run iconvconfig on install
|
|
|
|
|
2024-01-06 06:01:14 +01:00
|
|
|
* Fri Dec 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.0-1mamba
|
|
|
|
- update to 1.26.0
|
|
|
|
|
2024-01-06 06:01:13 +01:00
|
|
|
* Mon Mar 06 2023 Automatic Build System <autodist@mambasoft.it> 1.24.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
* Mon Oct 25 2021 Automatic Build System <autodist@mambasoft.it> 1.22.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
* Fri Dec 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.0-1mamba
|
|
|
|
- update to 1.20.0
|
|
|
|
|
2024-01-06 06:01:12 +01:00
|
|
|
* Mon Jun 01 2015 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
* Sat Dec 20 2014 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
* Thu Oct 16 2014 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:01:11 +01:00
|
|
|
* 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
|