diff options
Diffstat (limited to 'multimedia/vlc/vlc.SlackBuild')
-rw-r--r-- | multimedia/vlc/vlc.SlackBuild | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild index c024322aca7f5..0bee64ca873fd 100644 --- a/multimedia/vlc/vlc.SlackBuild +++ b/multimedia/vlc/vlc.SlackBuild @@ -58,8 +58,6 @@ fi SLKLDFLAGS="-lrt" DOCS="ABOUT-NLS AUTHORS COPYING INSTALL NEWS README THANKS" -qtversion="--enable-qt=4" ; [ "${QTVERSION:-5}" != "4" ] && qtversion="--enable-qt=5" -wayland="--disable-wayland" ; [ "${WAYLAND:-no}" != "no" ] && wayland="--enable-wayland" # In an ordinary virtual machine, since a different kernal is running, # a unique dbus id is needed. @@ -88,21 +86,8 @@ patch -p0 < $CWD/patch-dvdnav-503.diff patch -p0 < $CWD/patch-projectM-fontpath.diff patch -p0 < $CWD/patch_vlc_cache_gen.diff -opencv="" -if [ "${OPENCV:-yes}" != "yes" ]; then - opencv="--disable-opencv" ; -else - if pkg-config --exists opencv4 ; then - opencv="--enable-opencv" - patch -p0 < $CWD/patch-opencv4.diff - mv modules/video_filter/opencv_wrapper.c modules/video_filter/opencv_wrapper.cpp - elif pkg-config --exists opencv ; then - # opencv-legacy - opencv="--enable-opencv" - else - opencv="--disable-opencv" - fi -fi +# Don't enable wayland by default +wayland="--disable-wayland" ; [ "${WAYLAND:-no}" != "no" ] && wayland="--enable-wayland" # Enable vlc to be run as root runasroot=""; [ "${RUNASROOT:-no}" != "no" ] && runasroot="--enable-run-as-root" @@ -130,13 +115,11 @@ LDFLAGS="$SLKLDFLAGS" \ --docdir=/usr/doc/vlc-$VERSION \ --localstatedir=/var \ --build=$ARCH-slackware-linux \ - $qtversion \ + --enable-qt=5 \ + --enable-merge-ffmpeg \ $wayland \ $runasroot \ $aom \ - --disable-opencv \ - --enable-merge-ffmpeg \ - --with-kde-solid=no \ make make DESTDIR=$PKG install |