summaryrefslogtreecommitdiff
path: root/multimedia/vlc/vlc.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2017-02-06 07:42:24 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:25:02 +0700
commit519a0bcd2397cffdb501b055fb120b9e21eed7ad (patch)
tree1351157b1d84074d257634131993e89b3da96ed7 /multimedia/vlc/vlc.SlackBuild
parenta74cfa7a725158fe7d55d91f3480d752a627cbac (diff)
downloadslackbuilds-519a0bcd2397cffdb501b055fb120b9e21eed7ad.tar.gz
multimedia/vlc: Force use of Qt4
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'multimedia/vlc/vlc.SlackBuild')
-rw-r--r--multimedia/vlc/vlc.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild
index ed492cb6a8..e5c210534f 100644
--- a/multimedia/vlc/vlc.SlackBuild
+++ b/multimedia/vlc/vlc.SlackBuild
@@ -29,7 +29,7 @@
PRGNAM=vlc
VERSION=${VERSION:-2.2.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,6 +57,7 @@ else
fi
DOCS="ABOUT-NLS AUTHORS COPYING INSTALL NEWS README THANKS"
+qtversion="--enable-qt=4" ; [ "${QTVERSION:-4}" != "4" ] && qtversion="--enable-qt=5"
# In an ordinary virtual machine, since a different kernal is running,
# a unique dbus id is needed.
@@ -80,6 +81,7 @@ cd $PRGNAM-$VERSION
patch -p0 < $CWD/patch-projectM-fontpath.diff
patch -p0 < $CWD/patch_vlc_cache_gen.diff
+patch -p1 < $CWD/qt4-select.patch
autoreconf -fiv
@@ -101,6 +103,7 @@ LDFLAGS="$SLKLDFLAGS" \
--docdir=/usr/doc/vlc-$VERSION \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
+ $qtversion \
--enable-merge-ffmpeg \
--with-kde-solid=no \