Group :: Rede/Chat
RPM: mumble
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: gtav-exclusive-x86_64.patch
Download
Download
From 03365c1ebea86f83374b6d3e590cbd0742216779 Mon Sep 17 00:00:00 2001
From: Arseny Maslennikov <arseny@altlinux.org>
Date: Thu, 19 Jan 2023 16:21:50 +0300
Subject: [PATCH] Disable gtav plugin on every arch except x86_64
---
plugins/gtav/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plugins/gtav/CMakeLists.txt b/plugins/gtav/CMakeLists.txt
index c37210382..9a8cb6222 100644
--- a/plugins/gtav/CMakeLists.txt
+++ b/plugins/gtav/CMakeLists.txt
@@ -3,6 +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>.
+if("${MUMBLE_TARGET_ARCH}" STREQUAL "x64")
add_library(gtav SHARED
"gtav.cpp"
"Game.cpp"
@@ -17,3 +18,6 @@ if(WIN32)
else()
target_sources(gtav PRIVATE "../HostLinux.cpp")
endif()
+else()
+set(PLUGIN_RETRACTED ON PARENT_SCOPE)
+endif()
--
2.33.5