mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
ci(snap): use stable GitHub Actions v6 and make runtime library resolution robust
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
0.96.5 (2026-01-05)
|
||||
-------------------
|
||||
- New: Added Snap packaging support with Snapcraft configuration and GitHub Actions CI workflow.
|
||||
- New: Add Snap packaging support with Snapcraft configuration and GitHub Actions CI workflow.
|
||||
- New: Add support for raw CDP (Caption Distribution Packet) files (#1406)
|
||||
- New: Add --scc-accurate-timing option for bandwidth-aware SCC output (#1120)
|
||||
- Fix: MXF files containing CEA-708 captions not being detected/extracted (#1647)
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Ensure runtime resolution of bundled libraries (FFmpeg / GPAC / PulseAudio)
|
||||
# Default fallback
|
||||
LIB_TRIPLET="x86_64-linux-gnu"
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu:\
|
||||
$SNAP/usr/lib/x86_64-linux-gnu/blas:\
|
||||
$SNAP/usr/lib/x86_64-linux-gnu/lapack:\
|
||||
$SNAP/usr/lib/x86_64-linux-gnu/pulseaudio:\
|
||||
# Detect multiarch directory if present
|
||||
for d in "$SNAP/usr/lib/"*-linux-gnu; do
|
||||
if [ -d "$d" ]; then
|
||||
LIB_TRIPLET=$(basename "$d")
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/$LIB_TRIPLET:\
|
||||
$SNAP/usr/lib/$LIB_TRIPLET/blas:\
|
||||
$SNAP/usr/lib/$LIB_TRIPLET/lapack:\
|
||||
$SNAP/usr/lib/$LIB_TRIPLET/pulseaudio:\
|
||||
${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
||||
|
||||
exec "$SNAP/usr/local/bin/ccextractor" "$@"
|
||||
|
||||
Reference in New Issue
Block a user