public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/camorama] rawhide: camorama.spec: update it to build version 0.30.0
@ 2026-09-26 20:22 Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2026-09-26 20:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/camorama
            Branch : rawhide
            Commit : 7a19ea90f9438bad3da4267f84c0bc04e77ea033
            Author : Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
            Date   : 2026-09-26T22:21:02+02:00
            Stats  : +35/-19 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/camorama/c/7a19ea90f9438bad3da4267f84c0bc04e77ea033?branch=rawhide

            Log:
            camorama.spec: update it to build version 0.30.0

Several changes since version 0.21.2:

        * Convert the build system to Meson
        * Port to GTK 4, setting as default, keeping GTK 3 with
          identical (as much as possible) layout
        * Rework effects, preferences and camera control widgets
        * Prevent screen blanking during capture
        * Move resolution and frame rate selection to the lower bar
        * Capture frames in backtround to speedup UI
        * Add optional PulseAudio capture to default playback
        * Add support for libcamera (optional)
        * Improved internal decoders, adding support for more formats
        * Add internal decoder for Bayer (code from libv4l2)
        * Add FFmpeg decoding for MJPEG, JPEG and H.264
        * With V4L2, libv4l2 is now optional and diabled by default
        * Added support to decode most of vivid formats
        * Improve format selection, frame rate handling and V4L2 controls
        * Fix crashes with atomisp2 cameras and open camera control windows
        * Validate raw frame lengths, strides, planes and output sizes
        * Fix several issues on USERPTR allocation logic
        * Fix some issues at the timestamp watermark
        * Apply several fixes to avoid out-of-bound access
        * Resolution changes don't rescale the window size anymore
        * Add unit tests to test some internal components, in particular
          image conversion and fourcc support
        * Update documentation and translations

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

---
diff --git a/.gitignore b/.gitignore
index 1e77520..560e55a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ camorama-0.19.tar.bz2
 /camorama-0.21.tar.gz
 /camorama-0.21.1.tar.gz
 /camorama-0.21.2.tar.gz
+/camorama-0.30.0.tar.xz

diff --git a/camorama.spec b/camorama.spec
index 02f3a71..a57af66 100644
--- a/camorama.spec
+++ b/camorama.spec
@@ -1,15 +1,30 @@
 Name:           camorama
-Version:        0.21.2
-Release:        14%{?dist}
+Version:        0.30.0
+Release:        1%{?dist}
 Summary:        Gnome webcam viewer
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
 License:        GPL-2.0-or-later
-URL:            https://github.com/alessio/camorama
-Source0:        https://linuxtv.org/downloads/camorama/camorama-%{version}.tar.gz
-Patch0:		fix_crash_on_device_change.patch
-BuildRequires:  gcc desktop-file-utils libappstream-glib
-BuildRequires:  gettext-devel libv4l-devel gtk3-devel cairo-devel
-BuildRequires:  gdk-pixbuf2-devel gnome-common make
+URL:            https://github.com/mchehab/camorama
+Source0:        https://linuxtv.org/downloads/camorama/camorama-%{version}.tar.xz
+BuildRequires:  meson >= 0.60
+BuildRequires:  ninja-build
+BuildRequires:  gcc
+BuildRequires:  g++
+BuildRequires:  desktop-file-utils
+BuildRequires:  libappstream-glib
+BuildRequires:  gettext-devel
+BuildRequires:  gtk4-devel
+BuildRequires:  cairo-devel
+BuildRequires:  libv4l-devel
+BuildRequires:  libcamera-devel
+BuildRequires:  pulseaudio-libs-devel
+BuildRequires:  alsa-lib-devel
+BuildRequires:  gdk-pixbuf2-devel
+BuildRequires:  libavcodec-free-devel
+BuildRequires:  libavutil-free-devel
+BuildRequires:  libswscale-free-devel
+BuildRequires:  ffmpeg-free
+BuildRequires:  gnome-common
 Requires:       hicolor-icon-theme
 
 %description
@@ -18,37 +33,37 @@ A simple Gnome webcam viewer, with the ability to apply some video effects.
 
 %prep
 %autosetup -p1
+%meson
 
 %build
-./autogen.sh
-%configure --prefix /usr
-%make_build
-
+%meson_build
 
 %install
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-%make_install
-%find_lang %{name}
+%meson_install
 
-# below is the desktop file and icon stuff.
-desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{name}.desktop
+# Meson already installs the desktop file and icons in their final locations.
 appstream-util validate-relax --nonet \
   $RPM_BUILD_ROOT%{_metainfodir}/%{name}.appdata.xml
 
 
-%files -f %{name}.lang
+%files
 %doc AUTHORS ChangeLog README.md THANKS TODO
 %license COPYING
 %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_datadir}/glib-2.0/schemas/*
+%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
 %{_metainfodir}/%{name}.appdata.xml
 %{_datadir}/applications/camorama.desktop
 %{_datadir}/icons/hicolor/*x*/devices/%{name}.png
+%{_datadir}/pixmaps/camorama-*.png
 %{_mandir}/man1/%{name}.1*
 
 
 %changelog
+* Sat Sep 26 2026 Mauro Carvalho Chehab <mchehab@kernel.org> - 0.30.1-1
+- Bump to version 0.30.1: gtk4, libcamera, audio, better decoders
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 33e99e9..f69224a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (camorama-0.21.2.tar.gz) = 905fd9c061b5dbcbeaddfcd6d7af5b5c368accd2ab401dcf34a63f1e9bca47aa785eeb546bd4b205b3204ac552df5a55c852707830c61483ab7cf01444c6fc6d
+SHA512 (camorama-0.30.0.tar.xz) = 549587ca1826470d9741af5ca0fe98f8367d9a2fefdae717e36890d6c3f7b512c0e2064f3b69982186bc9c97d27bb32d8c06b0e3f54bfe78460488b0ab1ba88f

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

only message in thread, other threads:[~2026-09-26 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 20:22 [rpms/camorama] rawhide: camorama.spec: update it to build version 0.30.0 Mauro Carvalho Chehab

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