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 0B7D813835A for ; Mon, 1 Feb 2021 16:10:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E6A9E092C; Mon, 1 Feb 2021 16:10:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 354ECE092C for ; Mon, 1 Feb 2021 16:10:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CD39134106A for ; Mon, 1 Feb 2021 16:10:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3625B4B0 for ; Mon, 1 Feb 2021 16:10:48 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1612195650.29386f5cbe7532838f7ed9e50528c899b36b261c.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/kodi/kodi-9999.ebuild X-VCS-Directories: media-tv/kodi/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 29386f5cbe7532838f7ed9e50528c899b36b261c X-VCS-Branch: master Date: Mon, 1 Feb 2021 16:10:48 +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: 3b7292aa-ee84-4c55-8fe3-77709afaec66 X-Archives-Hash: e3797683506cab4477e059d4a3230560 commit: 29386f5cbe7532838f7ed9e50528c899b36b261c Author: Craig Andrews gentoo org> AuthorDate: Mon Feb 1 16:05:20 2021 +0000 Commit: Craig Andrews gentoo org> CommitDate: Mon Feb 1 16:07:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29386f5c media-tv/kodi: use CPU_FLAGS_* flags Compile Kodi according to CPU_FLAGS_* USE expand flags instead of compile-time detected host CPU features Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Evgeny Grin narod.ru> Signed-off-by: Craig Andrews gentoo.org> media-tv/kodi/kodi-9999.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 5b80fb84d04..b752b9ffc6e 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -40,6 +40,7 @@ SLOT="0" # it is _required_ for USB support. Otherwise they'll disable udev and # that's going to be worse. IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba systemd +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} || ( gles opengl ) @@ -224,6 +225,14 @@ src_configure() { use X && platform+=( x11 ) local core_platform_name="${platform[@]}" local mycmakeargs=( + -DENABLE_SSE=$(usex cpu_flags_x86_sse) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + -DENABLE_SSE3=$(usex cpu_flags_x86_sse3) + -DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1) + -DENABLE_SSE4_2=$(usex cpu_flags_x86_sse4_2) + -DENABLE_AVX=$(usex cpu_flags_x86_avx) + -DENABLE_AVX2=$(usex cpu_flags_x86_avx2) + -DENABLE_NEON=$(usex cpu_flags_arm_neon) -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" -DVERBOSE=ON -DENABLE_LDGOLD=OFF # https://bugs.gentoo.org/show_bug.cgi?id=606124