summaryrefslogtreecommitdiff
path: root/multimedia/vlc/vlc.SlackBuild
diff options
context:
space:
mode:
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 \