mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
Regenerate with latest gir
This commit is contained in:
parent
e274b5495b
commit
a43d8ff6ee
85 changed files with 265 additions and 100 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -42,6 +46,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -61,6 +68,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -36,6 +40,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -55,6 +62,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -30,6 +34,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -49,6 +56,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -20,6 +24,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.14"
|
"1.14"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -39,6 +46,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -32,6 +36,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -51,6 +58,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -22,6 +26,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.12"
|
"1.12"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -41,6 +48,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
@ -26,9 +26,8 @@ pub const GST_PLAYER_COLOR_BALANCE_BRIGHTNESS: GstPlayerColorBalanceType = 0;
|
||||||
pub const GST_PLAYER_COLOR_BALANCE_SATURATION: GstPlayerColorBalanceType = 2;
|
pub const GST_PLAYER_COLOR_BALANCE_SATURATION: GstPlayerColorBalanceType = 2;
|
||||||
pub const GST_PLAYER_COLOR_BALANCE_CONTRAST: GstPlayerColorBalanceType = 1;
|
pub const GST_PLAYER_COLOR_BALANCE_CONTRAST: GstPlayerColorBalanceType = 1;
|
||||||
|
|
||||||
pub type PlayerError = c_int;
|
pub type GstPlayerError = c_int;
|
||||||
pub const GST_PLAYER_ERROR_FAILED: PlayerError = 0;
|
pub const GST_PLAYER_ERROR_FAILED: GstPlayerError = 0;
|
||||||
pub type GstPlayerError = PlayerError;
|
|
||||||
|
|
||||||
pub type GstPlayerSnapshotFormat = c_int;
|
pub type GstPlayerSnapshotFormat = c_int;
|
||||||
pub const GST_PLAYER_THUMBNAIL_RAW_NATIVE: GstPlayerSnapshotFormat = 0;
|
pub const GST_PLAYER_THUMBNAIL_RAW_NATIVE: GstPlayerSnapshotFormat = 0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -36,6 +40,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -55,6 +62,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
@ -42,13 +42,11 @@ pub type GstMIKEYMacAlg = c_int;
|
||||||
pub const GST_MIKEY_MAC_NULL: GstMIKEYMacAlg = 0;
|
pub const GST_MIKEY_MAC_NULL: GstMIKEYMacAlg = 0;
|
||||||
pub const GST_MIKEY_MAC_HMAC_SHA_1_160: GstMIKEYMacAlg = 1;
|
pub const GST_MIKEY_MAC_HMAC_SHA_1_160: GstMIKEYMacAlg = 1;
|
||||||
|
|
||||||
pub type MIKEYMapType = c_int;
|
pub type GstMIKEYMapType = c_int;
|
||||||
pub const GST_MIKEY_MAP_TYPE_SRTP: MIKEYMapType = 0;
|
pub const GST_MIKEY_MAP_TYPE_SRTP: GstMIKEYMapType = 0;
|
||||||
pub type GstMIKEYMapType = MIKEYMapType;
|
|
||||||
|
|
||||||
pub type MIKEYPRFFunc = c_int;
|
pub type GstMIKEYPRFFunc = c_int;
|
||||||
pub const GST_MIKEY_PRF_MIKEY_1: MIKEYPRFFunc = 0;
|
pub const GST_MIKEY_PRF_MIKEY_1: GstMIKEYPRFFunc = 0;
|
||||||
pub type GstMIKEYPRFFunc = MIKEYPRFFunc;
|
|
||||||
|
|
||||||
pub type GstMIKEYPayloadType = c_int;
|
pub type GstMIKEYPayloadType = c_int;
|
||||||
pub const GST_MIKEY_PT_LAST: GstMIKEYPayloadType = 0;
|
pub const GST_MIKEY_PT_LAST: GstMIKEYPayloadType = 0;
|
||||||
|
@ -67,9 +65,8 @@ pub const GST_MIKEY_PT_ERR: GstMIKEYPayloadType = 12;
|
||||||
pub const GST_MIKEY_PT_KEY_DATA: GstMIKEYPayloadType = 20;
|
pub const GST_MIKEY_PT_KEY_DATA: GstMIKEYPayloadType = 20;
|
||||||
pub const GST_MIKEY_PT_GEN_EXT: GstMIKEYPayloadType = 21;
|
pub const GST_MIKEY_PT_GEN_EXT: GstMIKEYPayloadType = 21;
|
||||||
|
|
||||||
pub type MIKEYSecProto = c_int;
|
pub type GstMIKEYSecProto = c_int;
|
||||||
pub const GST_MIKEY_SEC_PROTO_SRTP: MIKEYSecProto = 0;
|
pub const GST_MIKEY_SEC_PROTO_SRTP: GstMIKEYSecProto = 0;
|
||||||
pub type GstMIKEYSecProto = MIKEYSecProto;
|
|
||||||
|
|
||||||
pub type GstMIKEYSecSRTP = c_int;
|
pub type GstMIKEYSecSRTP = c_int;
|
||||||
pub const GST_MIKEY_SP_SRTP_ENC_ALG: GstMIKEYSecSRTP = 0;
|
pub const GST_MIKEY_SP_SRTP_ENC_ALG: GstMIKEYSecSRTP = 0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -38,6 +42,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -57,6 +64,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -34,6 +38,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -53,6 +60,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -38,6 +42,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.0"
|
"1.0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -57,6 +64,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
@ -283,9 +283,8 @@ pub type GstVideoTileMode = c_int;
|
||||||
pub const GST_VIDEO_TILE_MODE_UNKNOWN: GstVideoTileMode = 0;
|
pub const GST_VIDEO_TILE_MODE_UNKNOWN: GstVideoTileMode = 0;
|
||||||
pub const GST_VIDEO_TILE_MODE_ZFLIPZ_2X2: GstVideoTileMode = 65536;
|
pub const GST_VIDEO_TILE_MODE_ZFLIPZ_2X2: GstVideoTileMode = 65536;
|
||||||
|
|
||||||
pub type VideoTileType = c_int;
|
pub type GstVideoTileType = c_int;
|
||||||
pub const GST_VIDEO_TILE_TYPE_INDEXED: VideoTileType = 0;
|
pub const GST_VIDEO_TILE_TYPE_INDEXED: GstVideoTileType = 0;
|
||||||
pub type GstVideoTileType = VideoTileType;
|
|
||||||
|
|
||||||
pub type GstVideoTransferFunction = c_int;
|
pub type GstVideoTransferFunction = c_int;
|
||||||
pub const GST_VIDEO_TRANSFER_UNKNOWN: GstVideoTransferFunction = 0;
|
pub const GST_VIDEO_TRANSFER_UNKNOWN: GstVideoTransferFunction = 0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate pkg_config;
|
extern crate pkg_config;
|
||||||
|
|
||||||
use pkg_config::{Config, Error};
|
use pkg_config::{Config, Error};
|
||||||
|
@ -20,6 +24,9 @@ fn find() -> Result<(), Error> {
|
||||||
"1.14"
|
"1.14"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
println!("cargo:include={}", inc_dir);
|
||||||
|
}
|
||||||
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
@ -39,6 +46,9 @@ fn find() -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
match config.probe(package_name) {
|
match config.probe(package_name) {
|
||||||
Ok(library) => {
|
Ok(library) => {
|
||||||
|
if let Ok(paths) = std::env::join_paths(library.include_paths) {
|
||||||
|
println!("cargo:include={}", paths.to_string_lossy());
|
||||||
|
}
|
||||||
if hardcode_shared_libs {
|
if hardcode_shared_libs {
|
||||||
for lib_ in shared_libs.iter() {
|
for lib_ in shared_libs.iter() {
|
||||||
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
println!("cargo:rustc-link-lib=dylib={}", lib_);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate glib_sys as glib;
|
extern crate glib_sys as glib;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue