Merge pull request #149 from radarhere/xcb

Compile libxcb on macOS
This commit is contained in:
Hugo van Kemenade 2020-06-07 22:01:02 +03:00 committed by GitHub
commit 3946cb73a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ LCMS2_VERSION=2.10
GIFLIB_VERSION=5.1.4 GIFLIB_VERSION=5.1.4
LIBWEBP_VERSION=1.1.0 LIBWEBP_VERSION=1.1.0
BZIP2_VERSION=1.0.8 BZIP2_VERSION=1.0.8
LIBXCB_VERSION=1.14
function pre_build { function pre_build {
# Any stuff that you need to do before you start building the wheels # Any stuff that you need to do before you start building the wheels
@ -24,6 +25,12 @@ function pre_build {
if [ -n "$IS_OSX" ]; then if [ -n "$IS_OSX" ]; then
# Update to latest zlib for OS X build # Update to latest zlib for OS X build
build_new_zlib build_new_zlib
build_simple xproto 7.0.31 https://www.x.org/pub/individual/proto
build_simple libXau 1.0.9 https://www.x.org/pub/individual/lib
build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist
build_simple xcb-proto $LIBXCB_VERSION https://xcb.freedesktop.org/dist
build_simple libxcb $LIBXCB_VERSION https://xcb.freedesktop.org/dist
fi fi
# Custom flags to include both multibuild and jpeg defaults # Custom flags to include both multibuild and jpeg defaults