public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vlc] f45: Use Qt6 on Fedora and EPEL 10+
@ 2026-09-23 14:52 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-23 14:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/vlc
Branch : f45
Commit : 31df44ddc70c266484ef865f9efe88e5c1797c40
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-09-23T10:29:41-04:00
Stats  : +12/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/vlc/c/31df44ddc70c266484ef865f9efe88e5c1797c40?branch=f45

Log:
Use Qt6 on Fedora and EPEL 10+

---
diff --git a/vlc.spec b/vlc.spec
index 69c34fd..fde48e7 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -3,6 +3,9 @@
 %bcond x264 %{with freeworld}
 %bcond x265 %{with freeworld}
 
+# use Qt6 where available
+%bcond qt6 %[(0%{?fedora} || 0%{?rhel} >= 10)]
+
 # not compatible with asdcplib-2.12
 %bcond asdcp %[!(0%{?fedora} >= 38 || 0%{?rhel} >= 10)]
 # not compatible with opencv 3.4 or 4.0
@@ -212,11 +215,20 @@ BuildRequires:	pkgconfig(opencv)
 %endif
 BuildRequires:	pkgconfig(opus) >= 1.0.3
 BuildRequires:	pkgconfig(protobuf-lite) >= 2.5
+%if %{with qt6}
+BuildRequires:	pkgconfig(Qt6Core)
+BuildRequires:	pkgconfig(Qt6Gui)
+BuildRequires:	pkgconfig(Qt6Svg)
+BuildRequires:	pkgconfig(Qt6Widgets)
+BuildRequires:	qt6-qtbase-private-devel
+%else
 BuildRequires:	pkgconfig(Qt5Core) >= 5.5
 BuildRequires:	pkgconfig(Qt5Gui) >= 5.5
 BuildRequires:	pkgconfig(Qt5Svg) >= 5.5
 BuildRequires:	pkgconfig(Qt5Widgets) >= 5.5
 BuildRequires:	pkgconfig(Qt5X11Extras) >= 5.5
+BuildRequires:	qt5-qtbase-private-devel
+%endif
 BuildRequires:	pkgconfig(samplerate)
 %if %{with sdl}
 BuildRequires:	pkgconfig(SDL_image) >= 1.2.10
@@ -263,7 +275,6 @@ BuildRequires:	pkgconfig(xinerama)
 BuildRequires:	pkgconfig(xpm)
 BuildRequires:	pkgconfig(xproto)
 BuildRequires:	pkgconfig(zvbi-0.2) >= 0.2.28
-BuildRequires:	qt5-qtbase-private-devel
 BuildRequires:	zlib-devel
 
 Provides:	%{name}-xorg%{?_isa} = %{epoch}:%{version}-%{release}
@@ -323,7 +334,6 @@ Requires:	%{name}-plugins-video-out%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-lua%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	(%{name}-plugin-pipewire%{?_isa} if pipewire)
 Requires:	(%{name}-plugin-pulseaudio%{?_isa} = %{epoch}:%{version}-%{release} if (pipewire-pulseaudio or pulseaudio))
-Requires:	(qt5-qtwayland%{?_isa} if libwayland-client%{?_isa})
 Recommends:	%{name}-plugins-extra%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends:	%{name}-plugin-ffmpeg%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends:	%{name}-plugin-visualization%{?_isa} = %{epoch}:%{version}-%{release}

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

only message in thread, other threads:[~2026-09-23 14:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 14:52 [rpms/vlc] f45: Use Qt6 on Fedora and EPEL 10+ Yaakov Selkowitz

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