mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 23:40:18 +00:00
CI Linux: use libajantv2
also build the library shared
This commit is contained in:
11
.github/scripts/Linux/install_others.sh
vendored
11
.github/scripts/Linux/install_others.sh
vendored
@@ -21,9 +21,14 @@ install_ximea() {
|
||||
|
||||
# Install AJA
|
||||
install_aja() {(
|
||||
git clone --depth 1 https://github.com/aja-video/ntv2
|
||||
cd ntv2/ajalibraries/ajantv2/build
|
||||
make -j "$(nproc)"
|
||||
git clone --depth 1 https://github.com/aja-video/libajantv2.git
|
||||
cd libajantv2
|
||||
cmake -Bbuild -DAJANTV2_DISABLE_DEMOS=ON -DAJANTV2_DISABLE_DRIVER=ON \
|
||||
-DAJANTV2_DISABLE_TOOLS=ON -DAJANTV2_DISABLE_TESTS=ON \
|
||||
-DAJANTV2_DISABLE_PLUGINS=ON -DAJANTV2_BUILD_SHARED=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release .
|
||||
cmake --build build -j "$(nproc)"
|
||||
sudo cmake --install build
|
||||
)}
|
||||
|
||||
|
||||
|
||||
2
.github/scripts/Linux/prepare.sh
vendored
2
.github/scripts/Linux/prepare.sh
vendored
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash -eux
|
||||
|
||||
export PKG_CONFIG_PATH=/usr/local/qt/lib/pkgconfig:/usr/local/lib/pkgconfig
|
||||
printf "%b" "AJA_DIRECTORY=/var/tmp/ntv2\n\
|
||||
printf "%b" "\
|
||||
CPATH=/usr/local/qt/include\n\
|
||||
LIBRARY_PATH=/usr/local/qt/lib\n\
|
||||
PKG_CONFIG_PATH=$PKG_CONFIG_PATH\n" >> "$GITHUB_ENV"
|
||||
|
||||
Reference in New Issue
Block a user