public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/
Date: Sun,  5 Apr 2020 00:12:19 +0000 (UTC)	[thread overview]
Message-ID: <1586045523.b3686ff7aee4ece15744169e0feda1ca0578e019.gyakovlev@gentoo> (raw)

commit:     b3686ff7aee4ece15744169e0feda1ca0578e019
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  4 23:57:34 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Apr  5 00:12:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3686ff7

media-libs/flac: switch to CPU_FLAGS_PPC

--enable-altivec prevented flac from compiling on G4/G5
due to misdetection of vsx
Adding proper flag allows to compile with altivec but without vsx.

Closes: https://bugs.gentoo.org/701308
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild b/media-libs/flac/flac-1.3.3.ebuild
index b3aea9e2746..0a616c50a7d 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="altivec +cxx debug ogg cpu_flags_x86_sse static-libs"
+IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_sse static-libs"
 
 RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
@@ -30,7 +30,8 @@ multilib_src_configure() {
 		--disable-examples
 		--disable-xmms-plugin
 		$([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
-		$(use_enable altivec)
+		$(use_enable cpu_flags_ppc_altivec altivec)
+		$(use_enable cpu_flags_ppc_vsx vsx)
 		$(use_enable cpu_flags_x86_sse sse)
 		$(use_enable cxx cpplibs)
 		$(use_enable debug)


             reply	other threads:[~2020-04-05  0:12 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05  0:12 Georgy Yakovlev [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  8:41 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
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=1586045523.b3686ff7aee4ece15744169e0feda1ca0578e019.gyakovlev@gentoo \
    --to=gyakovlev@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