Clean chroot. davinci-resolve
, davinci-resolve-beta
, davinci-resolve-studio
have some issues. (They all appear to use the same PKGBUILD
.)
-
Uses
jq
before it's installed. Lines 45-46. As far as I know, this is not possible to resolve within the PKGBUILD itself. The data should be processed using basic tools, likebash
builtins,grep
, andsed
. -
patchelf
fails because the paths do not exist before the package is installed. From basic testing, seems to be unnecessary. -
Some runtime issues others have reported might be resolved by setting
LD_LIBRARY_PATH
in the.desktop
files. Did not fully test this. -
while
loops to fix permissions seems to be unnecessary.chmod -R u+rwX,go+rX,go-w "${srcdir}/squashfs-root"
seems to be sufficient. -
Why installing to
/opt/resolve
instead of/opt/davinci-resolve
. This program is well known by its full name, and there are other programs named*resolv*
. -
depends
should be moved intopackage()
because they are runtime dependencies only. This is a binary package with minimal build dependencies. -
This package requires about 21 GB to build. (3GB zip → 3GB appimage/run → 6GB squashfs → 6GB pkg → 3GB pkg.tar.zst) This can be reduced to 12 GB by deleting the
.run
file after extraction and moving the files topkgdir
instead of copying (viainstall
). -
Maybe
DaVinciResolveInstaller.desktop
should not be installed?
If @satriani is interested, I can help fix some of the above issues.
Pinned Comments
satriani commented on 2021-05-15 14:15 (UTC) (edited on 2021-05-15 14:16 (UTC) by satriani)
Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!
Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve
ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!
This is a current stable Package!
The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-beta/
And for current studio beta here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/
Thanks.