Skip to content

Commit

Permalink
🐛 fix(base): Use meson for gpu-screen-recorder (#83)
Browse files Browse the repository at this point in the history
## Description

The `gpu-screen-recorder` project switched to using meson instead of a
custom build script (see
[commit](https://git.dec05eba.com/gpu-screen-recorder/commit/?id=dfa7dc6659755b7a8385aad5003fd80483dd4ffe))

Rather than using the `install.sh` which is now deprecated, I switched
to using meson and ninja to build & install.

My text-editor wanted to format the end of the file as well, but that is
hopefully no issue 😅

Signed-off-by: Kristian Ollikainen <[email protected]>
Co-authored-by: Kristian Ollikainen <[email protected]>
Co-authored-by: Wanjohi <[email protected]>
  • Loading branch information
3 people authored Jun 20, 2024
1 parent e729e1c commit 904f300
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ RUN apt-get update -y \
&& find . -maxdepth 1 -type f -name "*libnvrtc.so.*" -exec sh -c 'ln -snf $(basename {}) libnvrtc.so' \; \
&& mkdir -p /usr/local/nvidia/lib && mv -f libnvrtc* /usr/local/nvidia/lib \
&& git clone https://repo.dec05eba.com/gpu-screen-recorder && cd gpu-screen-recorder \
&& chmod +x ./build.sh ./install.sh \
&& ./install.sh
&& meson setup build \
&& meson configure --prefix=/usr --buildtype=release -Dsystemd=true -Dstrip=true build \
&& ninja -C build install

# #Try building shadow-cast
# RUN git clone https://github.com/gmbeard/shadow-cast && cd shadow-cast \
Expand Down Expand Up @@ -285,4 +286,4 @@ RUN apt-get update \
libelf-dev \
pkg-config \
xorg \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*

0 comments on commit 904f300

Please sign in to comment.