2024-01-06 03:56:47 +01:00
|
|
|
Name: libcamera
|
2024-02-01 09:32:22 +01:00
|
|
|
Version: 0.2.0
|
2024-01-06 03:56:47 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:56:47 +01:00
|
|
|
Summary: A complex camera support library for Linux, Android, and ChromeOS
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://libcamera.org/
|
|
|
|
Source: https://git.libcamera.org/libcamera/libcamera.git/v%{version}/libcamera-%{version}.tar.bz2
|
2024-01-06 03:56:47 +01:00
|
|
|
Patch0: libcamera-0.0.5-python-sphinx-7.0.1.patch
|
2024-01-06 03:56:47 +01:00
|
|
|
License: GPL, LGPL, BSD, MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libSDL2-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libdw-devel
|
|
|
|
BuildRequires: libevent-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgmock-devel
|
|
|
|
BuildRequires: libgnutls-devel
|
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblttng-ust-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
BuildRequires: libyaml-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 03:56:47 +01:00
|
|
|
BuildRequires: libgmock-devel >= 1.14.0-1mamba
|
2024-01-06 03:56:47 +01:00
|
|
|
BuildRequires: meson
|
|
|
|
|
|
|
|
%description
|
|
|
|
A complex camera support library for Linux, Android, and ChromeOS.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-02-01 09:32:22 +01:00
|
|
|
#%patch 0 -p1 -b .python-sphinx-7.0.1
|
2024-01-06 03:56:47 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
2024-01-06 03:56:47 +01:00
|
|
|
|
2024-01-06 03:56:47 +01:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/gstreamer-1.0/libgstlibcamera.so
|
|
|
|
%{_libdir}/libcamera-base.so.*
|
|
|
|
%{_libdir}/libcamera.so.*
|
|
|
|
%ifnarch arm aarch64
|
|
|
|
%{_libdir}/libcamera/ipa_ipu3.so*
|
|
|
|
%{_libexecdir}/libcamera/ipu3_ipa_proxy
|
|
|
|
%{_datadir}/libcamera/ipa/ipu3/uncalibrated.yaml
|
|
|
|
%endif
|
|
|
|
%ifarch arm aarch64
|
|
|
|
%{_libdir}/libcamera/ipa_rkisp1.so*
|
2024-01-08 00:58:21 +01:00
|
|
|
%{_libdir}/libcamera/ipa_rpi*.so*
|
2024-01-06 03:56:47 +01:00
|
|
|
%{_libexecdir}/libcamera/raspberrypi_ipa_proxy
|
|
|
|
%{_libexecdir}/libcamera/rkisp1_ipa_proxy
|
2024-01-08 00:58:21 +01:00
|
|
|
%dir %{_datadir}/libcamera/ipa/rpi
|
|
|
|
%{_datadir}/libcamera/ipa/rpi/*
|
2024-01-06 03:56:47 +01:00
|
|
|
%dir %{_datadir}/libcamera/ipa/rkisp1
|
|
|
|
%{_datadir}/libcamera/ipa/rkisp1/*
|
2024-01-08 00:58:21 +01:00
|
|
|
%{_datadir}/libcamera/pipeline/rpi/vc4/example.yaml
|
2024-01-06 03:56:47 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libcamera
|
|
|
|
%{_includedir}/libcamera/*
|
|
|
|
%{_libdir}/libcamera-base.so
|
|
|
|
%{_libdir}/libcamera.so
|
|
|
|
%{_libdir}/pkgconfig/libcamera-base.pc
|
|
|
|
%{_libdir}/pkgconfig/libcamera.pc
|
|
|
|
%dir %{_docdir}/libcamera-%{version}
|
|
|
|
%{_docdir}/libcamera-%{version}/*
|
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/cam
|
|
|
|
%{_bindir}/lc-compliance
|
|
|
|
%{_bindir}/qcam
|
|
|
|
|
|
|
|
%changelog
|
2024-02-01 09:32:22 +01:00
|
|
|
* Mon Jan 15 2024 Automatic Build System <autodist@openmamba.org> 0.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-08 00:58:21 +01:00
|
|
|
* Fri Dec 15 2023 Automatic Build System <autodist@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:56:47 +01:00
|
|
|
* Sun Aug 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.5-1mamba
|
|
|
|
- update to 0.0.5
|
|
|
|
- rebuilt by autoport with build requirements: libgmock-devel>=:1.14.0-1mamba
|
|
|
|
|
2024-01-06 03:56:47 +01:00
|
|
|
* Sun Mar 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.4-2mamba
|
|
|
|
- libcamera-devel: fix docdir multiple inclusion causing installation error
|
|
|
|
|
|
|
|
* Sun Mar 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.4-1mamba
|
|
|
|
- package created using the webbuild interface
|