There seems to be another missing piece:
❯ ll -l /opt/resolve/bin/BlackmagicRawAPI lrwxrwxrwx 1 root root 50 Feb 6 13:41 /opt/resolve/bin/BlackmagicRawAPI -> squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI
Note that "squashfs-root" in the path indicates it is a link to a file within an AppImage file system.
The fix is to modify PKGBUILD to make a symbolic link relative to bin:
- ln -s "squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "squashfs-root/bin/"
+ ln -s "../BlackmagicRAWPlayer/BlackmagicRawAPI" "squashfs-root/bin/"
which I fixed locally without rebuilding with this:
cd /opt/resolve
sudo rm "bin/BlackmagicRawAPI"
sudo ln -s "../BlackmagicRAWPlayer/BlackmagicRawAPI" "bin/"
Pinned Comments
Muflone commented on 2025-01-26 02:15 (UTC)
IMPORTANT!
Since version 19.1.3-2 this package will not download automatically the source file from the upstream site.
To build this package you will need to manually download the file from https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion and place it in the same directory with the PKGBUILD.
This would reduce the mess in this package, making it more readable and clear. Also bypassing the required information from the upstream URL is not allowed in an automated way.