commit:     8625fc0f300c42c98d8db1c029ebcbe682d009e2
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 20 04:46:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  5 05:24:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8625fc0f

games-emulation/mednafen-jg: add cpu_flags_x86_avx

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/34381
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/mednafen-jg/mednafen-jg-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild
index 0c98a116fa35..9949818d7a2d 100644
--- a/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild
+++ b/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,11 +15,12 @@ if [[ "${PV}" == *9999 ]] ; then
 else
        
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
        S="${WORKDIR}/${MY_P}"
-       KEYWORDS="~amd64"
+       KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
 SLOT="1"
+IUSE="cpu_flags_x86_avx"
 
 DEPEND="
        app-arch/zstd
@@ -46,7 +47,7 @@ src_prepare() {
 
 src_configure() {
        cd jollygood/conf || die
-       econf
+       econf $(use_enable cpu_flags_x86_avx avx)
 }
 
 src_compile() {

Reply via email to