Fix pixman macOS build and add missing build deps (#36982)
This commit is contained in:
parent
b605cd0151
commit
947445ccdd
1 changed files with 9 additions and 1 deletions
|
@ -25,6 +25,8 @@ class Pixman(AutotoolsPackage):
|
||||||
version("0.32.6", sha256="3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904")
|
version("0.32.6", sha256="3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904")
|
||||||
|
|
||||||
depends_on("pkgconfig", type="build")
|
depends_on("pkgconfig", type="build")
|
||||||
|
depends_on("flex", type="build")
|
||||||
|
depends_on("bison@3:", type="build")
|
||||||
depends_on("libpng")
|
depends_on("libpng")
|
||||||
|
|
||||||
# As discussed here:
|
# As discussed here:
|
||||||
|
@ -62,6 +64,12 @@ def configure_args(self):
|
||||||
args = ["--enable-libpng", "--disable-gtk"]
|
args = ["--enable-libpng", "--disable-gtk"]
|
||||||
|
|
||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
args.append("--disable-mmx")
|
args += ["--disable-mmx", "--disable-silent-rules"]
|
||||||
|
|
||||||
|
# From homebrew, see:
|
||||||
|
# https://gitlab.freedesktop.org/pixman/pixman/-/issues/59
|
||||||
|
# https://gitlab.freedesktop.org/pixman/pixman/-/issues/69
|
||||||
|
if self.spec.target.family == "aarch64":
|
||||||
|
args.append("--disable-arm-a64-neon")
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
Loading…
Reference in a new issue