1
0
Files
electrum/contrib/android/p4a_recipes/libzbar/__init__.py
SomberNight 0a6283b1ef build: bump zbar version in win/mac/android builds
- new version (0.23.93) fixes a security issue
  bb05ec54ee/ChangeLog (L5)
2024-01-10 20:46:38 +00:00

21 lines
736 B
Python

import os
from pythonforandroid.recipes.libzbar import LibZBarRecipe
from pythonforandroid.util import load_source
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py'))
assert LibZBarRecipe.depends == ['libiconv']
assert LibZBarRecipe.python_depends == []
class LibZBarRecipePinned(util.InheritedRecipeMixin, LibZBarRecipe):
version = "bb05ec54eec57f8397cb13fb9161372a281a1219"
url = "https://github.com/mchehab/zbar/archive/{version}.zip"
sha512sum = "186312ef0a50404efef79a5fbed34534569fab2873a6bb6d2e3d8ea64fa461c5537ca4fb0e659670d72b021e514f8fd4651b1e85954bf987015d8eb2e6f68375"
patches = [] # werror.patch not needed for modern zbar
recipe = LibZBarRecipePinned()