Kivy - fixes android build #2266

Merged
PeterSurda merged 1 commits from gitea-112 into v0.6 2024-09-20 14:18:08 +02:00
3 changed files with 5 additions and 2 deletions
Showing only changes of commit efaa63c14c - Show all commits

View File

@ -22,6 +22,9 @@ RUN apt-get -y update -qq \
RUN apt-get -y install -qq --no-install-recommends openjdk-17-jdk \ RUN apt-get -y install -qq --no-install-recommends openjdk-17-jdk \
&& apt-get -y autoremove && apt-get -y autoremove
# pyzbar dependencies
RUN apt-get -y install -qq --no-install-recommends libzbar0 libtool gettext
RUN pip install buildozer cython virtualenv RUN pip install buildozer cython virtualenv

View File

@ -11,7 +11,7 @@ echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMe
rm -rf src/pybitmessage rm -rf src/pybitmessage
mkdir -p src/pybitmessage mkdir -p src/pybitmessage
cp src/*.py src/pybitmessage cp src/*.py src/pybitmessage
cp -r src/bitmessagekivy src/backend src/mockbm src/pybitmessage cp -r src/bitmessagekivy src/backend src/mockbm src/images src/pybitmessage
pushd packages/android pushd packages/android

View File

@ -36,7 +36,7 @@ version = 0.1.1
# (list) Application requirements # (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy # comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy,sqlite3,kivymd==1.0.2,Pillow,opencv,kivy-garden.qrcode,qrcode,typing_extensions,libpng requirements = python3,kivy,sqlite3,kivymd==1.0.2,Pillow,opencv,kivy-garden.qrcode,qrcode,typing_extensions,pypng,pyzbar,xcamera,zbarcam
# (str) Custom source folders for requirements # (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes # Sets custom source for any requirements with recipes