Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37634723
en ru br
ALT Linux repositórios
S:1.4.287-alt2
D:1.1.3-alt0.1

Group :: Rede/Chat
RPM: mumble

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: replace-submodule-to-find-python.patch
Download


From 009f1f383a6e244bc923b3d07156bfa6094b8382 Mon Sep 17 00:00:00 2001
From: Arseny Maslennikov <arseny@altlinux.org>
Date: Tue, 17 Jan 2023 19:31:31 +0300
Subject: [PATCH] patch: replace submodule to find python
---
 cmake/qt-utils.cmake | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/cmake/qt-utils.cmake b/cmake/qt-utils.cmake
index fc7327540..7242a8891 100644
--- a/cmake/qt-utils.cmake
+++ b/cmake/qt-utils.cmake
@@ -3,7 +3,7 @@
 # that can be found in the LICENSE file at the root of the
 # Mumble source tree or at <https://www.mumble.info/LICENSE>.
 
-include(FindPythonInterpreter)
+#include(FindPythonInterpreter)
 
 function(include_qt_plugin TARGET SCOPE PLUGIN)
 	set(PATH "${CMAKE_CURRENT_BINARY_DIR}/${TARGET}_plugin_import.cpp")
@@ -106,12 +106,8 @@ function(bundle_qt_translations TARGET)
 		"C:/Python39-x64" # Path on the AppVeyor CI server
 	)
 
-	find_python_interpreter(
-		VERSION 3
-		INTERPRETER_OUT_VAR PYTHON_INTERPRETER
-		HINTS ${PYTHON_HINTS}
-		REQUIRED
-	)
+	find_package(Python3 COMPONENTS Interpreter QUIET)
+	set(PYTHON_INTERPRETER "${Python3_EXECUTABLE}")
 
 	set(GENERATED_QRC_FILE "${CMAKE_CURRENT_BINARY_DIR}/mumble_qt_translations.qrc")
 
-- 
2.33.5
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009