public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/svt-av1/
Date: Mon,  4 Oct 2021 12:21:25 +0000 (UTC)	[thread overview]
Message-ID: <1633349947.45bd649d6dd83916126e9d484b679bfa087ab441.ionen@gentoo> (raw)

commit:     45bd649d6dd83916126e9d484b679bfa087ab441
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Mon Oct  4 06:59:34 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> 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 <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/21340
Signed-off-by: Ionen Wolkens <ionen <AT> 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'


             reply	other threads:[~2021-10-04 12:21 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 12:21 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-12  3:29 [gentoo-commits] repo/gentoo:master commit in: media-libs/svt-av1/ Eli Schwartz
2024-08-12  3:29 Eli Schwartz
2024-01-28 20:56 Jonas Stein
2023-12-06 17:57 Ionen Wolkens
2023-11-23 17:12 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:16 Sam James
2023-06-13 14:36 Jason A. Donenfeld
2023-06-01  6:22 Sam James
2023-06-01  5:32 Joonas Niilola
2023-06-01  5:31 Sam James
2023-06-01  5:22 Sam James
2023-06-01  5:22 Sam James
2023-04-07 11:41 Sam James
2023-04-07 11:41 Sam James
2023-04-07 11:39 Sam James
2023-03-03  6:28 Viorel Munteanu
2022-10-17  6:45 Agostino Sarubbo
2022-10-17  6:44 Agostino Sarubbo
2022-10-17  6:43 Agostino Sarubbo
2022-10-17  5:28 Arthur Zamarin
2022-08-08 12:39 Agostino Sarubbo
2022-08-05  7:16 Agostino Sarubbo
2022-08-04  8:03 Agostino Sarubbo
2022-06-20  2:35 Sam James
2022-05-17 14:07 WANG Xuerui
2022-05-17 14:07 WANG Xuerui
2022-02-24 21:56 Sam James
2022-02-24 21:56 Sam James
2022-01-15 10:25 Jakov Smolić
2021-11-17  2:16 Sam James
2021-11-15 19:41 Agostino Sarubbo
2021-11-15 16:29 Agostino Sarubbo
2021-11-15  8:45 Jakov Smolić
2021-11-14  5:45 Sam James
2021-11-14  5:41 Sam James
2021-11-14  5:38 Sam James
2021-11-14  5:22 Sam James
2021-11-14  3:21 Sam James
2021-11-13 11:30 Arthur Zamarin
2021-11-13 10:48 Joonas Niilola
2021-11-11  9:47 Jakov Smolić
2021-10-04 12:21 Ionen Wolkens
2021-10-04 12:21 Ionen Wolkens
2021-09-07  3:05 Sam James
2021-09-07  3:03 Sam James
2021-08-02 12:33 Marek Szuba
2021-05-16 20:00 Sam James
2021-04-25 17:35 Sam James
2021-04-25  9:31 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-04-18  2:08 Sam James
2021-02-21 19:48 Sam James
2021-02-11  7:37 Sergei Trofimovich
2021-02-11  7:36 Sergei Trofimovich
2021-02-09 21:41 Sam James
2021-02-05  2:06 Sam James
2021-01-22 18:43 Sam James
2021-01-11 17:34 Sergei Trofimovich
2021-01-10  3:42 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1633349947.45bd649d6dd83916126e9d484b679bfa087ab441.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox