public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcamera] rawhide: Disable RPi5 support on RHEL
@ 2026-11-19 17:16 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-19 17:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libcamera
Branch : rawhide
Commit : 3350d6929083398f0bbfd0aa81aa9a1b4e7ed10b
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-11-18T22:12:37-05:00
Stats  : +49/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libcamera/c/3350d6929083398f0bbfd0aa81aa9a1b4e7ed10b?branch=rawhide

Log:
Disable RPi5 support on RHEL

---
diff --git a/0001-optional-rpi-pisp.patch b/0001-optional-rpi-pisp.patch
new file mode 100644
index 0000000..3564a84
--- /dev/null
+++ b/0001-optional-rpi-pisp.patch
@@ -0,0 +1,38 @@
+diff --git a/src/ipa/rpi/pisp/meson.build b/src/ipa/rpi/pisp/meson.build
+index 878e349..ec1f534 100644
+--- a/src/ipa/rpi/pisp/meson.build
++++ b/src/ipa/rpi/pisp/meson.build
+@@ -1,5 +1,9 @@
+ # SPDX-License-Identifier: CC0-1.0
+ 
++if not libpisp_dep.found()
++    subdir_done()
++endif
++
+ ipa_name = 'ipa_rpi_pisp'
+ 
+ pisp_ipa_deps = [
+diff --git a/src/libcamera/pipeline/rpi/pisp/meson.build b/src/libcamera/pipeline/rpi/pisp/meson.build
+index 178df94..3805d61 100644
+--- a/src/libcamera/pipeline/rpi/pisp/meson.build
++++ b/src/libcamera/pipeline/rpi/pisp/meson.build
+@@ -1,11 +1,18 @@
+ # SPDX-License-Identifier: CC0-1.0
+ 
++libpisp_dep = dependency('libpisp',
++                         fallback : ['libpisp', 'libpisp_dep'],
++                         required : not get_option('pipelines').contains('auto'))
++
++if not libpisp_dep.found()
++    subdir_done()
++endif
++
+ libcamera_internal_sources += files([
+     'pisp.cpp',
+ ])
+ 
+ librt = cc.find_library('rt', required : true)
+-libpisp_dep = dependency('libpisp', fallback : ['libpisp', 'libpisp_dep'])
+ 
+ libcamera_deps += [libpisp_dep, librt]
+ 

diff --git a/libcamera.spec b/libcamera.spec
index 1540849..ec7a8fc 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -1,6 +1,10 @@
+%ifarch %{arm64}
+%bcond pisp %{undefined rhel}
+%endif
+
 Name:    libcamera
 Version: 0.8.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: A library to support complex camera ISPs
 # see .reuse/dep5 and COPYING for details
 License: LGPL-2.1-or-later
@@ -11,6 +15,8 @@ Source1: qcam.desktop
 Source2: qcam.metainfo.xml
 Source3: 70-libcamera.rules
 
+Patch0:  0001-optional-rpi-pisp.patch
+
 # libcamera does not currently build on these architectures
 ExcludeArch: s390x ppc64le
 
@@ -44,7 +50,7 @@ BuildRequires: python3-ply
 BuildRequires: python3-pyyaml
 BuildRequires: SDL2-devel
 BuildRequires: systemd-devel
-%ifarch %{arm64}
+%if %{with pisp}
 BuildRequires: libpisp-devel
 %endif
 # libcamera is not really usable without its IPA plugins
@@ -196,6 +202,9 @@ install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/
 %{python3_sitearch}/*
 
 %changelog
+* Thu Nov 19 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8.0-3
+- Disable RPi5 support on RHEL
+
 * Tue Nov 17 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 0.8.0-2
 - Enable RPi5 ISP support
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-19 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 17:16 [rpms/libcamera] rawhide: Disable RPi5 support on RHEL Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox