1
0
forked from pool/libcamera

36 Commits

Author SHA256 Message Date
7fa4ae390f Add unpackaged files 2026-01-14 20:58:17 +01:00
59532a365c Update to 0.6.0 with GPUISP 2026-01-14 20:49:34 +01:00
76de758078 Update to 0.6.0 with GPUISP 2026-01-14 20:44:19 +01:00
0aab2f393e Update to GPU-ISP 2025-10-31 22:58:47 +01:00
96c2436306 Update to GPU-ISP 2025-10-31 22:14:48 +01:00
1082b35005 Update to GPU-ISP 2025-10-31 21:25:02 +01:00
33a56e992a Update to GPU-ISP 2025-10-31 21:20:59 +01:00
8adce2359a Update to GPU-ISP 2025-10-31 21:20:20 +01:00
1dae4ed60d Update to GPU-ISP 2025-10-31 21:19:22 +01:00
fb1a9894eb Update to GPU-ISP 2025-10-31 21:04:02 +01:00
01a858bb14 Update to GPU-ISP 2025-10-31 20:57:34 +01:00
0880faa3fb Update to GPU-ISP 2025-10-31 20:56:23 +01:00
3379cacde9 Update to GPU-ISP 2025-10-31 20:52:30 +01:00
aefad565c6 Rules 2025-09-16 20:09:18 +02:00
fd5198a2b6 add 2025-09-16 15:52:27 +02:00
f47db589ac add 2025-09-16 15:52:00 +02:00
5344ac30fb Add 2025-09-16 13:33:40 +02:00
8e67cc2377 Add 2025-09-16 12:31:19 +02:00
bb6fe94e1e Add 2025-09-16 12:22:21 +02:00
e448df1d23 Add 2025-09-16 11:37:25 +02:00
3472954e30 Add 2025-09-16 11:24:40 +02:00
743671ac22 Add 2025-09-16 11:09:50 +02:00
b1226dc989 Add 2025-09-16 11:04:43 +02:00
99c5a4825a Add 2025-09-16 10:53:44 +02:00
489d3bc3c8 Add 2025-09-16 10:40:07 +02:00
7d1ef4101d Add 2025-09-16 10:38:43 +02:00
9939c832a6 Add 2025-09-16 10:33:39 +02:00
6a61e1b70a Add 2025-09-16 10:24:40 +02:00
a6f3d6c60b Add 2025-09-16 10:04:09 +02:00
325fbf1bf2 Add 2025-09-16 10:00:41 +02:00
f1d82dde24 Add bindir 2025-09-16 09:55:37 +02:00
05565bed7b Add 2025-09-16 09:50:30 +02:00
39fe66ebc6 Add 2025-09-16 09:42:39 +02:00
e7f46ebedb Add Mobile Patches 2025-09-15 21:48:22 +02:00
be36ffa5a5 Add Mobile Patches 2025-09-15 21:21:40 +02:00
5b68f7f119 Add Mobile Patches 2025-09-15 21:09:00 +02:00
6 changed files with 72 additions and 56 deletions

View File

@@ -1,9 +1,9 @@
<services>
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://git.libcamera.org/libcamera/libcamera.git</param>
<param name="revision">refs/tags/v0.5.2</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">https://gitlab.freedesktop.org/rmader/libcamera.git</param>
<param name="revision">postmarketos-gpuisp-2026-01-10</param>
<param name="versionformat">v0.6.0</param>
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
</service>
<service name="recompress" mode="manual">

Binary file not shown.

BIN
libcamera-0.6.0.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 14 19:42:13 UTC 2026 - Adrian Campos Garrido <adriancampos@teachelp.com>
- Update to 0.6.0 with GPUISP
-------------------------------------------------------------------
Tue Sep 9 12:42:46 UTC 2025 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package libcamera
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,20 @@
#
%define lname libcamera0_5
%define lname_base libcamera-base0_5
%define lname libcamera0_6
%define lname_base libcamera-base0_6
%if "@BUILD_FLAVOR@" != ""
%define extname -@BUILD_FLAVOR@
%else
%define extname %nil
%endif
# Signing breaks reproducible builds, see
# https://gitlab.freedesktop.org/camera/libcamera/-/issues/233
%bcond_with signed_ipa
Name: libcamera%extname
Version: 0.5.2
Version: 0.6.0
Release: 0
Summary: A complex camera support library in C++
License: CC-BY-SA-4.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -33,29 +38,34 @@ URL: https://libcamera.org/
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
Source: libcamera-%version.tar.xz
Source1: baselibs.conf
Patch0: reproducible.patch
BuildRequires: boost-devel
BuildRequires: c++_compiler
%if 0%{?suse_version} <= 1500
BuildRequires: gcc11
BuildRequires: gcc11-c++
%endif
BuildRequires: meson >= 0.56
BuildRequires: meson >= 1.0.1
BuildRequires: pkg-config
BuildRequires: python3-Jinja2
BuildRequires: python3-PyYAML
BuildRequires: python3-ply
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(libevent_pthreads)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(pybind11)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: pkgconfig(libpisp)
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libyuv)
BuildRequires: Mesa-libGLESv3-devel
%if %{with signed_ipa}
# OpenSSL used for signing, gnutls for runtime verification
BuildRequires: openssl
BuildRequires: pkgconfig(gnutls)
%endif
%ifarch aarch64 %arm
BuildRequires: pkgconfig(libpisp)
%endif
%if "@BUILD_FLAVOR@" != ""
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
@@ -108,24 +118,43 @@ libcamera is an experimental camera user-space API.
This subpackage contains the header files.
%package tools
Summary: Command-line utilities from libcamera
Group: Development/Tools/Other
%package ipa
Summary: Plugins for hardware specific image processing blocks
Group: System/Libraries
# Previously named libcamera-tools, although it provides none
Provides: libcamera-tools = %version-%release
Obsoletes: libcamera-tools < %version-%release
%description tools
%description ipa
libcamera is an experimental camera user-space API.
This package provides plugins for interfacing with various ISP
(Image Signal Processor) hardware blocks, as well as
calibration data for some camera sensors.
%package -n libcamera-cam
Summary: Command-line interfaces for libcamera
Group: Development/Tools/Other
# Heavy runtime deps (SDL, Qt6)
# Heavy runtime deps (SDL)
%description -n libcamera-cam
libcamera is an experimental camera user-space API.
"cam" is a command-line utility to interact with cameras. The initial state is
limited and only supports listing cameras in the system and selecting a camera
to interact with.
"cam" is a command-line utility to interact with cameras. It allows
to query and set image stream properties, and to capture the stream
to a file or show a live view.
%package -n libcamera-qcam
Summary: Qt interfaces for libcamera
Group: Development/Tools/Other
# Heavy runtime deps (Qt6)
%description -n libcamera-qcam
libcamera is an experimental camera user-space API.
"qcam" is a Qt interface to interact with cameras. It allows to
query and set image stream properties, and to capture the stream
to a file or show a live view.
%package -n gstreamer-plugins-libcamera
Summary: GStreamer plugins from libcamera
@@ -146,10 +175,6 @@ Python bindings for libcamera.
%autosetup -p1 -n libcamera-%version
%build
%if 0%{?suse_version} <= 1500
export CC=gcc-11
export CXX=g++-11
%endif
%meson \
-Ddocumentation=disabled \
%if "@BUILD_FLAVOR@" != ""
@@ -157,9 +182,10 @@ export CXX=g++-11
%else
-Dqcam=disabled \
%endif
-Dv4l2=false -Dtracing=disabled \
-Dpipelines=ipu3,rkisp1,simple,uvcvideo,vimc \
-Dlc-compliance=disabled
-Dv4l2=enabled -Dtracing=disabled \
-Dlc-compliance=enabled -Dudev=enabled \
-Dpipelines=all -Dipas=ipu3,mali-c55,rkisp1,rpi/pisp,rpi/vc4,simple,vimc
%meson_build
%install
@@ -168,6 +194,7 @@ cd "%buildroot"
%if "@BUILD_FLAVOR@" != ""
find . ! -type d ! -path ./usr/bin/cam ! -path ./usr/bin/qcam -print -delete
%else
# Delete limited variant without SDL
rm -v usr/bin/cam
%endif
@@ -188,10 +215,12 @@ rm -v usr/bin/cam
%_libdir/libcamera.so
%_libdir/pkgconfig/*.pc
%files tools
%files ipa
%_libexecdir/libcamera/
%_libdir/libcamera/
%_datadir/libcamera/
%_bindir/lc-compliance
%_bindir/libcamerify
%files -n gstreamer-plugins-libcamera
%_libdir/gstreamer-1.0/
@@ -203,8 +232,11 @@ rm -v usr/bin/cam
%files -n libcamera-cam
%_bindir/cam
%files -n libcamera-qcam
%_bindir/qcam
%endif
%changelog

View File

@@ -1,21 +0,0 @@
Date: 2024-09-21
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Skip module signing for https://bugzilla.opensuse.org/show_bug.cgi?id=1217690
reproducible builds, until we can get a better upstream solution
such as
https://lists.libcamera.org/pipermail/libcamera-devel/2024-January/040244.html
diff --git a/src/meson.build b/src/meson.build
index 8eb8f05..41e556d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -16,7 +16,7 @@ summary({
# Module Signing
openssl = find_program('openssl', required : false)
-if openssl.found()
+if false
ipa_priv_key = custom_target('ipa-priv-key',
output : ['ipa-priv-key.pem'],
command : [gen_ipa_priv_key, '@OUTPUT@'])