commit:     6128f01f2648d14c91363ddc89f868d8938a4b2e
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 08:32:47 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 08:33:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6128f01f

media-sound/audacity: disabled ccache in 2.4.2-r1

Closes: https://bugs.gentoo.org/735642
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/audacity/audacity-2.4.2-r1.ebuild         |  1 +
 .../files/audacity-2.4.2-disable-ccache.patch         | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/media-sound/audacity/audacity-2.4.2-r1.ebuild 
b/media-sound/audacity/audacity-2.4.2-r1.ebuild
index e6c8898ad22..f7df783a70c 100644
--- a/media-sound/audacity/audacity-2.4.2-r1.ebuild
+++ b/media-sound/audacity/audacity-2.4.2-r1.ebuild
@@ -65,6 +65,7 @@ PATCHES=(
        "${FILESDIR}/${P}-fix-gettimeofday.patch"
        "${FILESDIR}/${P}-fix-metainfo.patch"
        "${FILESDIR}/${P}-add-missing-include-portaudio.patch"
+       "${FILESDIR}/${P}-disable-ccache.patch"
 )
 
 src_prepare() {

diff --git a/media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch 
b/media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch
new file mode 100644
index 00000000000..03acf6a2058
--- /dev/null
+++ b/media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4ff5430..9c9dbf6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -69,14 +69,6 @@ set( CMAKE_MODULE_PATH 
${CMAKE_SOURCE_DIR}/cmake-proxies/cmake-modules)
+ set( CMAKE_CXX_STANDARD 14 )
+ set( CMAKE_CXX_STANDARD_REQUIRED ON )
+ 
+-# Use ccache if available
+-find_program( CCACHE_PROGRAM ccache )
+-mark_as_advanced( FORCE CCACHE_PROGRAM )
+-
+-if( CCACHE_PROGRAM )
+-   set_property( GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}" )
+-endif()
+-
+ # Our very own project
+ project( Audacity )
+ 

Reply via email to