From 548899174af148986143c32d26e4677b3d229b9e Mon Sep 17 00:00:00 2001 From: "Lauren N. Liberda" Date: Sat, 20 May 2023 07:20:24 +0200 Subject: [PATCH] expose linux-pkg-config features in app Signed-off-by: Lauren N. Liberda --- Cargo.lock | 4 +++- Cargo.toml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d795b8a02..70344666e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3558,9 +3558,10 @@ dependencies = [ [[package]] name = "magnum-opus" version = "0.4.0" -source = "git+https://github.com/rustdesk/magnum-opus#79be072c939168e907fe851690759dcfd6a326af" +source = "git+https://github.com/rustdesk/magnum-opus#5cd2bf989c148662fa3a2d9d539a71d71fd1d256" dependencies = [ "bindgen 0.59.2", + "pkg-config", "target_build_utils", ] @@ -5431,6 +5432,7 @@ dependencies = [ "log", "ndk 0.7.0", "num_cpus", + "pkg-config", "quest", "repng", "serde 1.0.163", diff --git a/Cargo.toml b/Cargo.toml index 5c9535a5a..eed897e01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ mediacodec = ["scrap/mediacodec"] linux_headless = ["pam" ] virtual_display_driver = ["virtual_display"] plugin_framework = [] +linux-pkg-config = ["magnum-opus/linux-pkg-config", "scrap/linux-pkg-config"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html