modify packages and define build script
This commit is contained in:
parent
5841df96ee
commit
fbe67ec772
5 changed files with 20 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
# GlobalForest
|
||||
|
||||
A map-based social gardening
|
||||
|
||||
setup_packages.sh - install ubuntu system package requierments
|
||||
setup_venv.sh - prepares the virtual environemnt and install pip modules in it
|
||||
|
||||
build.sh - run buildozer inside the virtual env to build and deploy
|
||||
cleanup.sh - removes the work dirs from the local repo
|
||||
|
|
3
build.sh
Executable file
3
build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
buildozer android debug deploy run
|
|
@ -1,5 +1,3 @@
|
|||
buildozer
|
||||
cython
|
||||
ffpyplayer
|
||||
Kivy
|
||||
Kivy-examples
|
||||
|
|
|
@ -2,12 +2,17 @@
|
|||
|
||||
# Install necessary system packages
|
||||
sudo apt-get install -y \
|
||||
python3-pip \
|
||||
build-essential \
|
||||
git \
|
||||
zip \
|
||||
build-essential \
|
||||
cmake \
|
||||
libtool \
|
||||
pkg-config \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
ffmpeg \
|
||||
libtinfo5 \
|
||||
libffi-dev \
|
||||
libsdl2-dev \
|
||||
libsdl2-image-dev \
|
||||
|
@ -17,6 +22,8 @@ sudo apt-get install -y \
|
|||
libswscale-dev \
|
||||
libavformat-dev \
|
||||
libavcodec-dev \
|
||||
libncurses5-dev \
|
||||
libncursesw5-dev \
|
||||
zlib1g-dev
|
||||
|
||||
# Install gstreamer for audio, video (optional)
|
||||
|
@ -27,5 +34,5 @@ sudo apt-get install -y \
|
|||
|
||||
# Install OpenJDK
|
||||
sudo apt-get install -y \
|
||||
default-jdk \
|
||||
openjdk-8-jdk
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
python3 -m pip install --upgrade --user pip setuptools virtualenv
|
||||
python3 -m pip install --upgrade --user pip setuptools virtualenv cython
|
||||
python3 -m virtualenv venv
|
||||
source venv/bin/activate
|
||||
ls
|
||||
|
|
Loading…
Reference in a new issue