From 1e29f4a31a3aef136e89665dd15a889aee0d9cf5 Mon Sep 17 00:00:00 2001 From: matham Date: Fri, 1 Jun 2018 13:38:53 -0400 Subject: [PATCH] disable on the fly linking so that auditwheel finds the deps. [build wheel linux] --- .ci/build-wheels-linux.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/build-wheels-linux.sh b/.ci/build-wheels-linux.sh index 41a0b31c3..1ade06cc5 100644 --- a/.ci/build-wheels-linux.sh +++ b/.ci/build-wheels-linux.sh @@ -1,14 +1,14 @@ #!/bin/bash set -e -x -yum -y install autoconf automake cmake gcc gcc-c++ git make pkgconfig zlib-devel portmidi portmidi-devel gstreamer gstreamer-devel gstreamer-plugins-base gstreamer-plugins-base-devel gstreamer-plugins-good gstreamer-plugins-good-devel Xorg-x11-server-deve mesa-libEGL-devel mtdev-devel mesa-libEGL freetype freetype-devel openjpeg openjpeg-devel libpng libpng-devel libtiff libtiff-devel libwebp libwebp-devel +yum -y install autoconf automake cmake gcc gcc-c++ git make pkgconfig zlib-devel portmidi portmidi-devel Xorg-x11-server-deve mesa-libEGL-devel mtdev-devel mesa-libEGL freetype freetype-devel openjpeg openjpeg-devel libpng libpng-devel libtiff libtiff-devel libwebp libwebp-devel dbus-devel dbus ibus-devel ibus libsamplerate-devel libsamplerate libudev-devel libudev libmodplug-devel libmodplug libvorbis-devel libvorbis flac-devel flac libjpeg-turbo-devel libjpeg-turbo; mkdir ~/kivy_sources; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/kivy_build/lib; cd ~/kivy_sources; git clone --depth 1 https://github.com/spurious/SDL-mirror.git cd SDL-mirror; -./configure --prefix="$HOME/kivy_build" --bindir="$HOME/kivy_build/bin"; +./configure --prefix="$HOME/kivy_build" --bindir="$HOME/kivy_build/bin" --enable-alsa-shared=no --enable-jack-shared=no --enable-pulseaudio-shared=no --enable-esd-shared=no --enable-arts-shared=no --enable-nas-shared=no --enable-sndio-shared=no --enable-fusionsound-shared=no --enable-libsamplerate-shared=no --enable-wayland-shared=no --enable-mir-shared=no --enable-x11-shared=no --enable-directfb-shared=no --enable-kmsdrm-shared=no; make; make install; make distclean; @@ -17,7 +17,7 @@ cd ~/kivy_sources; wget http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.2.tar.gz; tar xzf SDL2_mixer-2.0.2.tar.gz; cd SDL2_mixer-2.0.2; -PATH="$HOME/kivy_build/bin:$PATH" PKG_CONFIG_PATH="$HOME/kivy_build/lib/pkgconfig" ./configure --prefix="$HOME/kivy_build" --bindir="$HOME/kivy_build/bin"; +PATH="$HOME/kivy_build/bin:$PATH" PKG_CONFIG_PATH="$HOME/kivy_build/lib/pkgconfig" ./configure --prefix="$HOME/kivy_build" --bindir="$HOME/kivy_build/bin" --enable-music-mod-modplug-shared=no --enable-music-mod-mikmod-shared=no --enable-music-midi-fluidsynth-shared=no --enable-music-ogg-shared=no --enable-music-flac-shared=no --enable-music-mp3-smpeg-shared=no --enable-music-mp3-mpg123-shared=no; PATH="$HOME/kivy_build/bin:$PATH" make; make install; make distclean; @@ -26,7 +26,7 @@ cd ~/kivy_sources; wget http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.3.tar.gz; tar xzf SDL2_image-2.0.3.tar.gz; cd SDL2_image-2.0.3; -PATH="$HOME/kivy_build/bin:$PATH" PKG_CONFIG_PATH="$HOME/kivy_build/lib/pkgconfig" ./configure --prefix="$HOME/kivy_build" --bindir="$HOME/kivy_build/bin"; +PATH="$HOME/kivy_build/bin:$PATH" PKG_CONFIG_PATH="$HOME/kivy_build/lib/pkgconfig" ./configure --prefix="$HOME/kivy_build" --bindir="$HOME/kivy_build/bin" --enable-png-shared=no --enable-jpg-shared=no --enable-tif-shared=no --enable-webp-shared=no; PATH="$HOME/kivy_build/bin:$PATH" make; make install; make distclean;