public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Caronni <negativo17@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libheif] rawhide: Enable standalone plugins including FFMpeg
Date: Sun, 09 Aug 2026 20:54:09 GMT	[thread overview]
Message-ID: <178630884998.1.2720167640238217038.rpms-libheif-d8c27f7e0559@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libheif
Branch : rawhide
Commit : d8c27f7e0559f9a8d19b070985bdcab2518ca257
Author : Simone Caronni <negativo17@gmail.com>
Date   : 2026-08-09T22:53:58+02:00
Stats  : +30/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libheif/c/d8c27f7e0559f9a8d19b070985bdcab2518ca257?branch=rawhide

Log:
Enable standalone plugins including FFMpeg

---
diff --git a/libheif.spec b/libheif.spec
index a18a918..4e141f3 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -32,6 +32,7 @@ BuildRequires:  gcc-c++
 BuildRequires:  ninja-build
 BuildRequires:  pkgconfig(aom)
 BuildRequires:  pkgconfig(dav1d)
+BuildRequires:  pkgconfig(libavcodec)
 BuildRequires:  pkgconfig(libbrotlidec)
 BuildRequires:  pkgconfig(libjpeg)
 BuildRequires:  pkgconfig(libopenjp2)
@@ -64,6 +65,17 @@ file format decoder and encoder.
 %doc README.md
 %{_libdir}/%{name}.so.%{somajor}{,.*}
 %dir %{_libdir}/%{name}
+%{_libdir}/%{name}/%{name}-aomdec.so
+%{_libdir}/%{name}/%{name}-aomenc.so
+%{_libdir}/%{name}/%{name}-dav1d.so
+%{_libdir}/%{name}/%{name}-ffmpegdec.so
+%{_libdir}/%{name}/%{name}-j2kdec.so
+%{_libdir}/%{name}/%{name}-j2kenc.so
+%{_libdir}/%{name}/%{name}-jpegdec.so
+%{_libdir}/%{name}/%{name}-jpegenc.so
+%{_libdir}/%{name}/%{name}-jphenc.so
+%{_libdir}/%{name}/%{name}-rav1e.so
+%{_libdir}/%{name}/%{name}-svtenc.so
 
 # ----------------------------------------------------------------------
 
@@ -108,31 +120,41 @@ rm -rf third-party/
 %build
 %cmake \
  -GNinja \
+ -DBUILD_SHARED_LIBS=ON \
  -DBUILD_TESTING=ON \
  -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
+ -DENABLE_PLUGIN_LOADING=ON \
  -DPLUGIN_DIRECTORY=%{_libdir}/%{name} \
- -DWITH_AOM=ON \
- -DWITH_AOM_PLUGIN=OFF \
+ -DWITH_AOM_DECODER=ON \
+ -DWITH_AOM_DECODER_PLUGIN=ON \
+ -DWITH_AOM_ENCODER=ON \
+ -DWITH_AOM_ENCODER_PLUGIN=ON \
  -DWITH_DAV1D=ON \
- -DWITH_DAV1D_PLUGIN=OFF \
+ -DWITH_DAV1D_PLUGIN=ON \
+ -DWITH_EXAMPLES=ON \
+ -DWITH_FFMPEG_DECODER=ON \
+ -DWITH_FFMPEG_DECODER_PLUGIN=ON \
  -DWITH_JPEG_DECODER=ON \
+ -DWITH_JPEG_DECODER_PLUGIN=ON \
  -DWITH_JPEG_ENCODER=ON \
+ -DWITH_JPEG_ENCODER_PLUGIN=ON \
+ -DWITH_LIBSHARPYUV=ON \
  -DWITH_OpenJPEG_DECODER=ON \
- -DWITH_OpenJPEG_DECODER_PLUGIN=OFF \
+ -DWITH_OpenJPEG_DECODER_PLUGIN=ON \
  -DWITH_OpenJPEG_ENCODER=ON \
- -DWITH_OpenJPEG_ENCODER_PLUGIN=OFF \
+ -DWITH_OpenJPEG_ENCODER_PLUGIN=ON \
  -DWITH_OPENJPH_DECODER=ON \
  -DWITH_OPENJPH_ENCODER=ON \
- -DWITH_OPENJPH_ENCODER_PLUGIN=OFF \
+ -DWITH_OPENJPH_ENCODER_PLUGIN=ON \
 %ifnarch %{ix86}
  -DWITH_OpenH264_DECODER=ON \
  -DWITH_OpenH264_ENCODER=ON \
 %endif
 %if ! (0%{?rhel} && 0%{?rhel} <= 9)
  -DWITH_RAV1E=ON \
- -DWITH_RAV1E_PLUGIN=OFF \
+ -DWITH_RAV1E_PLUGIN=ON \
  -DWITH_SvtEnc=ON \
- -DWITH_SvtEnc_PLUGIN=OFF \
+ -DWITH_SvtEnc_PLUGIN=ON \
 %endif
 %if %{with bootstrap}
  -DWITH_EXAMPLE_HEIF_VIEW=OFF \

                 reply	other threads:[~2026-08-09 20:54 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=178630884998.1.2720167640238217038.rpms-libheif-d8c27f7e0559@fedoraproject.org \
    --to=negativo17@gmail.com \
    --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