mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-11-16 12:47:24 +01:00
Bundle olm and Imaging
This commit is contained in:
parent
9622dd89aa
commit
0cee5b61cb
@ -192,6 +192,7 @@ build_linux:
|
|||||||
- flutter config --enable-linux-desktop
|
- flutter config --enable-linux-desktop
|
||||||
- flutter pub get
|
- flutter pub get
|
||||||
- flutter build linux --release
|
- flutter build linux --release
|
||||||
|
- ./linux/install_libs.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_success
|
when: on_success
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
16
linux/install_libs.sh
Executable file
16
linux/install_libs.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
git clone https://gitlab.com/famedly/libraries/olm.git
|
||||||
|
cd olm
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -DOLM_TESTS=OFF .
|
||||||
|
cmake --build .
|
||||||
|
cp -P libolm.so* ../../build/linux/release/bundle/lib
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
git clone https://gitlab.com/famedly/libraries/native_imaging.git
|
||||||
|
cd native_imaging/ios/src
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -DSYSTEM_LIBJPEG=OFF .
|
||||||
|
cmake --build .
|
||||||
|
cp libImaging.so ../../../../build/linux/release/bundle/lib
|
||||||
|
cd ../../..
|
||||||
Loading…
x
Reference in New Issue
Block a user