public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/localsearch] rawhide: Allow for disabling libmediainfo
@ 2026-07-09 16:55 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-09 16:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/localsearch
            Branch : rawhide
            Commit : 03e89adf305c8343dd70eecc69bb8110b8dcf0ea
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-09T12:54:12-04:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/localsearch/c/03e89adf305c8343dd70eecc69bb8110b8dcf0ea?branch=rawhide

            Log:
            Allow for disabling libmediainfo

While certainly not as onerous a dependency as ffmpeg, it still needs to be
clarified if we want libmediainfo, and its dependencies libzen and tinyxml2,
in RHEL 11.

---
diff --git a/localsearch.spec b/localsearch.spec
index c1f8588..097f025 100644
--- a/localsearch.spec
+++ b/localsearch.spec
@@ -13,12 +13,14 @@
 %global with_enca 1
 %global with_ffmpeg 1
 %global with_libcue 1
+%global with_libmediainfo 1
 %global with_totem_pl_parser 1
 
 %if 0%{?rhel}
 %global with_enca 0
 %global with_ffmpeg 0
 %global with_libcue 0
+%global with_libmediainfo 0
 %if 0%{?rhel} >= 10
 %global with_totem_pl_parser 0
 %endif
@@ -73,7 +75,9 @@ BuildRequires:  pkgconfig(libexif)
 BuildRequires:  pkgconfig(libgsf-1)
 BuildRequires:  pkgconfig(libgxps)
 BuildRequires:  pkgconfig(libjpeg)
+%if 0%{?with_libmediainfo}
 BuildRequires:  pkgconfig(libmediainfo)
+%endif
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libseccomp)
 BuildRequires:  pkgconfig(libtiff-4)
@@ -123,6 +127,9 @@ This package contains various miners and metadata extractors for tinysparql.
 %if ! 0%{?with_ffmpeg}
   -Dlibav=disabled \
 %endif
+%if ! 0%{?with_libmediainfo}
+  -Dlibmediainfo=disabled \
+%endif
 %if ! 0%{?flatpak}
   -Dsystemd_user_services_dir=%{_userunitdir} \
 %endif

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

only message in thread, other threads:[~2026-07-09 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 16:55 [rpms/localsearch] rawhide: Allow for disabling libmediainfo Yaakov Selkowitz

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