public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/libheif] rawhide: split the FFmpeg plugin into a subpackage (resolves rhbz#2532713)
Date: Tue, 15 Sep 2026 18:56:55 GMT [thread overview]
Message-ID: <178949861506.1.3986799566448522011.rpms-libheif-f9d63d3efc4d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libheif
Branch : rawhide
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=rawhide
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
reply other threads:[~2026-09-15 18:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178949861506.1.3986799566448522011.rpms-libheif-f9d63d3efc4d@fedoraproject.org \
--to=dominik@greysector.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox