From 316a7d7c18cb389a17a514593aa522b03da8c981 Mon Sep 17 00:00:00 2001 From: Michael Connor Buchan Date: Mon, 5 Feb 2024 15:42:55 +0000 Subject: [PATCH] build: Use up-to-date manylinux / musllinux images so pipewire is packaged --- pyproject.toml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aeb9a17..60fa3af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,9 +47,32 @@ cmake.build-type = "Release" # mainframe?), and non-universal macosx builds (unnecessary if a universal # binary is built) skip = ["pp3*-*", "*_s390x", "*-macosx_{x86_64,arm64}"] +# Use a more up-to-date manylinux image with a pipewire-devel package +manylinux-x86_64-image = "manylinux_2_28" +manylinux-i686-image = "manylinux_2_28" +manylinux-aarch64-image = "manylinux_2_28" +manylinux-ppc64le-image = "manylinux_2_28" +# Use a more up-to-date musllinux image +musllinux-x86_64-image = "musllinux_1_2" +musllinux-i686-image = "musllinux_1_2" +musllinux-aarch64-image = "musllinux_1_2" +musllinux-ppc64le-image = "musllinux_1_2" + +[tool.cibuildwheel.windows] +archs = ["AMD64", "x86", "ARM64"] + +[tool.cibuildwheel.macos] +archs = ["universal2"] [tool.cibuildwheel.linux] +archs = ["x86_64", "i686", "aarch64", "ppc64le"] + # OpenAL Soft needs the sound system headers at compile time, but dynamically # loads the libraries at runtime, so it won't error on systems where these # libraries aren't available -before-all = "yum install pipewire-devel pulseaudio-libs-devel alsa-lib-devel" +[[tool.cibuildwheel.overrides]] +select = "*-manylinux*" +before-all = "yum -y install pipewire-devel pulseaudio-libs-devel alsa-lib-devel" +[[tool.cibuildwheel.overrides]] +select = "*-musllinux*" + before-all = "apk add pipewire-dev pulseaudio-dev alsa-lib-dev"