Skip to content

Commit

Permalink
Update to dav1d 1.3.0
Browse files Browse the repository at this point in the history
dav1d 1.3.0 breaks API and ABI, so this is a breaking change on the Rust side too.
  • Loading branch information
sdroege authored and lu-zero committed Oct 31, 2023
1 parent ed0d3b1 commit 3a5c34b
Show file tree
Hide file tree
Showing 8 changed files with 158 additions and 181 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dav1d.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
DAV1D_DIR: dav1d_dir
LIB_PATH: lib/x86_64-linux-gnu
run: |
git clone --branch 1.2.1 --depth 1 https://code.videolan.org/videolan/dav1d.git
git clone --branch 1.3.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
cd dav1d
meson build -Dprefix=$HOME/$DAV1D_DIR -Denable_tools=false -Denable_examples=false --buildtype release
ninja -C build
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Build dav1d
run: |
git clone --branch 1.2.1 --depth 1 https://code.videolan.org/videolan/dav1d.git
git clone --branch 1.3.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
cd dav1d
meson build -Dprefix=C:\build -Denable_tools=false -Denable_examples=false --buildtype release
ninja -C build
Expand Down
5 changes: 2 additions & 3 deletions Cargo.toml
Expand Up @@ -7,14 +7,13 @@ license = "MIT"
name = "dav1d"
readme = "README.md"
repository = "https://github.com/rust-av/dav1d-rs"
version = "0.9.6"
version = "0.10.0"

[dependencies]
bitflags = "2"
dav1d-sys = { version = "0.7.3", path = "dav1d-sys" }
dav1d-sys = { version = "0.8", path = "dav1d-sys" }

[features]
v1_1 = ["dav1d-sys/v1_1"]

[workspace]
members = ["dav1d-sys", "tools"]
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -41,7 +41,7 @@ steps above.

## Supported versions

The bindings require dav1d 1.0.0
The bindings require dav1d 1.3.0

## TODO
- [x] Simple bindings
Expand Down
8 changes: 2 additions & 6 deletions dav1d-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "dav1d-sys"
version = "0.7.3"
version = "0.8.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
license = "MIT"
description = "FFI bindings to dav1d"
Expand All @@ -16,11 +16,7 @@ system-deps = "6.2"
libc = "0.2"

[features]
v1_1 = []

[package.metadata.system-deps.dav1d]
name = "dav1d"
version = ">= 1.0.0, < 1.3"

[package.metadata.system-deps.dav1d.v1_1]
version = ">= 1.1.0, < 1.3"
version = "1.3.0"
2 changes: 1 addition & 1 deletion dav1d-sys/build.rs
Expand Up @@ -7,7 +7,7 @@ mod build {
use std::process::{Command, Stdio};

const REPO: &str = "https://code.videolan.org/videolan/dav1d.git";
const TAG: &str = "1.2.1";
const TAG: &str = "1.3.0";

macro_rules! runner {
($cmd:expr, $($arg:expr),*) => {
Expand Down

0 comments on commit 3a5c34b

Please sign in to comment.