118 Star 0 Fork 11

src-openEuler/v4l-utils
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
v4l-utils.spec 6.30 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-11-20 13:17 +08:00 . update file list
%bcond_with gconv
Name: v4l-utils
Version: 1.32.0
Release: 2
Summary: Linux utilities and libraries to handle media devices
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND (GPL-2.0-only OR BSD-3-Clause) AND Public Domain AND HPND-sell-variant
URL: https://www.linuxtv.org/downloads/v4l-utils/
Source0: https://www.linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.xz
BuildRequires: meson >= 0.60
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(json-c) >= 0.15
BuildRequires: pkgconfig(libbpf) >= 0.7
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xmlrpc)
BuildRequires: elfutils-libelf-devel
BuildRequires: clang
BuildRequires: doxygen
BuildRequires: gettext
BuildRequires: desktop-file-utils
Requires: systemd-udev
Requires: libv4l%{?_isa} = %{version}-%{release}
Provides: qv4l2 = %{version}-%{release} libdvbv5 = %{version}-%{release}
Obsoletes: qv4l2 < %{version}-%{release} libdvbv5 < %{version}-%{release}
%description
v4l-utils are a series of packages for handling media devices(TV devices,capture devices,
radio devices, remote controllers).It provides a series of libraries and utilities to be
used to control several aspect of the media boards.
%package devel-tools
Summary: Tools for v4l2 / DVB driver development
Requires: v4l-utils = %{version}-%{release}
%description devel-tools
Tools for v4l2 / DVB driver development.
%package -n libv4l
Summary: Collection of video4linux support libraries
URL: http://hansdegoede.livejournal.com/3636.html
%description -n 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) pixel-format
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
Summary: Development files for v4l-utils
URL: http://hansdegoede.livejournal.com/3636.html
Requires: %{name} = %{version}-%{release}
Provides: libv4l-devel = %{version}-%{release} libdvbv5-devel = %{version}-%{release}
Obsoletes: libv4l-devel < %{version}-%{release} libdvbv5-devel < %{version}-%{release}
%description devel
The devel package contains libraries and header files for developing applications that
use v4l-utils.
%package_help
%prep
%autosetup -p1
%build
%meson -Dbpf=auto -Ddoxygen-man=true -Ddoxygen-html=false \
%if %{with gconv}
-Dgconv=enabled
%else
-Dgconv=disabled
%endif
%{nil}
%meson_build
%install
%meson_install
# Driver removed from upstream
rm -f $RPM_BUILD_ROOT%{_bindir}/decode_tm6000
rm -f $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so}
%if %{with conv}
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.d
mv $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.d/libdvbv5.conf
%endif
%find_lang %{name}
%find_lang libdvbv5
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qv4l2.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qvidcap.desktop
%files -f %{name}.lang -f libdvbv5.lang
%doc README.md lib/libdvbv5/README
%dir %{_sysconfdir}/rc_keymaps
%config(noreplace) %{_sysconfdir}/rc_maps.cfg
%{_udevrulesdir}/70-infrared.rules
%{_udevrulesdir}/../rc_keymaps/*
%{_bindir}/cx18-ctl
%{_bindir}/cec*
%{_bindir}/dvb*
%{_bindir}/edid-decode
%{_bindir}/ir-ctl
%{_bindir}/ir-keytable
%{_bindir}/ivtv-ctl
%{_bindir}/media-ctl
%{_bindir}/rds-ctl
%{_bindir}/v4l2-ctl
%{_bindir}/v4l2-sysfs-path
%{_bindir}/v4l2-tracer
%{_bindir}/qv4l2
%{_bindir}/qvidcap
%{_datadir}/applications/qv4l2.desktop
%{_datadir}/applications/qvidcap.desktop
%{_datadir}/icons/hicolor/*/apps/qv4l2.*
%{_datadir}/icons/hicolor/*/apps/qvidcap.*
%{_libdir}/libdvbv5*.so.*
%if %{with gconv}
%{_libdir}/gconv/*.so
%{_libdir}/gconv/gconv-modules.d/libdvbv5.conf
%endif
%files -n libv4l
%doc ChangeLog README.libv4l TODO
%license COPYING.libv4l COPYING
%{_libdir}/libv4l
%{_libdir}/libv4l*.so.*
%files devel-tools
%doc README.md
%{_bindir}/cec-compliance
%{_bindir}/v4l2-compliance
%{_mandir}/man1/cec-compliance.1*
%{_mandir}/man1/v4l2-compliance.1*
%{_sbindir}/v4l2-dbg
%files devel
%doc README.lib-multi-threading
%{_includedir}/libv4l*.h
%{_libdir}/libv4l*.so
%{_libdir}/pkgconfig/libv4l*.pc
%{_includedir}/libdvbv5/*.h
%{_libdir}/libdvbv5*.so
%{_libdir}/pkgconfig/libdvbv5*.pc
%files help
%{_mandir}/man?/*
%changelog
* Thu Nov 20 2025 Funda Wang <fundawang@yeah.net> - 1.32.0-2
- update file list
* Sun Oct 19 2025 Funda Wang <fundawang@yeah.net> - 1.32.0-1
- update to 1.32.0
* Sun Sep 14 2025 Funda Wang <fundawang@yeah.net> - 1.30.1-1
- update to 1.30.1
- disable gconv module by default, as it requires private glibc interface
* Wed Aug 27 2025 yaoxin <1024769339@qq.com> - 1.28.1-4
- License compliance rectification
* Wed Mar 19 2025 Funda Wang <fundawang@yeah.net> - 1.28.1-3
- build with qt6
* Mon Jan 13 2025 wangkai <13474090681@163.com> - 1.28.1-2
- Open bpf_protocols file generation
* Thu Jan 09 2025 wangkai <13474090681@163.com> - 1.28.1-1
- Update to 1.28.1
* Thu Jul 13 2023 yaoxin <yao_xin001@hoperun.com> - 1.24.1-1
- Update to 1.24.1 for fix complication failed due to gcc update to 12.3.1
* Mon Aug 2 2021 Haiwei Li <lihaiwei8@huawei.com> - 1.14.2-6
- Fix complication failed due to gcc upgrade
* Wed Nov 13 2019 caomeng <caomeng5@huawei.com> - 1.14.2-5
- let libv4l1.so.0 in libv4l
* Mon Oct 28 2019 Lijin Yang <yanglijin@huawei.com> - 1.14.2-4
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/v4l-utils.git
git@gitee.com:src-openeuler/v4l-utils.git
src-openeuler
v4l-utils
v4l-utils
master

搜索帮助