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:
1 parent
eafa67cfe9
commit
ac187fe39e
13 files changed
+280
-42
No files matched your search
@@ -7,6 +7,8 @@
|
||||
; for the numeric file version (default: VERSION)
|
||||
; BINARY the executable (default ..\..\target\release\voelin.exe)
|
||||
; OUTDIR where the installer goes (default: next to this file)
|
||||
; FFMPEG a directory with FFmpeg's DLLs and FFMPEG-*.txt
|
||||
; (scripts/fetch-ffmpeg-windows.sh), installed next to the app
|
||||
; SIGN a signing command; "%1" is replaced by the file to sign, e.g.
|
||||
; /DSIGN="signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /a %1"
|
||||
;
|
||||
@@ -67,6 +69,11 @@ Section "Install"
|
||||
File "/oname=${EXE}" "${BINARY}"
|
||||
; Also shown in the app's About page.
|
||||
File "/oname=THIRD_PARTY_NOTICES.md" "..\..\THIRD_PARTY_NOTICES.md"
|
||||
!ifdef FFMPEG
|
||||
; FFmpeg's DLLs, loaded from the app's directory, and their license.
|
||||
File "${FFMPEG}\*.dll"
|
||||
File "${FFMPEG}\FFMPEG-*.txt"
|
||||
!endif
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
|
||||
CreateShortcut "$SMPROGRAMS\${APP_NAME}.lnk" "$INSTDIR\${EXE}"
|
||||
@@ -86,6 +93,9 @@ Section "Uninstall"
|
||||
; User data in %APPDATA%\voelin (identities, bookmarks, history) is kept.
|
||||
Delete "$INSTDIR\${EXE}"
|
||||
Delete "$INSTDIR\THIRD_PARTY_NOTICES.md"
|
||||
Delete "$INSTDIR\av*.dll"
|
||||
Delete "$INSTDIR\sw*.dll"
|
||||
Delete "$INSTDIR\FFMPEG-*.txt"
|
||||
Delete "$INSTDIR\uninstall.exe"
|
||||
RMDir "$INSTDIR"
|
||||
Delete "$SMPROGRAMS\${APP_NAME}.lnk"
|
||||
|
||||
Reference in new issue
Block a user