summarylogtreecommitdiffstats
path: root/010-simple64-remove-bundled-discord-and-vosk.patch
blob: dcc67745972a47cff273f937c5f63447523e4195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- a/build.sh
+++ b/build.sh
@@ -77,7 +77,7 @@ cmake -G Ninja -DCMAKE_BUILD_TYPE="${RELEASE_TYPE}" ..
 cmake --build .
 cp simple64-video-parallel.* "${install_dir}"
 
-if [[ ! -d "${base_dir}/discord" ]]; then
+if false; then
   echo "Downloading Discord SDK"
   mkdir -p "${base_dir}/discord"
   cd "${base_dir}/discord"
@@ -86,7 +86,7 @@ if [[ ! -d "${base_dir}/discord" ]]; then
   rm discord_game_sdk.zip
 fi
 
-if [[ ! -d "${base_dir}/vosk" ]]; then
+if false; then
   mkdir -p "${base_dir}/vosk"
   cd "${base_dir}/vosk"
   if [[ ${UNAME} == *"MINGW64"* ]]; then
@@ -157,12 +157,12 @@ if [[ ${UNAME} == *"MINGW64"* ]]; then
   cp -v "${base_dir}/discord/lib/x86_64/discord_game_sdk.dll" "${install_dir}"
   cp -v "${base_dir}/vosk/libvosk.dll" "${install_dir}/vosk.dll"
 else
-  cp "${base_dir}/vosk/libvosk.so" "${install_dir}"
+  #cp "${base_dir}/vosk/libvosk.so" "${install_dir}"
   if [[ "${PLATFORM}" == "aarch64" ]]; then
     my_os=linux_aarch64
   else
     my_os=linux_x86_64
-    cp "${base_dir}/discord/lib/x86_64/discord_game_sdk.so" "${install_dir}/libdiscord_game_sdk.so"
+    #cp "${base_dir}/discord/lib/x86_64/discord_game_sdk.so" "${install_dir}/libdiscord_game_sdk.so"
   fi
 fi