Added zbarcam deps

- replaces libpng wth pypng
This commit is contained in:
surbhi 2024-07-29 08:14:20 +05:30
parent e6ece59e0d
commit efaa63c14c
Signed by untrusted user: surbhi
GPG Key ID: BD938EA4D030869A
3 changed files with 5 additions and 2 deletions

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