libraries/dav1d: Updated for version 0.5.2.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Andrew Strong 2020-01-02 22:26:33 -06:00 committed by Robby Workman
parent 7ee3add651
commit 817eb18b0c
4 changed files with 23 additions and 16 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"

View File

@ -10,10 +10,10 @@ dav1d: dav1d (AV1 decoder)
dav1d:
dav1d: dav1d is an AV1 decoder focused on speed and correctness.
dav1d:
dav1d:
dav1d:
dav1d:
dav1d:
dav1d: Homepage: https://code.videolan.org/videolan/dav1d
dav1d:
dav1d:
dav1d:
dav1d:
dav1d:
dav1d: