Skip to content

Commit

Permalink
sys: port to system-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Desmottes authored and lu-zero committed May 27, 2023
1 parent 6c51eb4 commit 8737f25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions svt-av1-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ edition = "2018"
build = "build.rs"
readme = "../README.md"

[package.metadata.pkg-config]
[package.metadata.system-deps]
SvtAv1Enc = "0.8"

[features]
build_sources = []

[build-dependencies]
bindgen = "0.53.1"
metadeps = "1.1.2"
system-deps = "1.3"

[dependencies]
2 changes: 1 addition & 1 deletion svt-av1-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn format_write(builder: bindgen::Builder) -> String {
}

fn main() {
let libs = metadeps::probe().unwrap();
let libs = system_deps::Config::new().probe().unwrap();
let headers = libs.get("SvtAv1Enc").unwrap().include_paths.clone();

let mut builder = bindgen::builder()
Expand Down

0 comments on commit 8737f25

Please sign in to comment.