summaryrefslogtreecommitdiffstats
path: root/deps/qt5/qt5.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-02-05 11:46:12 +0100
committer Eric Hameleers <alien@slackware.com>2016-02-05 11:46:12 +0100
commit3aa553132b79202a036fe1af980d23f73730a2ed (patch)
treeed7308156407a4396b0ff7fa2853100f0262199a /deps/qt5/qt5.SlackBuild
parentbc57d5376bcda1e9e6e512e4f597138e44ddd055 (diff)
downloadktown-3aa553132b79202a036fe1af980d23f73730a2ed.tar.gz
ktown-3aa553132b79202a036fe1af980d23f73730a2ed.tar.xz
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.
Diffstat (limited to '')
-rwxr-xr-xdeps/qt5/qt5.SlackBuild8
1 files changed, 7 insertions, 1 deletions
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