https://github.com/cypherstack/flutter_liblelantus
https://github.com/cypherstack/flutter_liblelantus
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cypherstack/flutter_liblelantus
- Owner: cypherstack
- License: other
- Created: 2022-01-07T21:41:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-03T19:56:41.000Z (about 1 year ago)
- Last Synced: 2025-04-03T20:35:06.115Z (about 1 year ago)
- Language: C++
- Size: 9.57 MB
- Stars: 2
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `flutter_liblelantus`
## Android
```sh
cd scripts/android
./install_ndk.sh
./build_all.sh
```
Libraries will be output to `scripts/android/build`
## iOS
```sh
cd scripts/ios
./build_all
```
Libraries will be output to `scripts/ios/build`
## Windows
### Install dependencies
Run `scripts/windows/mxedeps.sh` to install MXE and its dependencies, or use the commands below:
```bash
sudo apt-get install p7zip-full \
autoconf \
automake \
autopoint \
bash \
bison \
bzip2 \
cmake \
flex \
gettext \
git \
g++ \
gperf \
intltool \
libffi-dev \
libtool \
libtool-bin \
libltdl-dev \
libssl-dev \
libxml-parser-perl \
make \
openssl \
patch \
perl \
pkg-config \
python \
ruby \
scons \
sed \
unzip \
wget \
xz-utils \
g++-multilib \
libc6-dev-i386 \
lzip \
gcc-mingw-w64-x86-64 \
g++-mingw-w64-x86-64
mkdir -p ~/development
cd ~/development
git clone https://github.com/mxe/mxe.git
cd mxe
make cc cmake MXE_TARGETS='x86_64-w64-mingw32.static'
if ! [[ $PATH == *"/mxe"* ]]; then
echo 'export PATH="$HOME/development/mxe/usr/bin:$PATH"' >> ~/.bashrc # Prepend to PATH
source ~/.bashrc
fi
make cmake cmake-conf MXE_TARGETS='x86_64-w64-mingw32.static'
```
### Build
```sh
cd scripts/windows
./build_all.sh
```
(may need to alter permissions like with `chmod +x *.sh`)
Libraries will be output to `scripts/windows/build`