audio/mixxx: Fix build with Qt 6.9

With hat:	kde@
PR:		286051
This commit is contained in:
Jason E. Hale 2025-04-26 22:48:06 -04:00
parent b269e13872
commit 532a3777f9
3 changed files with 24 additions and 1 deletions

View file

@ -3,6 +3,9 @@ DISTVERSION= 2.5.0
PORTREVISION= 5
CATEGORIES= audio
PATCH_SITES= https://github.com/mixxxdj/mixxx/commit/
PATCHFILES+= 355eb9ce880349ff94759f731bb7ae747bf6677c.patch:-p1 # Fix build with Qt >= 6.9.0
MAINTAINER= acm@FreeBSD.org
COMMENT= DJ mixing application
WWW= https://mixxx.org/

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1735235861
TIMESTAMP = 1745041655
SHA256 (mixxxdj-mixxx-2.5.0_GH0.tar.gz) = 95ad113f1988abaa4fabc2e19027d5456a6ba9cb0f6366a386a2239030f41089
SIZE (mixxxdj-mixxx-2.5.0_GH0.tar.gz) = 39580922
SHA256 (355eb9ce880349ff94759f731bb7ae747bf6677c.patch) = 8088f444cc914003dbdfab239778101d45af03ab1e4e986d443df4358fd7f19a
SIZE (355eb9ce880349ff94759f731bb7ae747bf6677c.patch) = 1979

View file

@ -0,0 +1,18 @@
Fix build with Qt >= 6.9.0
https://github.com/mixxxdj/mixxx/issues/14122
--- src/qml/qmlwaveformoverview.h.orig 2024-12-24 01:32:09 UTC
+++ src/qml/qmlwaveformoverview.h
@@ -58,7 +58,11 @@ class QmlWaveformOverview : public QQuickPaintedItem {
signals:
void playerChanged();
void channelsChanged(mixxx::qml::QmlWaveformOverview::Channels channels);
+#if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
+ void rendererChanged(Renderer renderer);
+#else
void rendererChanged(mixxx::qml::QmlWaveformOverview::Renderer renderer);
+#endif
void colorHighChanged(const QColor& color);
void colorMidChanged(const QColor& color);
void colorLowChanged(const QColor& color);