games-emulation/melonds: filter lto

Closes: https://bugs.gentoo.org/858710
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-07-23 19:50:54 +02:00
parent 09e3e38929
commit 9d86757bf6
3 changed files with 10 additions and 3 deletions
@@ -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
}
@@ -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
}
+6 -1
View File
@@ -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)