aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/dav1d/README6
-rw-r--r--libraries/dav1d/dav1d.SlackBuild19
-rw-r--r--libraries/dav1d/dav1d.info6
-rw-r--r--libraries/dav1d/slack-desc2
4 files changed, 20 insertions, 13 deletions
diff --git a/libraries/dav1d/README b/libraries/dav1d/README
index 8a55430643369..ac7d248eecf1f 100644
--- a/libraries/dav1d/README
+++ b/libraries/dav1d/README
@@ -2,6 +2,6 @@ dav1d is an AV1 Decoder being developed by the VideoLAN,
VLC and FFmpeg communities for use with AV1,the new video
codec created by the Alliance for Open Media.
-This SlackBuild builds the binary decoder dav1d, a basic
-playback application dav1dplay, as well as libraries suitable
-for use by other applications such as FFmpeg.
+This SlackBuild builds the binary decoder dav1d as well
+as libraries suitable for use by other applications such
+as FFmpeg and VLC.
diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild
index 4c00aee62efb2..65b83b5f051d1 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
diff --git a/libraries/dav1d/dav1d.info b/libraries/dav1d/dav1d.info
index 36a6871d53436..776b1505fa1cd 100644
--- a/libraries/dav1d/dav1d.info
+++ b/libraries/dav1d/dav1d.info
@@ -1,8 +1,8 @@
PRGNAM="dav1d"
-VERSION="0.4.0"
+VERSION="0.5.2"
HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-DOWNLOAD="http://downloads.videolan.org/pub/videolan/dav1d/0.4.0/dav1d-0.4.0.tar.xz"
-MD5SUM="0864760964d65bf2d9d4c6c15ecffca6"
+DOWNLOAD="http://downloads.videolan.org/pub/videolan/dav1d/0.5.2/dav1d-0.5.2.tar.xz"
+MD5SUM="26f3e7661b73d0f82098570313e0128e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="meson"
diff --git a/libraries/dav1d/slack-desc b/libraries/dav1d/slack-desc
index 2dd2042ef0457..b9ef7d307960a 100644
--- a/libraries/dav1d/slack-desc
+++ b/libraries/dav1d/slack-desc
@@ -10,10 +10,10 @@ dav1d: dav1d (AV1 decoder)
dav1d:
dav1d: dav1d is an AV1 decoder focused on speed and correctness.
dav1d:
+dav1d: Homepage: https://code.videolan.org/videolan/dav1d
dav1d:
dav1d:
dav1d:
dav1d:
-dav1d: Homepage: https://code.videolan.org/videolan/dav1d
dav1d:
dav1d: