mirror of
https://github.com/doukutsu-rs/cpal.git
synced 2026-08-24 13:03:40 -07:00
An error occurs when compiling `oboe-sys` 0.5.0, so intergating the latest upstream changes seems like the easiest solution to fix the Android build. The commits replacing `oboe` with `ndk-audio`/`aaudio` weren't merged, as this would increase the minimum supported Android version to 8.0 (API level 26)
11 lines
320 B
Docker
11 lines
320 B
Docker
ARG CROSS_BASE_IMAGE
|
|
FROM $CROSS_BASE_IMAGE
|
|
|
|
ENV PKG_CONFIG_ALLOW_CROSS 1
|
|
ENV PKG_CONFIG_PATH /usr/lib/arm-linux-gnueabihf/pkgconfig/
|
|
|
|
RUN dpkg --add-architecture armhf && \
|
|
apt-get update && \
|
|
apt-get install libasound2-dev:armhf -y && \
|
|
apt-get install libjack-jackd2-dev:armhf libjack-jackd2-0:armhf -y \
|