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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67751158095 for ; Sat, 10 Sep 2022 08:41:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DC16E0932; Sat, 10 Sep 2022 08:41:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72B30E0932 for ; Sat, 10 Sep 2022 08:41:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E20E340F76 for ; Sat, 10 Sep 2022 08:41:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4974F5EB for ; Sat, 10 Sep 2022 08:41:47 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1662799233.867b93036a4a7886fbe0bdc6c92ea5192b9e602a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/flac/flac-1.4.0-r1.ebuild media-libs/flac/flac-1.4.0.ebuild X-VCS-Directories: media-libs/flac/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 867b93036a4a7886fbe0bdc6c92ea5192b9e602a X-VCS-Branch: master Date: Sat, 10 Sep 2022 08:41:47 +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: 78c67dcb-1710-4bef-89de-cacee44fec07 X-Archives-Hash: 893949b9e744289ccba08b3d64de4785 commit: 867b93036a4a7886fbe0bdc6c92ea5192b9e602a Author: Sam James gentoo org> AuthorDate: Sat Sep 10 08:37:05 2022 +0000 Commit: Sam James gentoo 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 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" +# - +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)