diff options
Diffstat (limited to 'libraries/dav1d/dav1d.SlackBuild')
-rw-r--r-- | libraries/dav1d/dav1d.SlackBuild | 19 |
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 |