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 10F3F158094 for ; Sat, 23 Jul 2022 17:51:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44248E09D6; Sat, 23 Jul 2022 17:51:23 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16608E09D6 for ; Sat, 23 Jul 2022 17:51:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02615340DE2 for ; Sat, 23 Jul 2022 17:51:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 92345525 for ; Sat, 23 Jul 2022 17:51:20 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1658598654.9d86757bf63ca43fc97c236c616d0dfd8d8b4912.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/melonds/melonds-0.9.3-r2.ebuild games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild games-emulation/melonds/melonds-9999.ebuild X-VCS-Directories: games-emulation/melonds/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 9d86757bf63ca43fc97c236c616d0dfd8d8b4912 X-VCS-Branch: master Date: Sat, 23 Jul 2022 17:51:20 +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: 6e188edb-44dc-4841-a94e-48dfb2dfb248 X-Archives-Hash: e0d43ec2d30c354e697784ed44f26fc3 commit: 9d86757bf63ca43fc97c236c616d0dfd8d8b4912 Author: Maciej Barć gentoo org> AuthorDate: Sat Jul 23 17:50:54 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Jul 23 17:50:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d86757b games-emulation/melonds: filter lto Closes: https://bugs.gentoo.org/858710 Signed-off-by: Maciej Barć gentoo.org> games-emulation/melonds/melonds-0.9.3-r2.ebuild | 3 ++- games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild | 3 ++- games-emulation/melonds/melonds-9999.ebuild | 7 ++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/games-emulation/melonds/melonds-0.9.3-r2.ebuild b/games-emulation/melonds/melonds-0.9.3-r2.ebuild index 0cde97c7b287..b1d97b5c25e1 100644 --- a/games-emulation/melonds/melonds-0.9.3-r2.ebuild +++ b/games-emulation/melonds/melonds-0.9.3-r2.ebuild @@ -6,7 +6,7 @@ EAPI=8 MY_PN="melonDS" MY_P="${MY_PN}-${PV}" -inherit cmake readme.gentoo-r1 toolchain-funcs xdg +inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg DESCRIPTION="Nintendo DS emulator, sorta" HOMEPAGE=" @@ -58,6 +58,7 @@ PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch ) src_prepare() { rm -r ./src/teakra || die + filter-lto cmake_src_prepare } diff --git a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild index 706876b372f2..33b284219a0e 100644 --- a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild +++ b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 MY_PN="melonDS" MY_P="${MY_PN}-${PV}" -inherit cmake readme.gentoo-r1 toolchain-funcs xdg +inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg DESCRIPTION="Nintendo DS emulator, sorta" HOMEPAGE=" @@ -58,6 +58,7 @@ PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch ) src_prepare() { rm -r ./src/teakra || die + filter-lto cmake_src_prepare } diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild index 2cec9318a988..1ea9a4f84e6e 100644 --- a/games-emulation/melonds/melonds-9999.ebuild +++ b/games-emulation/melonds/melonds-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 MY_PN="melonDS" MY_P="${MY_PN}-${PV}" -inherit cmake readme.gentoo-r1 toolchain-funcs xdg +inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg DESCRIPTION="Nintendo DS emulator, sorta" HOMEPAGE=" @@ -53,6 +53,11 @@ DOC_CONTENTS="You need the following files in order to run melonDS: Place them in ~/.config/melonDS Those files can be found somewhere on the Internet ;-)" +src_prepare(){ + filter-lto + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DENABLE_JIT=$(usex jit)