Add alsa-sys library
This commit is contained in:
parent
f94eea9eb1
commit
cf70b766f5
@ -16,5 +16,13 @@ git = "https://github.com/tomaka/winapi-rs"
|
||||
branch = "mmdeviceapi"
|
||||
features = ["ole32"]
|
||||
|
||||
[target.i686-unknown-linux-gnu.dependencies.alsa-sys]
|
||||
version = "*"
|
||||
path = "alsa-sys"
|
||||
|
||||
[target.x86_64-unknown-linux-gnu.dependencies.alsa-sys]
|
||||
version = "*"
|
||||
path = "alsa-sys"
|
||||
|
||||
[dev-dependencies.vorbis]
|
||||
git = "https://github.com/tomaka/vorbis-rs"
|
||||
|
3
alsa-sys/.gitignore
vendored
Normal file
3
alsa-sys/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/target
|
||||
/Cargo.lock
|
||||
.cargo/
|
9
alsa-sys/Cargo.toml
Normal file
9
alsa-sys/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[package]
|
||||
|
||||
name = "alsa-sys"
|
||||
version = "0.0.1"
|
||||
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||
build = "build.rs"
|
||||
|
||||
[build-dependencies]
|
||||
pkg-config = "*"
|
5
alsa-sys/build.rs
Normal file
5
alsa-sys/build.rs
Normal file
@ -0,0 +1,5 @@
|
||||
extern crate "pkg-config" as pkg_config;
|
||||
|
||||
fn main() {
|
||||
pkg_config::find_library("alsa").unwrap();
|
||||
}
|
5690
alsa-sys/src/lib.rs
Normal file
5690
alsa-sys/src/lib.rs
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user