mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 08:12:33 +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
|
fi
|
||||||
LIBWEBP_VERSION=1.2.4
|
LIBWEBP_VERSION=1.2.4
|
||||||
BZIP2_VERSION=1.0.8
|
BZIP2_VERSION=1.0.8
|
||||||
LIBXCB_VERSION=1.14
|
LIBXCB_VERSION=1.15
|
||||||
BROTLI_VERSION=1.0.9
|
BROTLI_VERSION=1.0.9
|
||||||
|
|
||||||
if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then
|
if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then
|
||||||
|
@ -72,14 +72,14 @@ function pre_build {
|
||||||
BUILD_PREFIX=`dirname $(dirname $(which python))`
|
BUILD_PREFIX=`dirname $(dirname $(which python))`
|
||||||
PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig"
|
PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig"
|
||||||
fi
|
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
|
if [ -n "$IS_MACOS" ]; then
|
||||||
build_simple xorgproto 2022.2 https://www.x.org/pub/individual/proto
|
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 libXau 1.0.10 https://www.x.org/pub/individual/lib
|
||||||
build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist
|
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
|
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
|
fi
|
||||||
build_simple libxcb $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
build_simple libxcb $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
||||||
if [ -n "$IS_MACOS" ]; then
|
if [ -n "$IS_MACOS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user