summaryrefslogtreecommitdiff
path: root/libraries/dav1d/dav1d.SlackBuild
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.strong@gmail.com>2020-01-02 22:26:33 -0600
committerRobby Workman <rworkman@slackbuilds.org>2020-01-02 23:33:51 -0600
commit817eb18b0c2ddcf023ab0c6fd9b0697738ddcb7a (patch)
treefe8266cab381d93bea1e2f810632c2a0fbbd7beb /libraries/dav1d/dav1d.SlackBuild
parent7ee3add65152e56f96a477bc5228c423cb0239fa (diff)
downloadslackbuilds-817eb18b0c2ddcf023ab0c6fd9b0697738ddcb7a.tar.gz
libraries/dav1d: Updated for version 0.5.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/dav1d/dav1d.SlackBuild')
-rw-r--r--libraries/dav1d/dav1d.SlackBuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild
index 4c00aee62e..65b83b5f05 100644
--- a/libraries/dav1d/dav1d.SlackBuild
+++ b/libraries/dav1d/dav1d.SlackBuild
@@ -2,7 +2,7 @@
# ----------------------------------------------------------------------
# Slackware build script for dav1d
#
-# Copyright (c) 2019 Andrew Strong, Blue Mountains, Australia.
+# Copyright (c) 2019-2020 Andrew Strong, Blue Mountains, Australia.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -24,7 +24,7 @@
# ----------------------------------------------------------------------
PRGNAM=dav1d
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-0.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,10 +74,17 @@ find -L . \
# so this is adjusted here with no issues that I can see. Courtesy of Alien Bob:
sed -i meson.build -e 's/2.13.02/2.13.01/'
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-meson --prefix /usr --libdir lib${LIBDIRSUFFIX} build
-DESTDIR=$PKG ninja -C build all install
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=/usr
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true