mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #327 from radarhere/xcb
Updated libxcb and xcb-proto
This commit is contained in:
commit
3cec8842e6
|
@ -24,7 +24,7 @@ else
|
|||
fi
|
||||
LIBWEBP_VERSION=1.2.4
|
||||
BZIP2_VERSION=1.0.8
|
||||
LIBXCB_VERSION=1.14
|
||||
LIBXCB_VERSION=1.15
|
||||
BROTLI_VERSION=1.0.9
|
||||
|
||||
if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then
|
||||
|
@ -72,14 +72,14 @@ function pre_build {
|
|||
BUILD_PREFIX=`dirname $(dirname $(which python))`
|
||||
PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig"
|
||||
fi
|
||||
build_simple xcb-proto 1.14.1 https://xcb.freedesktop.org/dist
|
||||
build_simple xcb-proto 1.15.2 https://xcb.freedesktop.org/dist
|
||||
if [ -n "$IS_MACOS" ]; then
|
||||
build_simple xorgproto 2022.2 https://www.x.org/pub/individual/proto
|
||||
cp venv/share/pkgconfig/xproto.pc venv/lib/pkgconfig/xproto.pc
|
||||
build_simple libXau 1.0.10 https://www.x.org/pub/individual/lib
|
||||
build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist
|
||||
cp venv/share/pkgconfig/xcb-proto.pc venv/lib/pkgconfig/xcb-proto.pc
|
||||
else
|
||||
sed -i s/\${pc_sysrootdir\}// /usr/local/lib/pkgconfig/xcb-proto.pc
|
||||
sed s/\${pc_sysrootdir\}// /usr/local/share/pkgconfig/xcb-proto.pc > /usr/local/lib/pkgconfig/xcb-proto.pc
|
||||
fi
|
||||
build_simple libxcb $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
||||
if [ -n "$IS_MACOS" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user