diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-01-31 09:39:47 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:07:47 -0500 |
commit | e94ef236a05efa95b5147e6ddff5a9a1290a1b45 (patch) | |
tree | f36dd8fb2ca20198141bf1e81b16ebdba9a87c15 /multimedia/vlc/vlc.SlackBuild | |
parent | d9bde60fd9809984836a4c8630a0a885476ce4d8 (diff) |
multimedia/vlc: Enable libva, disable opencv, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/vlc/vlc.SlackBuild')
-rw-r--r-- | multimedia/vlc/vlc.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild index 8b8543a8202b1..c024322aca7f5 100644 --- a/multimedia/vlc/vlc.SlackBuild +++ b/multimedia/vlc/vlc.SlackBuild @@ -81,6 +81,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION +sed -i '/DEPRECATED/s:^://:' modules/text_renderer/freetype/text_layout.c + patch -p0 < $CWD/patch-dvdread-503.diff patch -p0 < $CWD/patch-dvdnav-503.diff patch -p0 < $CWD/patch-projectM-fontpath.diff @@ -105,6 +107,9 @@ fi # Enable vlc to be run as root runasroot=""; [ "${RUNASROOT:-no}" != "no" ] && runasroot="--enable-run-as-root" +# Give the possibility to explicitly disable aom support +aom=""; [ "${AOM:-yes}" = "no" ] && aom="--disable-aom" + autoreconf -fiv chown -R root:root . @@ -127,10 +132,10 @@ LDFLAGS="$SLKLDFLAGS" \ --build=$ARCH-slackware-linux \ $qtversion \ $wayland \ - $opencv \ $runasroot \ + $aom \ + --disable-opencv \ --enable-merge-ffmpeg \ - --enable-libva=no \ --with-kde-solid=no \ make @@ -139,8 +144,7 @@ make DESTDIR=$PKG install mkdir -p $PKG/usr/man/man1 gzip -9c doc/vlc.1 > $PKG/usr/man/man1/vlc.1.gz -mkdir -p $PKG/$(cd /usr/share/vim/vim*/syntax ; pwd) -cp extras/analyser/vlc.vim $PKG/$(cd /usr/share/vim/vim*/syntax ; pwd)/ +install -D -m0644 extras/analyser/vlc.vim $PKG/usr/share/vim/vimfiles/syntax/vlc.vim mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION |