public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/svt-av1/
Date: Sun, 14 Nov 2021 05:38:01 +0000 (UTC)	[thread overview]
Message-ID: <1636868245.5d564bfd43936f5374fe9a7c008a765e5df18225.sam@gentoo> (raw)

commit:     5d564bfd43936f5374fe9a7c008a765e5df18225
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Sun Nov 14 05:28:53 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 05:37:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d564bfd

media-libs/svt-av1: enable amd64 multilib

Signed-off-by: James Beddek <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/22943
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/svt-av1/svt-av1-0.8.7.ebuild | 7 +++++--
 media-libs/svt-av1/svt-av1-9999.ebuild  | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/media-libs/svt-av1/svt-av1-0.8.7.ebuild b/media-libs/svt-av1/svt-av1-0.8.7.ebuild
index 6a3a498cd40a..643a0d195303 100644
--- a/media-libs/svt-av1/svt-av1-0.8.7.ebuild
+++ b/media-libs/svt-av1/svt-av1-0.8.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake flag-o-matic
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)"
 HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1"
@@ -23,7 +23,7 @@ SLOT="0"
 
 BDEPEND="amd64? ( dev-lang/yasm )"
 
-src_configure() {
+multilib_src_configure() {
 	append-ldflags -Wl,-z,noexecstack
 
 	local mycmakeargs=(
@@ -31,7 +31,10 @@ src_configure() {
 		# 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 16b50d3407b7..5f5a2bb626bd 100644
--- a/media-libs/svt-av1/svt-av1-9999.ebuild
+++ b/media-libs/svt-av1/svt-av1-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake flag-o-matic
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)"
 HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1"
@@ -23,7 +23,7 @@ SLOT="0"
 
 BDEPEND="amd64? ( dev-lang/yasm )"
 
-src_configure() {
+multilib_src_configure() {
 	append-ldflags -Wl,-z,noexecstack
 
 	local mycmakeargs=(
@@ -31,7 +31,10 @@ src_configure() {
 		# 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
 }


             reply	other threads:[~2021-11-14  5:38 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14  5:38 Sam James [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: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-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=1636868245.5d564bfd43936f5374fe9a7c008a765e5df18225.sam@gentoo \
    --to=sam@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