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/mlt] epel9-next: Enable both Qt5 and Qt6 in separate subpackages
Date: Mon, 20 Jul 2026 18:17:54 GMT [thread overview]
Message-ID: <178457147452.1.14511864779288266285.rpms-mlt-9f06367c22d6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mlt
Branch : epel9-next
Commit : 9f06367c22d60262350b99fb483b9e077225f354
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2024-04-10T21:17:04-04:00
Stats : +36/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mlt/c/9f06367c22d60262350b99fb483b9e077225f354?branch=epel9-next
Log:
Enable both Qt5 and Qt6 in separate subpackages
While kdenlive has moved to Qt6 in F40, krita is still based
on Qt5, and synfigstudio is GTK+ based. Therefore, packages
need to be able to install mlt without getting Qt version(s)
that they do not otherwise need. The bug in kdenlive where it
would mistakenly use the wrong Qt modules has since been fixed.
---
diff --git a/mlt.spec b/mlt.spec
index 354ba22..f15f635 100644
--- a/mlt.spec
+++ b/mlt.spec
@@ -13,7 +13,7 @@
Name: mlt
Version: 7.22.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Toolkit for broadcasters, video editors, media players, transcoders
# mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
@@ -30,6 +30,12 @@ BuildRequires: cmake
BuildRequires: sed
BuildRequires: frei0r-devel
BuildRequires: opencv-devel
+BuildRequires: cmake(Qt5Core)
+BuildRequires: cmake(Qt5Gui)
+BuildRequires: cmake(Qt5Xml)
+BuildRequires: cmake(Qt5Widgets)
+BuildRequires: cmake(Qt5Svg)
+BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt6CoreTools)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6GuiTools)
@@ -97,6 +103,8 @@ BuildRequires: php-devel
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
%endif
+Requires: (%{name}-qt5%{?_isa} = %{version}-%{release} if qt5-qtbase%{?_isa})
+Requires: (%{name}-qt6%{?_isa} = %{version}-%{release} if qt6-qtbase%{?_isa})
%description
MLT is an open source multimedia framework, designed and developed for
@@ -107,6 +115,18 @@ transcoders, web streamers and many more types of applications. The
functionality of the system is provided via an assortment of ready to use
tools, xml authoring components, and an extendible plug-in based API.
+%package qt5
+Summary: Qt5 support for MLT
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description qt5
+This packages includes Qt5 support modules to MLT.
+
+%package qt6
+Summary: Qt6 support for MLT
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description qt6
+This packages includes Qt6 support modules to MLT.
+
%if %{with ndi}
%package ndi
Summary: NDI support for MLT
@@ -167,7 +187,9 @@ rm -r src/win32/
-DSWIG_PYTHON:BOOL=ON \
%{?with_ruby: -DSWIG_RUBY:BOOL=ON} \
%{?with_opencv: -DMOD_OPENCV:BOOL=ON} \
+ -DMOD_GLAXNIMATE:BOOL=ON \
-DMOD_GLAXNIMATE_QT6:BOOL=ON \
+ -DMOD_QT:BOOL=ON \
-DMOD_QT6:BOOL=ON \
%{?with_ndi: -DMOD_NDI:BOOL=ON -DNDI_SDK_INCLUDE_PATH=%{_includedir}/ndi-sdk -DNDI_SDK_LIBRARY_PATH=%{_libdir} -DNDI_INCLUDE_DIR=%{_includedir}/ndi-sdk -DNDI_LIBRARY_DIR=%{_libdir}}
@@ -209,6 +231,8 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}"
%{_libdir}/libmlt-7.so.*
%{_datadir}/mlt-7/
%{_mandir}/man1/melt-7.1*
+%exclude %{_libdir}/mlt-7/libmltglaxnimate*.so
+%exclude %{_libdir}/mlt-7/libmltqt*.so
%if %{with ndi}
%exclude %{_libdir}/mlt-7/libmltndi.so
@@ -216,6 +240,14 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}"
%{_libdir}/mlt-7/libmltndi.so
%endif
+%files qt5
+%{_libdir}/mlt-7/libmltglaxnimate.so
+%{_libdir}/mlt-7/libmltqt.so
+
+%files qt6
+%{_libdir}/mlt-7/libmltglaxnimate-qt6.so
+%{_libdir}/mlt-7/libmltqt6.so
+
%files -n python3-mlt
%{python3_sitearch}/mlt7.py*
%{python3_sitearch}/_mlt7.so
@@ -245,6 +277,9 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}"
%changelog
+* Wed Apr 10 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 7.22.0-6
+- Enable both Qt5 and Qt6 in separate subpackages
+
* Fri Mar 22 2024 Sérgio Basto <sergio@serjux.com> - 7.22.0-5
- Remove workaround
next reply other threads:[~2026-07-20 18:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 18:17 Yaakov Selkowitz [this message]
2026-07-20 18:17 [rpms/mlt] epel9-next: Enable both Qt5 and Qt6 in separate subpackages Yaakov Selkowitz
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=178457147452.1.14511864779288266285.rpms-mlt-9f06367c22d6@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