summarylogtreecommitdiffstats
path: root/020-m64p-change-optimizations.patch
diff options
context:
space:
mode:
authorDaniel Bermond2022-04-04 15:33:53 -0300
committerDaniel Bermond2022-04-04 15:33:53 -0300
commit87c9300d40d39abf7e18a7415d00ea78ed4e8fc6 (patch)
tree777f4de56b5981e7104d119034573dec303c92af /020-m64p-change-optimizations.patch
parent9df5ce77f995a12d2cdf37a5ae0e5b92b151305d (diff)
downloadaur-87c9300d40d39abf7e18a7415d00ea78ed4e8fc6.tar.gz
Remove bundled discord game sdk and vosk api. Disable dynarec.
Also removed the now unneeded minizip dependency. Discord game sdk and vosk-api are now dependencies, instead of being bundled inside the package. Pros: - size: package has very significant smaller size - convenience: vosk-api can be an optinal dependency (at least as far as I could gather, please let me know if not) - security: vosk-api dependency is built from source, instead of relying in a pre-built library shipped by upstream - security: vosk-api package is built with full relro support and fortify, oposing to the library shipped by upstream - performance: vosk-api package is built with lto enabled (suposing the user is building with devtools or with lto enabled in makepkg.conf) Cons: - increased total build time, as vosk-api takes a while to build If something break os goes wrong, we will consider rolling back the removal of bundled discord game sdk and vosk api.
Diffstat (limited to '020-m64p-change-optimizations.patch')
-rw-r--r--020-m64p-change-optimizations.patch13
1 files changed, 3 insertions, 10 deletions
diff --git a/020-m64p-change-optimizations.patch b/020-m64p-change-optimizations.patch
index 9ed2e60e3697..e1482efa4831 100644
--- a/020-m64p-change-optimizations.patch
+++ b/020-m64p-change-optimizations.patch
@@ -1,13 +1,6 @@
--- a/build.sh
+++ b/build.sh
-@@ -19,12 +19,14 @@ else
- suffix=".so"
- fi
-
-+export NEW_DYNAREC=1
-+
- install_dir=$PWD/mupen64plus
- mkdir -p $install_dir
+@@ -24,7 +24,7 @@ mkdir -p $install_dir
base_dir=$PWD
cd $base_dir/mupen64plus-core/projects/unix
@@ -16,7 +9,7 @@
cp -P $base_dir/mupen64plus-core/projects/unix/*$suffix* $install_dir
cp $base_dir/mupen64plus-core/data/* $install_dir
-@@ -75,9 +77,9 @@ fi
+@@ -75,9 +75,9 @@ fi
mkdir -p $base_dir/parallel-rsp/build
cd $base_dir/parallel-rsp/build
if [[ $UNAME == *"MINGW"* ]]; then
@@ -28,7 +21,7 @@
fi
cmake --build .
cp mupen64plus-rsp-parallel.* $install_dir
-@@ -85,9 +87,9 @@ cp mupen64plus-rsp-parallel.* $install_dir
+@@ -85,9 +85,9 @@ cp mupen64plus-rsp-parallel.* $install_dir
mkdir -p $base_dir/parallel-rdp-standalone/build
cd $base_dir/parallel-rdp-standalone/build
if [[ $UNAME == *"MINGW"* ]]; then