From 3aa553132b79202a036fe1af980d23f73730a2ed Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 5 Feb 2016 11:46:12 +0100 Subject: deps/qt5: apply a patch to build the ALSA plugin successfully. Luigi Trovato (lonestar) alerted me to this patch found in the FreeBSD repository. It fixes the detection of ALSA in Slackware and results in a Qt5 package which simultaneously supports ALSA and PulseAudio. --- deps/qt5/qt5.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'deps/qt5/qt5.SlackBuild') diff --git a/deps/qt5/qt5.SlackBuild b/deps/qt5/qt5.SlackBuild index ef123fc..6d01810 100755 --- a/deps/qt5/qt5.SlackBuild +++ b/deps/qt5/qt5.SlackBuild @@ -44,10 +44,11 @@ # Modifications for qt 5.3.1 2014 by Eric Hameleers, Eindhoven, NL # Modifications for qt 5.4.0 2015 by Eric Hameleers, Eindhoven, NL # Modifications for qt 5.4.1 2015 by Eric Hameleers, Eindhoven, NL +# Modifications for qt 5.5.1 2015,2016 by Eric Hameleers, Eindhoven, NL PKGNAM=qt5 VERSION=${VERSION:-5.5.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} NUMJOBS=${NUMJOBS:--j7} @@ -129,6 +130,11 @@ fi # Fix path to mysql header: cat $CWD/patches/qt5.mysql.h.diff | patch -p1 --verbose || exit 1 +# Properly detect ALSA version 1.1.0 as being newer than 1.0.10: +cd qtmultimedia + cat $CWD/patches/qt5.alsa.patch | patch -p0 --verbose || exit 1 +cd - + if ! pkg-config --exists libpulse 2>/dev/null ; then # Forcibly disable pulseaudio in qtwebengine: cat $CWD/patches/qt5.pulseaudio.diff | patch -p1 --verbose || exit 1 -- cgit v1.2.3