From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/
Date: Sat, 10 Sep 2022 08:41:47 +0000 (UTC) [thread overview]
Message-ID: <1662799233.867b93036a4a7886fbe0bdc6c92ea5192b9e602a.sam@gentoo> (raw)
commit: 867b93036a4a7886fbe0bdc6c92ea5192b9e602a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 08:37:05 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 08:40:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867b9303
media-libs/flac: fix subslot (ABI broken), wire up AVX
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../flac/{flac-1.4.0.ebuild => flac-1.4.0-r1.ebuild} | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/media-libs/flac/flac-1.4.0.ebuild b/media-libs/flac/flac-1.4.0-r1.ebuild
similarity index 80%
rename from media-libs/flac/flac-1.4.0.ebuild
rename to media-libs/flac/flac-1.4.0-r1.ebuild
index 2a50c9496016..c986b3faabfc 100644
--- a/media-libs/flac/flac-1.4.0.ebuild
+++ b/media-libs/flac/flac-1.4.0-r1.ebuild
@@ -5,14 +5,21 @@ EAPI=8
inherit multilib-minimal
-DESCRIPTION="free lossless audio encoder and decoder"
+DESCRIPTION="Free lossless audio encoder and decoder"
HOMEPAGE="https://xiph.org/flac/"
SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
-SLOT="0"
+# <libFLAC SONAME>-<libFLAC++ SONAME>
+SLOT="0/10-12"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_sse static-libs"
+IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_avx2 cpu_flags_x86_avx cpu_flags_x86_sse static-libs"
+
+# AVX configure switch is for both AVX & AVX2
+REQUIRED_USE="
+ cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
+ cpu_flags_x86_avx? ( cpu_flags_x86_avx2 )
+"
RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
@@ -30,6 +37,7 @@ multilib_src_configure() {
$([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
$(use_enable cpu_flags_ppc_altivec altivec)
$(use_enable cpu_flags_ppc_vsx vsx)
+ $(use_enable cpu_flags_x86_avx avx)
$(use_enable cpu_flags_x86_sse sse)
$(use_enable cxx cpplibs)
$(use_enable debug)
next reply other threads:[~2022-09-10 8:41 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-10 8:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-08 3:19 [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/ Eli Schwartz
2024-07-04 14:44 Sam James
2024-06-17 5:22 Sam James
2023-08-04 22:40 Sam James
2023-08-02 15:11 Sam James
2023-07-24 18:43 Sam James
2023-07-24 15:05 Arthur Zamarin
2023-07-24 15:02 Arthur Zamarin
2023-07-24 14:57 Arthur Zamarin
2023-06-24 2:26 Sam James
2022-12-24 7:18 Sam James
2022-10-31 6:35 Miroslav Šulc
2022-10-28 3:37 Jakov Smolić
2022-10-28 3:37 Jakov Smolić
2022-10-25 12:12 Arthur Zamarin
2022-10-25 12:02 Arthur Zamarin
2022-10-25 11:54 Arthur Zamarin
2022-10-25 11:40 Arthur Zamarin
2022-10-25 11:40 Arthur Zamarin
2022-10-23 7:34 Miroslav Šulc
2022-10-21 4:05 Miroslav Šulc
2022-10-19 8:39 Agostino Sarubbo
2022-10-19 6:52 Agostino Sarubbo
2022-10-19 6:36 Agostino Sarubbo
2022-10-08 12:58 Sam James
2022-10-07 20:19 Sam James
2022-10-07 9:36 Agostino Sarubbo
2022-10-07 4:44 Arthur Zamarin
2022-09-25 3:51 Sam James
2022-09-10 10:40 Sam James
2022-09-10 10:23 Sam James
2022-09-10 6:21 Miroslav Šulc
2022-02-26 0:21 Sam James
2022-02-25 21:39 Sam James
2022-02-25 7:56 Agostino Sarubbo
2022-02-24 13:02 Sam James
2022-02-24 7:24 Agostino Sarubbo
2022-02-23 8:45 Jakov Smolić
2022-02-23 8:45 Jakov Smolić
2022-02-21 10:12 Miroslav Šulc
2021-10-03 13:47 James Le Cuirot
2021-07-13 11:21 Marek Szuba
2021-03-21 19:00 David Seifert
2021-01-23 21:13 Andreas Sturmlechner
2021-01-16 12:14 Miroslav Šulc
2020-07-21 23:15 Kent Fredric
2020-04-05 17:23 Andreas Sturmlechner
2020-04-05 17:22 Georgy Yakovlev
2020-04-05 0:12 Georgy Yakovlev
2019-11-27 20:15 Sergei Trofimovich
2019-11-27 13:22 Mikle Kolyada
2019-11-22 13:44 Matt Turner
2019-11-20 11:35 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-19 12:48 Agostino Sarubbo
2019-11-16 21:02 Aaron Bauman
2019-11-16 10:34 Sergei Trofimovich
2019-11-15 9:51 Agostino Sarubbo
2019-08-07 13:44 Lars Wendler
2017-08-31 12:58 Tim Harder
2017-01-20 5:06 Jeroen Roovers
2017-01-16 10:15 Agostino Sarubbo
2017-01-15 22:10 Tobias Klausmann
2017-01-13 16:49 Markus Meier
2017-01-10 22:27 Aaron Bauman
2017-01-08 21:03 Lars Wendler
2017-01-03 13:29 Lars Wendler
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=1662799233.867b93036a4a7886fbe0bdc6c92ea5192b9e602a.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