1
0

media-libs/svt-av1: bump to 2.1.0 rc2

This commit is contained in:
Martin Wohlert 2024-05-11 22:53:55 +02:00
parent 7ca63724b6
commit bf4d81f3eb
2 changed files with 43 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST svt-av1-2.0.0.tar.gz 10266404 BLAKE2B 54540780d73401add293619a2778418b6450ea05043b29691091aea975330ba72ef4b1e2d2ca2b799204cc759d08c4589482da6e06d96c24efcfe4412407b732 SHA512 f352b67ad9200450346f5a80cb491fb3e083abd4306b9b8e442507112ad9c9825a652bb792b6430889d8245f9eb7155da5b5f68b31c279b6d1f9bf282f579a61
DIST svt-av1-2.1.0_rc2.tar.gz 12712755 BLAKE2B 47bc1c8fcbb7391a5b3c70876178ddf5bfc0b58af11a39589d81c3a4ae33717e4787c1db3cd9af605639072a7c8a7c7594d8a0d07d0c14caf3c31570f91a38b3 SHA512 4aa017df6d1e92461c6ae4ceb57c602acd95d45714f33e410d57bf9dd4f36b9002a1d6bf200eb20266280ab067e792fda45f5cc12dc09781512eab543c41319c

View File

@ -0,0 +1,42 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib flag-o-matic
DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)"
HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1"
_PV="${PV/_rc/-rc}"
if [[ ${PV} = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/AOMediaCodec/SVT-AV1.git"
else
SRC_URI="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v${_PV}/SVT-AV1-v${_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
S="${WORKDIR}/SVT-AV1-v${_PV}"
fi
# Also see "Alliance for Open Media Patent License 1.0"
LICENSE="BSD-2 Apache-2.0 BSD ISC LGPL-2.1+ MIT"
SLOT="0"
BDEPEND="amd64? ( dev-lang/yasm )"
multilib_src_configure() {
append-ldflags -Wl,-z,noexecstack
local mycmakeargs=(
# Tests require linking against https://github.com/Cidana-Developers/aom/tree/av1-normative ?
# undefined reference to `ifd_inspect'
# https://github.com/Cidana-Developers/aom/commit/cfc5c9e95bcb48a5a41ca7908b44df34ea1313c0
-DBUILD_TESTING=OFF
-DCMAKE_OUTPUT_DIRECTORY="${BUILD_DIR}"
)
[[ ${ABI} != amd64 ]] && mycmakeargs+=( -DCOMPILE_C_ONLY=ON )
cmake_src_configure
}