public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zathura] rawhide: Disable synctex in flatpak builds
@ 2026-06-09 20:58 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-09 20:58 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/zathura
            Branch : rawhide
            Commit : 57dd0f8b59c3879148672146d86e51bfd2c870cd
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-09T15:51:47-04:00
            Stats  : +7/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/zathura/c/57dd0f8b59c3879148672146d86e51bfd2c870cd?branch=rawhide

            Log:
            Disable synctex in flatpak builds

This matches the Flathub build, as synctex support doesn't seem to make
sense between flatpak apps and a non-flatpak TeX.

---
diff --git a/zathura.spec b/zathura.spec
index 75099e9..7c3e622 100644
--- a/zathura.spec
+++ b/zathura.spec
@@ -1,3 +1,5 @@
+%bcond synctex %{undefined flatpak}
+
 Name:              zathura
 Version:           2026.05.20
 Release:           1%{?dist}
@@ -34,7 +36,9 @@ BuildRequires:     meson >= 1.5
 # Needed to build man pages (/doc subdir)
 BuildRequires:     python3-sphinx
 BuildRequires:     sqlite-devel >= 3.6.23
+%if %{with synctex}
 BuildRequires:     texlive-lib-devel
+%endif
 BuildRequires:     zsh
 # Tests
 BuildRequires:     pkgconfig(check) >= 0.11
@@ -117,7 +121,9 @@ This package provides %{summary}.
 %autosetup
 
 %build
-%meson -Dsynctex=enabled -Dseccomp=enabled -Dtests=enabled
+%meson \
+   -Dseccomp=enabled -Dtests=enabled \
+   -Dsynctex=%{?with_synctex:enabled}%{!?with_synctex:disabled}
 %meson_build
 
 %install

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

only message in thread, other threads:[~2026-06-09 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 20:58 [rpms/zathura] rawhide: Disable synctex in flatpak builds Yaakov Selkowitz

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