mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
🐛 fix(base): Use meson for gpu-screen-recorder (#83)
## 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 <DatCaptainHorse@users.noreply.github.com> Co-authored-by: Kristian Ollikainen <DatCaptainHorse@users.noreply.github.com> Co-authored-by: Wanjohi <71614375+wanjohiryan@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e729e1c57e
commit
904f300ead
@@ -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 \
|
||||
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user