diff options
Diffstat (limited to 'multimedia/vlc/vlc.SlackBuild')
-rw-r--r-- | multimedia/vlc/vlc.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild index 011a9b62da..4f21102ecd 100644 --- a/multimedia/vlc/vlc.SlackBuild +++ b/multimedia/vlc/vlc.SlackBuild @@ -6,7 +6,7 @@ # modified to build VLC only, shared libraries needed. # Copyright (c) 2007,2008,2009,2010,2011 Eric Hameleers, Eindhoven, Netherlands -# Copyright (c) 2014-2019 Christoph Willing, Brisbane, Australia +# Copyright (c) 2014-2020 Christoph Willing, Brisbane, Australia # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -100,6 +100,12 @@ else fi fi +# Enable vlc to be run as root +runasroot=""; [ "${RUNASROOT:-no}" != "no" ] && runasroot="--enable-run-as-root" + +# Disable use of libaom +libaom=""; [ "${LIBAOM:-yes}" = "no" ] && libaom="--disable-aom" + autoreconf -fiv chown -R root:root . @@ -123,6 +129,8 @@ LDFLAGS="$SLKLDFLAGS" \ $qtversion \ $wayland \ $opencv \ + $runasroot \ + $libaom \ --enable-merge-ffmpeg \ --enable-libva=no \ --with-kde-solid=no \ |