-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add lzo dependency - Publish source for the built libs - Add warning for missing nasm in tauri.mjs - Remove ffmpeg install from setup.sh - Add download logic for our linux ffmpeg bundle in preprep.mjs
- Loading branch information
1 parent
c2f39de
commit 097641d
Showing
10 changed files
with
70 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env -S bash -euo pipefail | ||
|
||
echo "Download lzo..." | ||
mkdir -p lzo | ||
|
||
curl_tar 'https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz' lzo 1 | ||
|
||
sed -i "/^if(0)/d" lzo/CMakeLists.txt | ||
sed -i "/^add_test/d" lzo/CMakeLists.txt | ||
sed -i "/^include(CTest)/d" lzo/CMakeLists.txt | ||
sed -ie 's/^if(1)/if(0)/' lzo/CMakeLists.txt | ||
sed -ie 's/^# main test driver/if(0)/' lzo/CMakeLists.txt | ||
|
||
# Remove unused components | ||
rm -r lzo/{B,util,tests,minilzo,lzotest,examples,autoconf,lzo2.pc.in,Makefile.am,Makefile.in,aclocal.m4,configure,config.hin} | ||
|
||
# Backup source | ||
bak_src 'lzo' | ||
|
||
mkdir -p lzo/build | ||
cd lzo/build | ||
|
||
echo "Build lzo..." | ||
cmake .. | ||
|
||
ninja -j"$(nproc)" | ||
|
||
ninja install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters