Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rav1e.cmd and docker/build.sh to use rav1e 0.4 #469

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install dependencies
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get update || true
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y ninja-build gcc-10 g++-10
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y ninja-build gcc-10 g++-10 build-essential
pip install --upgrade pip
pip install setuptools
pip install meson
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
* Update dav1d.cmd to point at the 0.8.1 tag
* Update rav1e.cmd to point at the 0.4 maintenance branch

## [0.8.4] - 2020-11-23

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -309,7 +309,7 @@ if(AVIF_CODEC_RAV1E)
endif()

set(AVIF_CODEC_INCLUDES ${AVIF_CODEC_INCLUDES}
"${CMAKE_CURRENT_SOURCE_DIR}/ext/rav1e/target/release/include"
"${CMAKE_CURRENT_SOURCE_DIR}/ext/rav1e/target/release"
)
set(AVIF_CODEC_LIBRARIES ${AVIF_CODEC_LIBRARIES} ${LIB_FILENAME})
else()
Expand Down
8 changes: 3 additions & 5 deletions ext/rav1e.cmd
Expand Up @@ -11,11 +11,9 @@
: # Also, the error that "The target windows-msvc is not supported yet" can safely be ignored provided that rav1e/target/release
: # contains rav1e.h and rav1e.lib.

git clone -b 0.3 --depth 1 https://github.com/xiph/rav1e.git
git clone -b 0.4 --depth 1 https://github.com/xiph/rav1e.git

cd rav1e
cargo install cbindgen
cbindgen -c cbindgen.toml -l C -o target/release/include/rav1e/rav1e.h --crate rav1e .

cargo build --lib --release --features capi
cargo install cargo-c
cargo cinstall --release
cd ..
2 changes: 1 addition & 1 deletion src/codec_rav1e.c
Expand Up @@ -3,7 +3,7 @@

#include "avif/internal.h"

#include "rav1e/rav1e.h"
#include "rav1e.h"

#include <string.h>

Expand Down
2 changes: 1 addition & 1 deletion tests/docker/build.sh
Expand Up @@ -63,7 +63,7 @@ ninja install

# rav1e
cd
git clone -b 0.3 --depth 1 https://github.com/xiph/rav1e.git
git clone -b 0.4 --depth 1 https://github.com/xiph/rav1e.git
cd rav1e
cargo cinstall --prefix=/usr --release

Expand Down