* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/, games-emulation/melonds/files/
@ 2022-11-08 12:14 Maciej Barć
0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-11-08 12:14 UTC (permalink / raw
To: gentoo-commits
commit: 2d154facd31faabe2167be34185d33ee32088524
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 8 12:14:47 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Nov 8 12:14:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d154fac
games-emulation/melonds: do not use CMake ccache detection
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../files/melonds-0.9.5-no-ccache-detection.patch | 16 ++++++++++++++++
games-emulation/melonds/melonds-0.9.5-r3.ebuild | 2 ++
2 files changed, 18 insertions(+)
diff --git a/games-emulation/melonds/files/melonds-0.9.5-no-ccache-detection.patch b/games-emulation/melonds/files/melonds-0.9.5-no-ccache-detection.patch
new file mode 100644
index 000000000000..0a00b1057f58
--- /dev/null
+++ b/games-emulation/melonds/files/melonds-0.9.5-no-ccache-detection.patch
@@ -0,0 +1,16 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -92,13 +92,6 @@ endif()
+
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+
+-find_program(CCACHE "ccache")
+-if (CCACHE)
+- message(STATUS "Using CCache to speed up compilation")
+- set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
+- set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
+-endif()
+-
+ option(BUILD_QT_SDL "Build Qt/SDL frontend" ON)
+
+ add_subdirectory(src)
diff --git a/games-emulation/melonds/melonds-0.9.5-r3.ebuild b/games-emulation/melonds/melonds-0.9.5-r3.ebuild
index 380ce1eb8140..49156ca69002 100644
--- a/games-emulation/melonds/melonds-0.9.5-r3.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r3.ebuild
@@ -42,6 +42,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="kde-frameworks/extra-cmake-modules:5"
+PATCHES=( "${FILESDIR}"/${P}-no-ccache-detection.patch )
+
# used for JIT recompiler
QA_EXECSTACK="usr/bin/melonDS"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-08 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-08 12:14 [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/, games-emulation/melonds/files/ Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox