From 519a0bcd2397cffdb501b055fb120b9e21eed7ad Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Mon, 6 Feb 2017 07:42:24 +1000 Subject: multimedia/vlc: Force use of Qt4 Signed-off-by: Christoph Willing --- multimedia/vlc/vlc.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'multimedia/vlc/vlc.SlackBuild') 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 \ -- cgit v1.2.3