Skip to content

Commit

Permalink
Merge pull request #51 from linuxserver/placebo
Browse files Browse the repository at this point in the history
Add libplacebo and libdovi
  • Loading branch information
aptalca authored Dec 6, 2023
2 parents 5038341 + 35056fa commit 6ac8954
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ ENV \
KVAZAAR=2.2.0 \
LAME=3.100 \
LIBASS=0.17.1 \
LIBDOVI=2.1.0 \
LIBDRM=2.4.118 \
LIBMFX=22.5.4 \
LIBPLACEBO=6.338.1 \
LIBVA=2.20.0 \
LIBVDPAU=1.5 \
LIBVIDSTAB=1.1.1 \
Expand Down Expand Up @@ -55,6 +57,7 @@ RUN \
autoconf \
automake \
bzip2 \
cargo \
cmake \
diffutils \
doxygen \
Expand Down Expand Up @@ -493,6 +496,31 @@ RUN \
-DCMAKE_INSTALL_PREFIX=/usr/local \
.. && \
ninja install
RUN \
echo "**** grabbing libdovi ****" && \
mkdir -p /tmp/libdovi && \
git clone \
--branch ${LIBDOVI} \
https://github.com/quietvoid/dovi_tool.git \
/tmp/libdovi
RUN \
echo "**** compiling libdovi ****" && \
cd /tmp/libdovi/dolby_vision && \
cargo install [email protected]+cargo-0.74.0 --locked && \
cargo cinstall --release && \
strip -d /usr/local/lib/libdovi.so
RUN \
echo "**** grabbing libplacebo ****" && \
mkdir -p /tmp/libplacebo && \
git clone \
--branch v${LIBPLACEBO} \
--recursive https://code.videolan.org/videolan/libplacebo \
/tmp/libplacebo
RUN \
echo "**** compiling libplacebo ****" && \
cd /tmp/libplacebo && \
meson build --buildtype release && \
ninja -C build install
RUN \
echo "**** grabbing SVT-AV1 ****" && \
mkdir -p /tmp/svt-av1 && \
Expand Down Expand Up @@ -696,6 +724,7 @@ RUN \
--enable-libopencore-amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-libplacebo \
--enable-libshaderc \
--enable-libsvtav1 \
--enable-libtheora \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **06.12.23:** - Add libplacebo and libdobi to x86_64.
* **05.12.23:** - Bump Mesa. Fix vdpau. Fix AMD VAAPI.
* **25.11.23:** - Compile Mesa from source. Add proper Vulkan support (env var `ENABLE_VULKAN=true` no longer needed)(tested with Intel).
* **22.11.23:** - Add shaderc and (preliminary) Vulkan support (via env var `ENABLE_VULKAN=true`) to x86_64. Bump Intel drivers and other libs.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ full_custom_readme: |
## Versions
* **06.12.23:** - Add libplacebo and libdobi to x86_64.
* **05.12.23:** - Bump Mesa. Fix vdpau. Fix AMD VAAPI.
* **25.11.23:** - Compile Mesa from source. Add proper Vulkan support (env var `ENABLE_VULKAN=true` no longer needed)(tested with Intel).
* **22.11.23:** - Add shaderc and (preliminary) Vulkan support (via env var `ENABLE_VULKAN=true`) to x86_64. Bump Intel drivers and other libs.
Expand Down

0 comments on commit 6ac8954

Please sign in to comment.