summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Strong2019-09-14 06:19:29 +0200
committer Willy Sudiarto Raharjo2019-09-14 06:19:29 +0200
commitf999095ed5dc7e78438f46411c6eb87b4c146fa8 (patch)
tree996be224394f577f5c47b2bf1b87f4752849a4e3
parentcd570fe93286d8dfa61479a3ec3522f501b04a95 (diff)
downloadslackbuilds-f999095ed5dc7e78438f46411c6eb87b4c146fa8.tar.gz
libraries/dav1d: Add sed magic.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/dav1d/dav1d.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild
index 341754fbcc..4c00aee62e 100644
--- a/libraries/dav1d/dav1d.SlackBuild
+++ b/libraries/dav1d/dav1d.SlackBuild
@@ -70,6 +70,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 14.2 has a version of nasm that is .01 away from the required nasm version
+# 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