Skip to content

Commit

Permalink
Merge pull request #932 from Cheaterman/fix-zbarlight-recipe
Browse files Browse the repository at this point in the history
Fix zbarlight recipe
  • Loading branch information
AndreMiras authored Jul 26, 2024
2 parents ff420e5 + e345557 commit 2cd3d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BROKEN_RECIPES = set(["netifaces", "zbarlight", "kivent_core", "libzbar"])
BROKEN_RECIPES = set(["netifaces", "kivent_core"])

# recipes that were already built will be skipped
CORE_RECIPES = set(["kivy", "hostpython3", "python3"])
5 changes: 3 additions & 2 deletions kivy_ios/recipes/zbarlight/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class ZbarLightRecipe(Recipe):
version = "3.0"
url = "https://github.com/Polyconseil/zbarlight/archive/{version}.tar.gz"
library = "zbarlight.a"
library = "libzbarlight.a"
depends = ["hostpython3", "python3", "libzbar"]
pbx_libraries = ["libz", "libbz2", "libc++", "libsqlite3"]
pbx_frameworks = ["CoreMotion"]
Expand All @@ -21,6 +21,7 @@ def get_zbar_env(self, plat):
build_env["ARCH"] = plat.arch
build_env["ARM_LD"] = build_env["LD"]
build_env["LDSHARED"] = join(self.ctx.root_dir, "tools", "liblink")
build_env["PLATFORM_SDK"] = plat.sdk
return build_env

def build_platform(self, plat):
Expand Down Expand Up @@ -53,7 +54,7 @@ def biglink(self):
dirs.append(root)

cmd = sh.Command(join(self.ctx.root_dir, "tools", "biglink"))
shprint(cmd, join(self.build_dir, "zbarlight.a"), *dirs)
shprint(cmd, join(self.build_dir, self.library), *dirs)


recipe = ZbarLightRecipe()

0 comments on commit 2cd3d6a

Please sign in to comment.