Add alsa-sys library

This commit is contained in:
Pierre Krieger 2014-12-16 16:07:45 +01:00
parent f94eea9eb1
commit cf70b766f5
5 changed files with 5715 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
/target
/Cargo.lock
.cargo/

9
alsa-sys/Cargo.toml Normal file
View 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
View 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

File diff suppressed because it is too large Load Diff