Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jul 6, 2024
1 parent 298842f commit aeeef6f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,21 @@ opt-level = 2

[profile.dev.package.libsamplerate]
opt-level = 2

[package.metadata.cross.target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/{{TARGET}}: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
"""]

[package.metadata.cross.target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/{{TARGET}}: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
"""]
4 changes: 2 additions & 2 deletions psst-gui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ long_description = """
Small and efficient graphical music player for Spotify network.
"""

[workspace.metadata.cross.target.x86_64-unknown-linux-gnu]
[package.metadata.cross.target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/{{TARGET}}:edge"
pre-build = ["dpkg --add-architecture $CROSS_DEB_ARCH", """
apt-get update && apt-get --assume-yes install \
Expand All @@ -84,7 +84,7 @@ pre-build = ["dpkg --add-architecture $CROSS_DEB_ARCH", """
libasound2-dev:$CROSS_DEB_ARCH
"""]

[workspace.metadata.cross.target.aarch64-unknown-linux-gnu]
[package.metadata.cross.target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/{{TARGET}}:edge"
pre-build = ["dpkg --add-architecture $CROSS_DEB_ARCH", """
apt-get update && apt-get --assume-yes install \
Expand Down

0 comments on commit aeeef6f

Please sign in to comment.