public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/localsearch] rawhide: Allow for disabling libmediainfo
Date: Thu, 09 Jul 2026 16:55:43 GMT	[thread overview]
Message-ID: <178361614355.1.7384513993469723645.rpms-localsearch-03e89adf305c@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-09 16:55 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=178361614355.1.7384513993469723645.rpms-localsearch-03e89adf305c@fedoraproject.org \
    --to=yselkowi@redhat.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