diff --git a/srcpkgs/mixxx/patches/arm-machine.patch b/srcpkgs/mixxx/patches/arm-machine.patch new file mode 100644 index 00000000000..798a00a624b --- /dev/null +++ b/srcpkgs/mixxx/patches/arm-machine.patch @@ -0,0 +1,10 @@ +--- build/mixxx.py.orig 2014-08-27 20:20:09.652848211 +0200 ++++ build/mixxx.py 2014-08-27 20:24:18.551421642 +0200 +@@ -42,6 +42,7 @@ + if machine not in ['x86_64', 'x86', 'i686', 'i586', + 'alpha', 'hppa', 'mips', 'mipsel', 's390', + 'sparc', 'ia64', 'armel', 'armhf', 'hurd-i386', ++ 'armv5l', 'armv6l', 'armv7l', + 'sh3', 'sh4', + 'kfreebsd-amd64', 'kfreebsd-i386', + 'i486', 'i386', 'powerpc', 'powerpc64', diff --git a/srcpkgs/mixxx/patches/waveformrendererhsv.patch b/srcpkgs/mixxx/patches/waveformrendererhsv.patch new file mode 100644 index 00000000000..9618f6a6045 --- /dev/null +++ b/srcpkgs/mixxx/patches/waveformrendererhsv.patch @@ -0,0 +1,63 @@ +--- src/waveform/renderers/waveformrendererhsv.cpp ++++ src/waveform/renderers/waveformrendererhsv.cpp +@@ -69,7 +69,7 @@ void WaveformRendererHSV::draw(QPainter* + allGain *= factory->getVisualGain(::WaveformWidgetFactory::All); + + // Save HSV of waveform color +- double h,s,v; ++ qreal h,s,v; + + // Get base color of waveform in the HSV format (s and v isn't use) + m_pColors->getLowColor().getHsvF(&h,&s,&v); +--- src/waveform/renderers/waveformsignalcolors.cpp ++++ src/waveform/renderers/waveformsignalcolors.cpp +@@ -68,14 +68,14 @@ void WaveformSignalColors::fallBackFromS + qWarning() << "WaveformSignalColors::fallBackFromSignalColor - " \ + "skin do not provide low/mid/high signal colors"; + +- double h,s,l,a; ++ qreal h,s,l,a; + m_signalColor.getHslF(&h,&s,&l,&a); + + const double analogousAngle = 1.0/12.0; + + if( s < 0.1) // gray + { +- const double sMax = 1.0 - h; ++ const qreal sMax = 1.0 - h; + m_lowColor.setHslF(h,s,l); + m_midColor.setHslF(h,s+sMax*0.2,l); + m_highColor.setHslF(h,s+sMax*0.4,l); +@@ -84,28 +84,28 @@ void WaveformSignalColors::fallBackFromS + { + if( l < 0.1) // ~white + { +- const double lMax = 1.0 - l; ++ const qreal lMax = 1.0 - l; + m_lowColor.setHslF(h,s,l); + m_midColor.setHslF(h,s,l+lMax*0.2); + m_highColor.setHslF(h,s,l+lMax*0.4); + } + else if( l < 0.5) + { +- const double lMax = 1.0 - l; ++ const qreal lMax = 1.0 - l; + m_lowColor.setHslF(h,s,l); + m_midColor.setHslF(stableHue(h-analogousAngle*0.3),s,l+lMax*0.1); + m_highColor.setHslF(stableHue(h+analogousAngle*0.3),s,l+lMax*0.4); + } + else if ( l < 0.9) + { +- const double lMin = l; ++ const qreal lMin = l; + m_lowColor.setHslF(h,s,l); + m_midColor.setHslF(stableHue(h-analogousAngle*0.3),s,l-lMin*0.1); + m_highColor.setHslF(stableHue(h+analogousAngle*0.3),s,l-lMin*0.4); + } + else // ~black + { +- const double lMin = l; ++ const qreal lMin = l; + m_lowColor.setHslF(h,s,l); + m_midColor.setHslF(h,s,l-lMin*0.2); + m_highColor.setHslF(h,s,l-lMin*0.4);