8000 manylinux: Add Secret Rabbit Code for better sound quality by illume · Pull Request #3855 · pygame/pygame · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

manylinux: Add Secret Rabbit Code for better sound quality #3855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions buildconfig/manylinux-build/docker_base/Dockerfile-aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ RUN ["bash", "/libxml2_build/build-libxml2.sh"]
ADD wayland_libs /wayland_build/
RUN ["bash", "/wayland_build/build-wayland-libs.sh"]

ADD libsamplerate /libsamplerate_build/
RUN ["bash", "/libsamplerate_build/build-samplerate.sh"]

ADD sdl_libs /sdl_build/
RUN ["bash", "/sdl_build/build-sdl2-libs.sh"]

Expand Down
3 changes: 3 additions & 0 deletions buildconfig/manylinux-build/docker_base/Dockerfile-i686
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ RUN ["bash", "/libxml2_build/build-libxml2.sh"]
ADD wayland_libs /wayland_build/
RUN ["bash", "/wayland_build/build-wayland-libs.sh"]

ADD libsamplerate /libsamplerate_build/
RUN ["bash", "/libsamplerate_build/build-samplerate.sh"]

# Build and install SDL
ADD sdl_libs /sdl_build/
RUN ["linux32", "bash", "/sdl_build/build-sdl2-libs.sh"]
Expand Down
3 changes: 3 additions & 0 deletions buildconfig/manylinux-build/docker_base/Dockerfile-ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ RUN ["bash", "/libxml2_build/build-libxml2.sh"]
ADD wayland_libs /wayland_build/
RUN ["bash", "/wayland_build/build-wayland-libs.sh"]

ADD libsamplerate /libsamplerate_build/
RUN ["bash", "/libsamplerate_build/build-samplerate.sh"]

ADD sdl_libs /sdl_build/
RUN ["bash", "/sdl_build/build-sdl2-libs.sh"]

Expand Down
3 changes: 3 additions & 0 deletions buildconfig/manylinux-build/docker_base/Dockerfile-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ RUN ["bash", "/libxml2_build/build-libxml2.sh"]
ADD wayland_libs /wayland_build/
RUN ["bash", "/wayland_build/build-wayland-libs.sh"]

ADD libsamplerate /libsamplerate_build/
RUN ["bash", "/libsamplerate_build/build-samplerate.sh"]

ADD sdl_libs /sdl_build/
RUN ["bash", "/sdl_build/build-sdl2-libs.sh"]

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
set -e -x

cd $(dirname `readlink -f "$0"`)

SAMPLERATE_VERSION=0.2.2
SAMPLERATE=libsamplerate-${SAMPLERATE_VERSION}

curl -sL --retry 10 https://github.com/libsndfile/libsamplerate/releases/download/${SAMPLERATE_VERSION}/${SAMPLERATE}.tar.xz > ${SAMPLERATE}.tar.xz
sha512sum -c samplerate.sha512

tar xf ${SAMPLERATE}.tar.xz
cd $SAMPLERATE

./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/${SAMPLERATE} &&
make
make install

if [[ "$OSTYPE" == "darwin"* ]]; then
# Install to mac deps cache dir as well
make install DESTDIR=${MACDEP_CACHE_PREFIX_PATH}
fi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d23ae54d23209ba22baae9e5fd178dd8e0e99205dada7e7c3a7b3a3d8cf816ed427a411bfeb008427f64da7767d645edce40811f238af11c8c386f5ef25a9f0c libsamplerate-0.2.2.tar.xz
0