diff --git a/README.md b/README.md index bd8155bf..f698a797 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,9 @@ docker run -v /tmp/librespot-build:/build librespot-cross If only one architecture is desired, cargo can be invoked directly with the appropriate options : ```shell -docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --no-default-features --features "with-syntex alsa-backend" -docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "with-syntex alsa-backend" -docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features "with-syntex alsa-backend" +docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --no-default-features --features alsa-backend +docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features alsa-backend +docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features alsa-backend ``` ## Development diff --git a/contrib/Dockerfile b/contrib/Dockerfile index 6a80a9e1..87df4a58 100644 --- a/contrib/Dockerfile +++ b/contrib/Dockerfile @@ -8,9 +8,9 @@ # The compiled binaries will be located in /tmp/librespot-build # # If only one architecture is desired, cargo can be invoked directly with the appropriate options : -# $ docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --no-default-features --features "with-syntex alsa-backend" -# $ docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "with-syntex alsa-backend" -# $ docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features "with-syntex alsa-backend" +# $ docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --no-default-features --features "alsa-backend" +# $ docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "alsa-backend" +# $ docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features "alsa-backend" # FROM debian:stretch diff --git a/contrib/docker-build.sh b/contrib/docker-build.sh index 984e1293..be2968cb 100755 --- a/contrib/docker-build.sh +++ b/contrib/docker-build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -eux -cargo build --release --no-default-features --features "with-syntex alsa-backend" -cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "with-syntex alsa-backend" -cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features "with-syntex alsa-backend" +cargo build --release --no-default-features --features alsa-backend +cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features alsa-backend +cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features alsa-backend