diff options
author | Christoph Willing <chris.willing@linux.com> | 2020-01-10 23:08:06 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:50 +0700 |
commit | cd84378d75facdeff8ec08369c4dd0b553ffcd2e (patch) | |
tree | e1ab46e88adc8974f725d851a80a4b2541782bb6 /multimedia/vlc/vlc.SlackBuild | |
parent | c85ef937edde045b7df6bcdb606e9f4e80c7f0ba (diff) |
multimedia/vlc: Add RUNASROOT & LIBAOM options
Signed-off-by: Christoph Willing <chris.willing@linux.com>
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 011a9b62da640..4f21102ecd896 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 \ |