From f4fe05e22519568e31eade4994ffb6ce1094f11d Mon Sep 17 00:00:00 2001 From: Jackson Goode Date: Sat, 6 Jul 2024 13:52:51 -0700 Subject: [PATCH] Try --- Cargo.toml | 18 ------------------ psst-gui/Cargo.toml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9c2050e4..235f3777 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,21 +13,3 @@ opt-level = 2 [profile.dev.package.libsamplerate] opt-level = 2 - -[workspace.metadata.cross.target.x86_64-unknown-linux-gnu] -image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:edge" -pre-build = ["dpkg --add-architecture $CROSS_DEB_ARCH", """ - apt-get update && apt-get --assume-yes install \ - libgtk-3-dev:$CROSS_DEB_ARCH \ - libssl-dev:$CROSS_DEB_ARCH \ - libasound2-dev:$CROSS_DEB_ARCH - """] - -[workspace.metadata.cross.target.aarch64-unknown-linux-gnu] -image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge" -pre-build = ["dpkg --add-architecture $CROSS_DEB_ARCH", """ - apt-get update && apt-get --assume-yes install \ - libgtk-3-dev:$CROSS_DEB_ARCH \ - libssl-dev:$CROSS_DEB_ARCH \ - libasound2-dev:$CROSS_DEB_ARCH - """] diff --git a/psst-gui/Cargo.toml b/psst-gui/Cargo.toml index 1413dc89..df3b1eec 100644 --- a/psst-gui/Cargo.toml +++ b/psst-gui/Cargo.toml @@ -74,3 +74,17 @@ short_description = "Fast Spotify client with native GUI" long_description = """ Small and efficient graphical music player for Spotify network. """ + +[target.aarch64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge" +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get --assume-yes install libgtk-3-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH libasound2-dev:$CROSS_DEB_ARCH", +] + +[target.x86_64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:edge" +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get --assume-yes install libgtk-3-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH libasound2-dev:$CROSS_DEB_ARCH", +]