diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /media-libs/svt-av1 | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'media-libs/svt-av1')
-rw-r--r-- | media-libs/svt-av1/Manifest | 4 | ||||
-rw-r--r-- | media-libs/svt-av1/svt-av1-0.9.1.ebuild | 40 | ||||
-rw-r--r-- | media-libs/svt-av1/svt-av1-9999.ebuild | 4 |
3 files changed, 45 insertions, 3 deletions
diff --git a/media-libs/svt-av1/Manifest b/media-libs/svt-av1/Manifest index 29fdd1413856..16b27561fe66 100644 --- a/media-libs/svt-av1/Manifest +++ b/media-libs/svt-av1/Manifest @@ -2,7 +2,9 @@ AUX svt-av1-0.8.6-fix-c-only-build.patch 5078 BLAKE2B c26a13dba8ac62ec2951d43d14 AUX svt-av1-0.8.6-no-force-avx.patch 506 BLAKE2B 7cb33489a5777b39a5eb041560c1ea5c25c99ad21ceb9f41d419ffb7f40b794ad831432cebe56dd72d1f896550adfb3accffce3624250b5bc0225b32649d36d7 SHA512 36f3e599f93efbf1ffc4382f3b6823ac791804920db23232064452f1327755cd329530310c471078eff705e7eb2156d98341c032354e0bb04945d8dc5d1c8c3d DIST svt-av1-0.8.6-r1.tar.gz 6416293 BLAKE2B 98a0c5547f63a9d04b5365a242d1a6e7b8f54449547309e53e9907d11d61c853f07ea1d8a5988ec1b67ef94bfd137ff1664f4352d9181cf96b5629f292c97f1c SHA512 535c073e53d99ed55efa0b7577a886dff136ba41f2d92e84ef0463b707136e156b6c4029e3ff7709be8ce54b0a7e7257af833b706b4282d7fd2636635df757d5 DIST svt-av1-0.8.7.tar.gz 6396358 BLAKE2B 21a0d319078887809d08276b1a11b6dcca1be90a79c6bda19b86749fabb623918b9112de8ae3c7740b14f23d52e4e1c12ec0190f49880b09993525a857f8e334 SHA512 812b794eda930f53dcba6bb02bc5a3f417346705d64f590d7acf2d45df8d10985bd40c313eaaed514601ab699e23c87852059b9eb0b0ff8a717ef9fd80a132f7 +DIST svt-av1-0.9.1.tar.gz 9718171 BLAKE2B b4247e0b060d34df9336b3cb54e116318120b0ca88ee00747b63ff133417ef941fc5953bbfc2d55e0c9836f579b2b6d64e7cd5a82943556d2d648788947ac6ef SHA512 3c4594bf4019de630e0c58bde3cfa71cc4a6b399a8405c8652b2d2ee26d9a4eed03203c12f1fd3837d5d54ed4a22de90d8f21064f8a3db339a80f9c6f8b0fb95 EBUILD svt-av1-0.8.6.ebuild 1428 BLAKE2B e9fd41c7982d1ea876f99944e8a3bfb35d784e502ec7ad3450ff122ffcc925b948eeec73b96be8da0d16cccbfecde6e7654abcd82ea58f76d7a5a595823bb84e SHA512 452bce21bfd5740ad9a31f3e6aa044769202885ec0ff3104832dd059854ac8aceb331650a044938772d692c6b00c1d69fea5e83bf85d99dd8fef5e1dcadea7f0 EBUILD svt-av1-0.8.7.ebuild 1217 BLAKE2B 01818865c8797121cd4430c4f79ca220a51154a60eac43b762b4f1175c5f4ccab2f404c2b69f4eb40b4ff5fa28ca1c323ca8a6744a69325db9b5cfd323ff8ae4 SHA512 9fb2486311e8612616a0da85ec7db2215fbd717c4fe6e58cc1fc420c981f1b3c34315bef30fb0d4df0da69b4ec93412984dcd8c1fedb2cf5c92361aa470091cd -EBUILD svt-av1-9999.ebuild 1219 BLAKE2B 4d565f27a6b6c9a3f1058f185f424200acd0b7afcaf55600185afaa3c150d80bdc987a196f18d5dad28ad777738e97f77f3a3b1cfeeec32fcbc8960538ad8741 SHA512 1367ff846e66fedaa059759cd5ae9ad8d73d8ac1d3f7d5a070678d48cf5f6a4d3d1b285b11a987baf8b71992b9e7c3c0a02d2f88b96e1606dea38cb9f75b8956 +EBUILD svt-av1-0.9.1.ebuild 1224 BLAKE2B 299fc108459401a4a6194d9dbdc422eaa8520266ee49a2ea7a4adf41ea9927ef46f6c683c0e45b9be453ffbc368de63d234b85d4f1d95422c138476193cab6ce SHA512 a94dfb84b01d21bb6c579526bddb52bc612061cd2d5c7fa67c40caaef0113af91e32e97aac47084c3df14aa98afe8fe0790a780dac29d5c52c5a925ef30ab74d +EBUILD svt-av1-9999.ebuild 1224 BLAKE2B 299fc108459401a4a6194d9dbdc422eaa8520266ee49a2ea7a4adf41ea9927ef46f6c683c0e45b9be453ffbc368de63d234b85d4f1d95422c138476193cab6ce SHA512 a94dfb84b01d21bb6c579526bddb52bc612061cd2d5c7fa67c40caaef0113af91e32e97aac47084c3df14aa98afe8fe0790a780dac29d5c52c5a925ef30ab74d MISC metadata.xml 561 BLAKE2B 1effb05644507ea39fe071f9de1fe4c1a4feb30f9bc429985cf464aea9f9bc1f525e0c6f5e75da47d373f0acd60394a2bcec3b71e68bc3ab031334f95717d3b8 SHA512 1042fb94a9c0b93c007843585e0ea075d187cdd6b77bb8eb94d5fcfaa7d083a98916aedcbfccd1fa3da3307ef8bbe7d623efa7e39ccc9714d23973497bec7a89 diff --git a/media-libs/svt-av1/svt-av1-0.9.1.ebuild b/media-libs/svt-av1/svt-av1-0.9.1.ebuild new file mode 100644 index 000000000000..9d7d8f16b2cd --- /dev/null +++ b/media-libs/svt-av1/svt-av1-0.9.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2022 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" + +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 ~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 +} diff --git a/media-libs/svt-av1/svt-av1-9999.ebuild b/media-libs/svt-av1/svt-av1-9999.ebuild index 5f5a2bb626bd..9d7d8f16b2cd 100644 --- a/media-libs/svt-av1/svt-av1-9999.ebuild +++ b/media-libs/svt-av1/svt-av1-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ ${PV} = 9999 ]]; then 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 ~ppc ~ppc64 ~riscv ~sparc" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" S="${WORKDIR}/SVT-AV1-v${PV}" fi |