diff --git a/_service b/_service
index 285bc2a..8712ddd 100644
--- a/_service
+++ b/_service
@@ -2,7 +2,7 @@
git
https://git.libcamera.org/libcamera/libcamera.git
- refs/tags/v0.2.0
+ refs/tags/v0.3.1
@PARENT_TAG@
v([0-9\.]*)
diff --git a/baselibs.conf b/baselibs.conf
index bc3c228..03c720c 100644
--- a/baselibs.conf
+++ b/baselibs.conf
@@ -1,2 +1,2 @@
-libcamera0_2
-libcamera-base0_2
+libcamera0_3
+libcamera-base0_3
diff --git a/libcamera-0.2.0.tar.xz b/libcamera-0.2.0.tar.xz
deleted file mode 100644
index 65b6724..0000000
--- a/libcamera-0.2.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c3e5c031a89a5cf8a0810e3fcdb6eb7066f23d73bd9181e56f141d59ffe0aab2
-size 1081292
diff --git a/libcamera-0.3.1.tar.xz b/libcamera-0.3.1.tar.xz
new file mode 100644
index 0000000..2044775
--- /dev/null
+++ b/libcamera-0.3.1.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc475ff2ca01fd7a6276fac67aecd13f999388e0d7292c18c326239a40c74f0a
+size 1148140
diff --git a/libcamera.changes b/libcamera.changes
index 40cf7fb..d5fd0bb 100644
--- a/libcamera.changes
+++ b/libcamera.changes
@@ -1,3 +1,21 @@
+-------------------------------------------------------------------
+Mon Aug 12 15:41:49 UTC 2024 - Jan Engelhardt
+
+- Update to release 0.3.1
+ * new Soft ISP feature and enablement in the simple-pipeline
+ handler for Qualcomm based devices supporting CamSS and the
+ inclusion of a new Pipeline handler to support the Mali-C55
+ ISP which now has open source kernel drivers available.
+ * The i.MX8MP ISP is now officially supported through the
+ existing RKISP1 pipeline handler, and the Simple Pipeline
+ handler now supports the MediaTek MT8365 platform.
+ * Three additional camera sensors, IMX283, IMX335, and IMX415
+ are also now supported.
+ * The IPU6 is now supported by the SoftISP and Simple Pipeline
+ handler and the Onsemi AR0144 is now supported by libipa. A
+ new control has been added to support setting and reading of
+ Gamma, and gamma control has been added to the RKISP1 IPA.
+
-------------------------------------------------------------------
Tue Mar 19 07:41:24 UTC 2024 - Richard Biener
diff --git a/libcamera.spec b/libcamera.spec
index 6a0bc91..d5cc3c2 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -16,10 +16,10 @@
#
-%define lname libcamera0_2
-%define lname_base libcamera-base0_2
+%define lname libcamera0_3
+%define lname_base libcamera-base0_3
Name: libcamera
-Version: 0.2.0
+Version: 0.3.1
Release: 0
Summary: A complex camera support library in C++
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -33,14 +33,14 @@ Source1: baselibs.conf
BuildRequires: boost-devel
BuildRequires: c++_compiler
%if 0%{?suse_version} <= 1500
-BuildRequires: gcc9
-BuildRequires: gcc9-c++
+BuildRequires: gcc11
+BuildRequires: gcc11-c++
%endif
BuildRequires: libQt5Core-devel
BuildRequires: libQt5Gui-devel
BuildRequires: libQt5Widgets-devel
BuildRequires: meson >= 0.56
-BuildRequires: pkgconfig
+BuildRequires: pkg-config
BuildRequires: python3-Jinja2
BuildRequires: python3-PyYAML
BuildRequires: python3-ply
@@ -53,6 +53,14 @@ BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(yaml-0.1)
+BuildRequires: pkgconfig(sdl2)
+BuildRequires: pkgconfig(Qt6Core)
+BuildRequires: pkgconfig(Qt6Gui)
+BuildRequires: pkgconfig(Qt6OpenGL)
+BuildRequires: pkgconfig(Qt6OpenGLWidgets)
+BuildRequires: pkgconfig(Qt6Widgets)
+BuildRequires: pkgconfig(python3)
+BuildRequires: pkgconfig(pybind11)
%description
libcamera is an experimental camera user-space API.
@@ -116,13 +124,20 @@ Group: Productivity/Multimedia/Other
libcamera is an experimental camera user-space API.
This is its integration plugin for gstreamer.
+%package -n python3-libcamera
+Summary: Python bindings for libcamera
+Group: Development/Languages/Python
+
+%description -n python3-libcamera
+Python bindings for libcamera.
+
%prep
%autosetup -p1
%build
%if 0%{?suse_version} <= 1500
-export CC=gcc-9
-export CXX=g++-9
+export CC=gcc-11
+export CXX=g++-11
%endif
%meson \
-Ddocumentation=disabled \
@@ -161,4 +176,7 @@ export CXX=g++-9
%files -n gstreamer-plugins-libcamera
%_libdir/gstreamer-1.0/
+%files -n python3-libcamera
+%python3_sitearch/*
+
%changelog