Kivy - fixes android build #2266
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in New Issue
Block a user