From e3d7bfac7ac30a9b1f1b90ce1a95af224e0b30d3 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 24 Feb 2022 17:46:55 -0500 Subject: media-libs/svt-av1: drop --- media-libs/svt-av1/Manifest | 1 - .../svt-av1/files/svt-av1-0.8.6-no-force-avx.patch | 18 -------- media-libs/svt-av1/metadata.xml | 7 --- media-libs/svt-av1/svt-av1-0.8.7.ebuild | 53 ---------------------- media-libs/svt-av1/svt-av1-9999.ebuild | 53 ---------------------- 5 files changed, 132 deletions(-) delete mode 100644 media-libs/svt-av1/Manifest delete mode 100644 media-libs/svt-av1/files/svt-av1-0.8.6-no-force-avx.patch delete mode 100644 media-libs/svt-av1/metadata.xml delete mode 100644 media-libs/svt-av1/svt-av1-0.8.7.ebuild delete mode 100644 media-libs/svt-av1/svt-av1-9999.ebuild diff --git a/media-libs/svt-av1/Manifest b/media-libs/svt-av1/Manifest deleted file mode 100644 index 6208e0d..0000000 --- a/media-libs/svt-av1/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST svt-av1-0.8.7.tar.gz 6396358 BLAKE2B 21a0d319078887809d08276b1a11b6dcca1be90a79c6bda19b86749fabb623918b9112de8ae3c7740b14f23d52e4e1c12ec0190f49880b09993525a857f8e334 SHA512 812b794eda930f53dcba6bb02bc5a3f417346705d64f590d7acf2d45df8d10985bd40c313eaaed514601ab699e23c87852059b9eb0b0ff8a717ef9fd80a132f7 diff --git a/media-libs/svt-av1/files/svt-av1-0.8.6-no-force-avx.patch b/media-libs/svt-av1/files/svt-av1-0.8.6-no-force-avx.patch deleted file mode 100644 index 62f3b9b..0000000 --- a/media-libs/svt-av1/files/svt-av1-0.8.6-no-force-avx.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://bugs.gentoo.org/785556 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -170,14 +170,6 @@ - endif() - endforeach() - --if(CMAKE_C_FLAGS MATCHES ".*-march=native.*") -- string(APPEND CMAKE_C_FLAGS " -mno-avx") --endif() -- --if(CMAKE_CXX_FLAGS MATCHES ".*-march=native.*") -- string(APPEND CMAKE_CXX_FLAGS " -mno-avx") --endif() -- - if(CMAKE_ASM_NASM_OBJECT_FORMAT MATCHES "win") - set(CMAKE_ASM_NASM_FLAGS_DEBUG "${CMAKE_ASM_NASM_FLAGS_DEBUG} -gcv8") - elseif(CMAKE_ASM_NASM_COMPILER MATCHES "nasm") diff --git a/media-libs/svt-av1/metadata.xml b/media-libs/svt-av1/metadata.xml deleted file mode 100644 index 8b50750..0000000 --- a/media-libs/svt-av1/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - AOMediaCodec/SVT-AV1 - - diff --git a/media-libs/svt-av1/svt-av1-0.8.7.ebuild b/media-libs/svt-av1/svt-av1-0.8.7.ebuild deleted file mode 100644 index 7984c55..0000000 --- a/media-libs/svt-av1/svt-av1-0.8.7.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2020-2021 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="~alpha ~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 )" - -src_prepare() { - if ! use amd64 ; then - # This _should_ be possible on amd64 too, but breaks with -O3 - # without AVX. - # bug #785556 - eapply "${FILESDIR}"/${PN}-0.8.6-no-force-avx.patch - fi - - cmake_src_prepare -} - -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 - ) - - if [[ ${ABI} != amd64 ]]; then - mycmakeargs+=( -DCOMPILE_C_ONLY=ON ) - fi - - cmake_src_configure -} diff --git a/media-libs/svt-av1/svt-av1-9999.ebuild b/media-libs/svt-av1/svt-av1-9999.ebuild deleted file mode 100644 index 7984c55..0000000 --- a/media-libs/svt-av1/svt-av1-9999.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2020-2021 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="~alpha ~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 )" - -src_prepare() { - if ! use amd64 ; then - # This _should_ be possible on amd64 too, but breaks with -O3 - # without AVX. - # bug #785556 - eapply "${FILESDIR}"/${PN}-0.8.6-no-force-avx.patch - fi - - cmake_src_prepare -} - -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 - ) - - if [[ ${ABI} != amd64 ]]; then - mycmakeargs+=( -DCOMPILE_C_ONLY=ON ) - fi - - cmake_src_configure -} -- cgit v1.2.3-70-g09d2