diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
commit | be8708090362c01c6111c4b76f1e395c14d86e00 (patch) | |
tree | bb61ca73e867522450783849eb63c9e1f0ba1730 /media-libs/svt-av1 | |
parent | e93a38d535f2c29b55a5756d2de99425986b0bf3 (diff) |
gentoo auto-resync : 13:08:2024 - 11:06:03
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-2.1.2.ebuild | 46 | ||||
-rw-r--r-- | media-libs/svt-av1/svt-av1-9999.ebuild | 7 |
3 files changed, 53 insertions, 4 deletions
diff --git a/media-libs/svt-av1/Manifest b/media-libs/svt-av1/Manifest index ca84e328bb72..adc83ba456fb 100644 --- a/media-libs/svt-av1/Manifest +++ b/media-libs/svt-av1/Manifest @@ -1,9 +1,11 @@ AUX svt-av1-1.5.0-fortify-no-override.patch 1064 BLAKE2B 0038d2f4554df3caf46cafd5afd70c7e9f38ad06433b317644883702697289f6ef2d739f0878c7b919643599602bfca87cdb5c63eee57c3ade81642d5fbbc4d6 SHA512 b6ca1931790300cef2459a455719d4604f5d219dd1eeceef2cc083e79778b1b270890ead05d3159d95059d4c8b16d6c3a04c56fc04ce089249280854728b71f8 DIST SVT-AV1-v1.4.1.tar.bz2 9440077 BLAKE2B ed79d566afaa22fdfb1925bf6a75e8e55abdec1f76333a0cfedc92f9ca524b36b622b5c40af5d4846a51a3cd9aa951eb617bf6007513d83b7f172c4f9bb0de27 SHA512 8297ef131ff8e7e6cbb0d19d2ba98904455d2953cde3fb0cbae714d050980a558e4cbed911968b5075d7aca758ca939a5091b68df557903387e3f22ac4bda1a1 DIST SVT-AV1-v1.5.0.tar.bz2 9490521 BLAKE2B 6f54c1706ed65b8248bc434411cfdea5869765c42682100f5aa6b72d08626bd896f6a9a8067ac8af3c89c72bd324e74942b0f424ff33cc2f6ff54d9204ef7581 SHA512 d5aa7679aeaa1e19f21906a36a7214c72cdaee77e1b5c1946ded43f8381ec2d705e671130589207b65b920a4fcaa9ca1d0037f88ef8d2303125d7f7aa54e3a2e +DIST SVT-AV1-v2.1.2.tar.bz2 11764554 BLAKE2B ad9b7a732ce3991ddbe796e52db1559928c10c94fb40e584c5e4ad0af8ac49b056c4b5219d62a3dfc0dc5122b82980fdab1675a80b8a20366da42f0dcebee9d4 SHA512 5858ac456971dd2d41ab6bf0e181cc9dfd9d408fb7ec0ee20d51a62cb2b92ea60fc389aea6478b8cce679f731fbac21e2ae0343a33e8e5b35efffc84d51d41d6 DIST svt-av1-1.1.0.tar.gz 9882945 BLAKE2B 2673fdbe17b36607e581cc540ca181672d16b3fbc0dd9c1a8b100ebea6b7a6872d6fa55976cb19c1c8afd50c5c09b67fbec1bcc892007ccd41e7f7ad68027d83 SHA512 87d661183de33554d228c2fa72deb9a945f2550083eb25688b4dc0676be384373a6a52af235066d85ce963ffbc7751c8afb46a2bc1c09e00f81ea0db5a232522 EBUILD svt-av1-1.1.0.ebuild 1230 BLAKE2B c052068cc58e86e6f8147b5fdadf06633dcfe6fcb4dd020783e151be6dec1f59a8e1f0fce7ce7164cf0980973dcd579b0aadbd5a063dd1b26d4db5cd427a54d6 SHA512 3be02f20fe8ad0b4990d669bea9a9e266f65c529a41dfbf833e5477fcd6534f7a515ced45612862fe8213acd577eea30699e0c84bb9e5ba60e78c743785a4bef EBUILD svt-av1-1.4.1.ebuild 1351 BLAKE2B d9d2c3936b391ab1ca9e55a0d54f8f01211df8860cb44d9a35901e0354674a9daa483cd15bcde347d0ebcd10da110e0a7fcad592bd3634a101a0ef1a2fa8dd39 SHA512 6be3587e7fb497cddfefe28552a7a1b701f1f58c1f7bc0136daaa973736a122352c65402e62828a0a1a132a5d8ad042788ba9734b8b5193e5db92d14cc3bcb9b EBUILD svt-av1-1.5.0-r1.ebuild 1445 BLAKE2B 683590cd7cef9c9db5370d90531c97d810d9455dca9db2a6e064d0a6ee2015eae7124bfe18b3078576b0610fdf1e01023f963ad6dac8b62db3a0120da0f2272d SHA512 1779f0d52033d26d4aa279bb8410951b19114bc616607a70de126515c8ecb3666179d19842eb41c6e95cb79aeb320e585f91b2af7ace1ecc8c445210eefc0246 -EBUILD svt-av1-9999.ebuild 1424 BLAKE2B 0dbc82ef36f8de6d4a1c37dce1a1a2580e3ae1cea759b17a72ae9b2b5bb0be017e2b06b11e4a370e64d0871fb6cb57aad4a88e00de0fc2e5e7a1b9eb324e089a SHA512 f1f66fc5989b29226ff251cb8ea42b773429e697d42972a31a13ddcc33cae295220fab9966a6113dc2d7017e0f74a3d5c4d4a96428cf50a392f2c734e90ec7fb +EBUILD svt-av1-2.1.2.ebuild 1465 BLAKE2B 4299f5da459e8b442edf4584bfe9b8349d30ea29ce60b7229ca158acc7a0a611000debba52f7dce195d9e05ded125b4031d9ada4559bb27177a2eb05ebbc81a1 SHA512 247fac35dd4dad9fe232184113d2725f98baabde7e934c5a53b74370ca449820adbfeeb8f3d98a15b424f3db0d707a5ec262696f363cdc7175d558cc662183de +EBUILD svt-av1-9999.ebuild 1465 BLAKE2B 4299f5da459e8b442edf4584bfe9b8349d30ea29ce60b7229ca158acc7a0a611000debba52f7dce195d9e05ded125b4031d9ada4559bb27177a2eb05ebbc81a1 SHA512 247fac35dd4dad9fe232184113d2725f98baabde7e934c5a53b74370ca449820adbfeeb8f3d98a15b424f3db0d707a5ec262696f363cdc7175d558cc662183de MISC metadata.xml 309 BLAKE2B a2ecbfce87a4b009eb73ed20aee779d72424bc55e47ad0584e81278ae60fde02cab3fff0d758d8d64c6c801ac2edfd482903677bfcdd8508d6317cde72a5928e SHA512 2aac0ede3b705ddb81342f85437aaf34cea0644a1c8a7cc06c9d4c1a7d47ee60993040418f774f395e27c818ca41b19a1bf1ef2143426e15c6ddf5fb588bf84f diff --git a/media-libs/svt-av1/svt-av1-2.1.2.ebuild b/media-libs/svt-av1/svt-av1-2.1.2.ebuild new file mode 100644 index 000000000000..32576529b547 --- /dev/null +++ b/media-libs/svt-av1/svt-av1-2.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2024 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.bz2" + KEYWORDS="~alpha ~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/$(ver_cut 1)" + +BDEPEND="amd64? ( dev-lang/yasm )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-fortify-no-override.patch +) + +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 + # .. and https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/.gitlab/workflows/linux/.gitlab-ci.yml implies it's all quite manual? + -DBUILD_TESTING=OFF + -DCMAKE_OUTPUT_DIRECTORY="${BUILD_DIR}" + -DENABLE_AVX512=ON + ) + + [[ ${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 01c83e30f392..32576529b547 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-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,13 +13,13 @@ 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.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~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" +SLOT="0/$(ver_cut 1)" BDEPEND="amd64? ( dev-lang/yasm )" @@ -37,6 +37,7 @@ multilib_src_configure() { # .. and https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/.gitlab/workflows/linux/.gitlab-ci.yml implies it's all quite manual? -DBUILD_TESTING=OFF -DCMAKE_OUTPUT_DIRECTORY="${BUILD_DIR}" + -DENABLE_AVX512=ON ) [[ ${ABI} != amd64 ]] && mycmakeargs+=( -DCOMPILE_C_ONLY=ON ) |