packages: every codec backend, and the libraries the app needs
voelin-media builds dav1d (AV1 decoding) by default, like every other codec backend: Linux images already had libdav1d-dev; Windows CI takes it from vcpkg next to libvpx and the MinGW image builds it static (dav1d 1.5.4, pinned commit; checked to cross-compile). Windows packages ship FFmpeg's LGPL DLLs (BtbN's 8.1 shared build, checked against the release's checksums by scripts/fetch-ffmpeg-windows.sh) next to voelin.exe, where the app looks first, with their license and a note on the build and its source; the installer installs and removes them. The Linux .tar.gz carries libvpx and libdav1d in lib/ (RUNPATH $ORIGIN/../lib, set with patchelf), whose sonames differ between distributions, and bin/voelin-install-deps, which installs FFmpeg, VA-API drivers, PipeWire, the desktop portal and a keyring with apt, dnf, pacman or zypper. The .deb recommends those packages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
This commit is contained in:
13 files changed
+280
-42
No files matched your search
@@ -35,10 +35,11 @@ jobs:
|
||||
key: release
|
||||
- name: Build
|
||||
run: cargo build --release --locked -p voelin-ui -p voelin-gateway
|
||||
# dpkg-shlibdeps works out the .deb's dependencies.
|
||||
# dpkg-shlibdeps works out the .deb's dependencies; patchelf points
|
||||
# the .tar.gz's binary at the libraries it carries.
|
||||
- name: Package (.tar.gz, .deb)
|
||||
run: |
|
||||
sudo apt-get install -y --no-install-recommends dpkg-dev
|
||||
sudo apt-get install -y --no-install-recommends dpkg-dev patchelf
|
||||
scripts/package.sh linux dist
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -70,6 +71,12 @@ jobs:
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
}
|
||||
"MAKENSIS=$($makensis.Replace('\', '/'))" >> $env:GITHUB_ENV
|
||||
# FFmpeg's LGPL DLLs, shipped next to voelin.exe.
|
||||
- name: FFmpeg
|
||||
shell: bash
|
||||
run: |
|
||||
scripts/fetch-ffmpeg-windows.sh "$RUNNER_TEMP/ffmpeg"
|
||||
echo "FFMPEG_DLL_DIR=$RUNNER_TEMP/ffmpeg" >> "$GITHUB_ENV"
|
||||
- name: Package (.zip, installer)
|
||||
shell: bash
|
||||
run: scripts/package.sh windows dist
|
||||
|
||||
Reference in new issue
Block a user