diff options
author | Pavel Vinogradov | 2019-02-01 19:30:42 -0500 |
---|---|---|
committer | Pavel Vinogradov | 2019-02-01 19:33:08 -0500 |
commit | cc049096a716782b4ddf44c9c21aa86fe31ff301 (patch) | |
tree | 4fa128b6bfd7e8e0cecfcc9f323ef67de3a5719c /video-libs | |
parent | d7fbe6569c58a562f627239c92e42513e36ec242 (diff) |
video-libs/dav1d: new spell, a new AV1 cross-platform decoder
Diffstat (limited to 'video-libs')
-rwxr-xr-x | video-libs/dav1d/CONFIGURE | 1 | ||||
-rwxr-xr-x | video-libs/dav1d/DEPENDS | 10 | ||||
-rwxr-xr-x | video-libs/dav1d/DETAILS | 32 | ||||
-rw-r--r-- | video-libs/dav1d/HISTORY | 3 | ||||
-rwxr-xr-x | video-libs/dav1d/PREPARE | 2 |
5 files changed, 48 insertions, 0 deletions
diff --git a/video-libs/dav1d/CONFIGURE b/video-libs/dav1d/CONFIGURE new file mode 100755 index 0000000000..9f48d22f39 --- /dev/null +++ b/video-libs/dav1d/CONFIGURE @@ -0,0 +1 @@ +. "${GRIMOIRE}/MESON_CONFIGURE" diff --git a/video-libs/dav1d/DEPENDS b/video-libs/dav1d/DEPENDS new file mode 100755 index 0000000000..530e378f76 --- /dev/null +++ b/video-libs/dav1d/DEPENDS @@ -0,0 +1,10 @@ +if [[ "${DAV1D_BRANCH}" == "scm" ]]; then + depends git +fi && + +depends meson && +depends python3 && +depends ninja-build-system && + +optional_depends nasm "build_asm=true" "build_asm=false" \ + "to build assembler optimisations (x86 or x86_64 only)" diff --git a/video-libs/dav1d/DETAILS b/video-libs/dav1d/DETAILS new file mode 100755 index 0000000000..12872bf94e --- /dev/null +++ b/video-libs/dav1d/DETAILS @@ -0,0 +1,32 @@ +. "${GRIMOIRE}/FUNCTIONS" +. "${GRIMOIRE}/MESON_FUNCTIONS" + SPELL="dav1d" +if [[ "${DAV1D_BRANCH}" == "scm" ]]; then + VERSION="$(get_scm_version)" + SOURCE="${SPELL}-git.tar.xz" + FORCE_DOWNLOAD="on" + SOURCE_URL[0]="git_http://code.videolan.org/videolan/${SPELL}.git:${SPELL}-git" + SOURCE_IGNORE="volatile" +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git" +else + VERSION="0.1.0" + SOURCE_HASH="sha512:5893ad40af7c4f5c3678ecc604ad360b5d1cd3fadaa16f7183d638745097fed091aeb3456540db61a2f4f0fc8bb93f2a20f428c76a7976d3fd186cc8b8baed53" + SOURCE="${SPELL}-${VERSION}.tar.bz2" +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + SOURCE_URL[0]="https://code.videolan.org/videolan/${SPELL}/-/archive/${VERSION}/${SOURCE}" +fi + LICENSE[0]="BSD" + WEB_SITE="https://code.videolan.org/videolan/dav1d/" + ENTERED="20190201" + SHORT="a new AV1 cross-platform decoder" +cat << EOF +dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed +and correctness. + +The goal of this project is to provide a decoder for most platforms, and +achieve the highest speed possible to overcome the temporary lack of AV1 +hardware decoder. + +It supports all features from AV1, including all subsampling and bit-depth +parameters. +EOF diff --git a/video-libs/dav1d/HISTORY b/video-libs/dav1d/HISTORY new file mode 100644 index 0000000000..56bbb1a532 --- /dev/null +++ b/video-libs/dav1d/HISTORY @@ -0,0 +1,3 @@ +2019-02-01 Pavel Vinogradov <public@sourcemage.org> + * CONFIGURE, DEPENDS, DETAILS, PREPARE: created spell + diff --git a/video-libs/dav1d/PREPARE b/video-libs/dav1d/PREPARE new file mode 100755 index 0000000000..e38d86f7e9 --- /dev/null +++ b/video-libs/dav1d/PREPARE @@ -0,0 +1,2 @@ +. "${GRIMOIRE}/FUNCTIONS" && +prepare_select_branch stable scm |