From ea21046c5025d0b8d9f52d1e2de70f6aa72ae899 Mon Sep 17 00:00:00 2001 From: Vasily Chekalkin Date: Sun, 1 Mar 2020 19:43:03 +1100 Subject: [PATCH 1/2] We need to package ffmpeg --- Cargo.toml | 6 +----- build.rs | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6072635e..c59aab1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ffmpeg4-sys" -version = "4.3.0-pre.0" +version = "4.3.0-pre.1" build = "build.rs" links = "ffmpeg" @@ -13,10 +13,6 @@ license = "WTFPL" description = "FFI bindings to FFmpeg" repository = "https://github.com/bacek/rust-ffmpeg4-sys" keywords = ["audio", "video"] -# Don't package ffmpeg submodule -exclude = [ - "ffmpeg" -] [lib] # Disable doctests as a workaround for https://github.com/rust-lang/rust-bindgen/issues/1313 diff --git a/build.rs b/build.rs index d8020f61..72217889 100644 --- a/build.rs +++ b/build.rs @@ -175,6 +175,9 @@ fn build() -> io::Result<()> { // do not build programs since we don't need them configure.arg("--disable-programs"); + // do not build doc + configure.arg("--disable-doc"); + // yasm is not available on docs.rs. Build crooked version if env::var("CARGO_FEATURE_BUILD_DISABLE_X86ASM").is_ok() { configure.arg("--disable-x86asm"); From c3bb04ad23483c0f943a8c5c138aa43bc7e3fafb Mon Sep 17 00:00:00 2001 From: Vasily Chekalkin Date: Wed, 17 Jun 2020 08:31:37 +1000 Subject: [PATCH 2/2] Update to release 4.3.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c59aab1d..1239948f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ffmpeg4-sys" -version = "4.3.0-pre.1" +version = "4.3.0" build = "build.rs" links = "ffmpeg"