Skip to content

Commit

Permalink
Temporarily workaround cargo deb adding bad deps.
Browse files Browse the repository at this point in the history
See mmstick/cargo-deb#170 for details.
  • Loading branch information
H-M-H committed Apr 15, 2021
1 parent a16aea7 commit b473bb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os: [ubuntu-latest]
include:
- os: ubuntu-latest
build-cmd: cargo build --release --features=va-static && mv target/release/weylus target/release/weylus_va_static && cargo deb && dpkg -i target/debian/Weylus*.deb
build-cmd: cargo deb -- --features=va-static && dpkg -i target/debian/Weylus*.deb && mv target/release/weylus target/release/weylus_va_static && cargo build --release
package-files: |
target/release/linux.zip
target/debian/Weylus*.deb
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ identifier = "io.github.h-m-h.weylus"

[package.metadata.deb]
name = "Weylus"
depends = "$auto"
# Until https://github.com/mmstick/cargo-deb/issues/170 is resolved
# specify depends manually.
depends = "libc6 (>= 2.18), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.60), libfontconfig1 (>= 2.11), libgcc1 (>= 1:4.2), libglib2.0-0 (>= 2.18.0), libgstreamer-plugins-base1.0-0 (>= 1.10.0), libgstreamer1.0-0 (>= 1.0.0), libx11-6 (>= 2:1.4.99.1), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxft2 (>> 2.1.1), libxi6 (>= 2:1.2.99.4), libxinerama1, libxrandr2 (>= 2:1.5.0), libxrender1, libxtst6"
section = "graphics"
priority = "optional"
assets = [
Expand Down

0 comments on commit b473bb1

Please sign in to comment.