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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53B9713835A for ; Sun, 24 May 2020 20:25:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A4BAE0996; Sun, 24 May 2020 20:25:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8354CE0996 for ; Sun, 24 May 2020 20:25:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7899734EE0C for ; Sun, 24 May 2020 20:25:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8220A268 for ; Sun, 24 May 2020 20:25:11 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1590351831.132ec2330862d4305e3d450e08325862a88451b2.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/x265/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/x265/x265-3.3.ebuild X-VCS-Directories: media-libs/x265/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 132ec2330862d4305e3d450e08325862a88451b2 X-VCS-Branch: master Date: Sun, 24 May 2020 20:25:11 +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: 6e658216-a1a3-40a1-9a5b-492e3a635086 X-Archives-Hash: af2fafab24effd20343d4355a7fdd660 commit: 132ec2330862d4305e3d450e08325862a88451b2 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun May 24 15:12:10 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun May 24 20:23:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132ec233 media-libs/x265: add USE=cpu_flags_ppc_altivec Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/x265/x265-3.3.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/media-libs/x265/x265-3.3.ebuild b/media-libs/x265/x265-3.3.ebuild index f5c4fee6d97..a8595e79d05 100644 --- a/media-libs/x265/x265-3.3.ebuild +++ b/media-libs/x265/x265-3.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="http://x265.org/ https://bitbucket.org/multicoreware/x265/wiki/Home" LICENSE="GPL-2" # subslot = libx265 soname SLOT="0/188" -IUSE="+asm +10bit +12bit cpu_flags_arm_neon numa pic power8 test" +IUSE="+asm +10bit +12bit cpu_flags_arm_neon cpu_flags_ppc_altivec numa pic power8 test" # Test suite requires assembly support and is known to be broken RESTRICT="test" @@ -128,8 +128,6 @@ multilib_src_configure() { local myabicmakeargs=( $(multilib_is_native_abi || echo "-DENABLE_CLI=OFF") -DENABLE_LIBNUMA=$(usex numa ON OFF) - -DCPU_POWER8=$(usex power8 ON OFF) - -DENABLE_ALTIVEC=$(usex power8 ON OFF) -DLIB_INSTALL_DIR="$(get_libdir)" ) @@ -156,6 +154,11 @@ multilib_src_configure() { elif use asm ; then supports_asm=no fi + elif [[ ${ABI} = ppc* ]] ; then + myabicmakeargs+=( + -DCPU_POWER8=$(usex power8 ON OFF) + -DENABLE_ALTIVEC=$(usex cpu_flags_ppc_altivec ON OFF) + ) fi if [[ "${supports_asm}" = yes ]] && use asm ; then