public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libheif] f44: split the FFmpeg plugin into a subpackage (resolves rhbz#2532713)
@ 2026-09-18 21:06 Dominik 'Rathann' Mierzejewski
0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-09-18 21:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libheif
Branch : f44
Commit : f9d63d3efc4dfcc28e68430cf7e9c0fed1b81a7d
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2026-09-15T17:07:21+02:00
Stats : +18/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libheif/c/f9d63d3efc4dfcc28e68430cf7e9c0fed1b81a7d?branch=f44
Log:
split the FFmpeg plugin into a subpackage (resolves rhbz#2532713)
---
diff --git a/libheif.spec b/libheif.spec
index 5d9104f..15d4866 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -32,9 +32,6 @@ BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: pkgconfig(aom)
BuildRequires: pkgconfig(dav1d)
-%if !%{with bootstrap}
-BuildRequires: pkgconfig(libavcodec)
-%endif
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libopenjp2)
@@ -57,6 +54,7 @@ BuildRequires: pkgconfig(SvtAv1Enc)
%endif
Obsoletes: heif-pixbuf-loader < %{version}-%{release}
+Recommends: %{name}-ffmpeg%{_isa}
%description
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format)
@@ -70,9 +68,6 @@ file format decoder and encoder.
%{_libdir}/%{name}/%{name}-aomdec.so
%{_libdir}/%{name}/%{name}-aomenc.so
%{_libdir}/%{name}/%{name}-dav1d.so
-%if !%{with bootstrap}
-%{_libdir}/%{name}/%{name}-ffmpegdec.so
-%endif
%{_libdir}/%{name}/%{name}-j2kdec.so
%{_libdir}/%{name}/%{name}-j2kenc.so
%{_libdir}/%{name}/%{name}-jpegdec.so
@@ -86,6 +81,23 @@ file format decoder and encoder.
# ----------------------------------------------------------------------
+%if !%{with bootstrap}
+%package ffmpeg
+Summary: FFmpeg plugin that enables hardware accelerated decoding of HEIF files
+License: MIT
+BuildRequires: pkgconfig(libavcodec)
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description ffmpeg
+The FFMPEG decoding plugin is an alternative decoder for all HEIF codecs and
+can make use of hardware decoders.
+
+%files ffmpeg
+%{_libdir}/%{name}/%{name}-ffmpegdec.so
+%endif
+
+# ----------------------------------------------------------------------
+
%package tools
Summary: Tools for manipulating HEIF files
License: MIT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-18 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 21:06 [rpms/libheif] f44: split the FFmpeg plugin into a subpackage (resolves rhbz#2532713) Dominik 'Rathann' Mierzejewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox