gstreamer-rs/ci/install-vvdec.sh
Carlos Bentzen 1ab5e0b963 ci: fix vvdec lib install prefix
Set CMAKE_INSTALL_LIBDIR directly so that the x86_64-linux-gnu suffix is
correctly set.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1657>
2025-02-28 14:02:50 +01:00

16 lines
379 B
Bash

set -e
RELEASE=v3.0.0
git clone https://github.com/fraunhoferhhi/vvdec.git
cd vvdec
git checkout $RELEASE
cmake -S . -B build -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_INSTALL_LIBDIR=/usr/local/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) \
-DBUILD_SHARED_LIBS=ON \
-DVVDEC_TOPLEVEL_OUTPUT_DIRS=OFF
ninja -C build
ninja -C build install
cd ..
rm -rf vvdec