From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9638E158018 for ; Mon, 4 Oct 2021 12:21:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5061E086C; Mon, 4 Oct 2021 12:21:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9B7EE086C for ; Mon, 4 Oct 2021 12:21:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4464934301F for ; Mon, 4 Oct 2021 12:21:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D727B129 for ; Mon, 4 Oct 2021 12:21:25 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1633349947.45bd649d6dd83916126e9d484b679bfa087ab441.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/svt-av1/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/svt-av1/svt-av1-9999.ebuild X-VCS-Directories: media-libs/svt-av1/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 45bd649d6dd83916126e9d484b679bfa087ab441 X-VCS-Branch: master Date: Mon, 4 Oct 2021 12:21:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9937b3c7-31d2-46f7-82f0-6ae93713ba30 X-Archives-Hash: 70c169bfd90ebf74dac19199e77e6c74 commit: 45bd649d6dd83916126e9d484b679bfa087ab441 Author: James Beddek posteo de> AuthorDate: Mon Oct 4 06:59:34 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Oct 4 12:19:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bd649d media-libs/svt-av1: sync live, EAPI 8 Signed-off-by: James Beddek posteo.de> Closes: https://github.com/gentoo/gentoo/pull/21340 Signed-off-by: Ionen Wolkens gentoo.org> media-libs/svt-av1/svt-av1-9999.ebuild | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/media-libs/svt-av1/svt-av1-9999.ebuild b/media-libs/svt-av1/svt-av1-9999.ebuild index 9c3996507ab..77664dd90a3 100644 --- a/media-libs/svt-av1/svt-av1-9999.ebuild +++ b/media-libs/svt-av1/svt-av1-9999.ebuild @@ -1,30 +1,42 @@ # Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake flag-o-matic DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)" -HOMEPAGE="https://github.com/AOMediaCodec/SVT-AV1" +HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1" if [[ ${PV} = 9999 ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/AOMediaCodec/SVT-AV1.git" + EGIT_REPO_URI="https://gitlab.com/AOMediaCodec/SVT-AV1.git" else - SRC_URI="https://github.com/AOMediaCodec/SVT-AV1/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 -x86" # -x86: https://github.com/AOMediaCodec/SVT-AV1/issues/1231 - S="${WORKDIR}/SVT-AV1-${PV}" + 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" # -x86: https://github.com/AOMediaCodec/SVT-AV1/issues/1231 + 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" -DEPEND="amd64? ( dev-lang/yasm )" +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 +} 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'