Package Details: davinci-resolve 18.6.6-2

Git Clone URL: https://aur.archlinux.org/davinci-resolve.git (read-only, click to copy)
Package Base: davinci-resolve
Description: Professional A/V post-production software suite from Blackmagic Design
Upstream URL: https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
Keywords: blackmagic davinci editor resolve video
Licenses: Commercial
Conflicts: davinci-resolve-beta, davinci-resolve-studio, davinci-resolve-studio-beta
Submitter: jonathon
Maintainer: satriani
Last Packager: satriani
Votes: 130
Popularity: 2.01
First Submitted: 2017-04-19 20:57 (UTC)
Last Updated: 2024-03-24 21:14 (UTC)

Dependencies (24)

Required by (0)

Sources (1)

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.

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 51 Next › Last »

Redstonerayy commented on 2023-08-15 23:36 (UTC)

This is my current working state of the PKGBUILD for version 18.5.1. I obtained the download and referer id using the browser devtools and the sha256 sums by downloading the official files from their website. strange thing is that although this should be right, the build is failing because of a failed validity check. if i change the sha256 to that of the file downloaded by the package build, it builds the package but the package isn't installable using pacman. i suspect it's still not downloading the correct file (change to .SRCINFO may be required?) but this goes beyond my understanding.

Note: I've send an e-mail to the maintaner, hoping things will be fixed when they find some time.

diff --git a/PKGBUILD b/PKGBUILD
index acabf33..71ae108 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,8 @@
 # This was originally written by Daniel Bermond in blackmagic-decklink-sdk pkgbuild
 # It is sufficient to just replace _downloadid to correspond new release version
 # It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
-_downloadid='6449dc76e0b845bcb7399964b00a3ec4'
-_referid='3d7a9703a5614d16834816641a447f7f'
+_downloadid='defc1c6789b7475b9ee4a42daf9ba61d'
+_referid='407464b9a0e6435ab99b85693cbf24ab'
 _siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadid}"

 _useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
@@ -22,6 +22,7 @@ _reqjson="{ \
     \"email\": \"someone@archlinux.org\", \
     \"phone\": \"202-555-0194\", \
     \"country\": \"us\", \
+    \"street\": \"Bowery 146\", \
     \"state\": \"New York\", \
     \"city\": \"AUR\", \
     \"product\": \"DaVinci Resolve\" \
@@ -61,7 +62,7 @@ DLAGENTS=("https::/usr/bin/curl \
 pkgname=davinci-resolve
 _pkgname=resolve
 resolve_app_name=com.blackmagicdesign.resolve
-pkgver=18.1.4
+pkgver=18.5.1
 pkgrel=1
 arch=('x86_64')
 url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
@@ -76,13 +77,13 @@ if [ ${pkgname} == "davinci-resolve-studio" ]; then
 # Variables for STUDIO edition
    pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
    _archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
-   sha256sums=('af3a698b4f7c28286fd9678f95ab73a1a73f3025996e76d9ca5ba3eec0d97481')
+   sha256sums=('764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3')
    conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
 else
 # Variables for FREE edition
    pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
    _archive_name=DaVinci_Resolve_${pkgver}_Linux
-   sha256sums=('6d7c3ba49c73c7d4d4da26482eb2f7248c956ea035fcc0bd62b600a2f579e522')
+   sha256sums=('3c5da589f987d437a0f1c51f3ef16e33147ba6bd947a5bf549acfa57a6fb41aa')
    conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
 fi

seqfault commented on 2023-08-15 14:00 (UTC)

DaVinci Resolve 18.5.1 is available, please update this

incon commented on 2023-08-13 21:29 (UTC)

Hello, it looks like the stable version of davinci has been updated to 18.5. So this package is out-of-date. https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=185029&sid=e0c1898a0602d790b8113cf6f5dd3113

From the earlier comments, it appears that this is causing build issues. So I hope you resolve this quickly.

pauby commented on 2023-08-13 21:02 (UTC)

Package is broken:

Building davinci-resolve...
==> Making package: davinci-resolve 18.1.4-1 (Sun 13 Aug 2023 22:00:32 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: DaVinci_Resolve_18.1.4_Linux.zip was not found in the build directory and is not a URL.
Failed to build davinci-resolve

phoepsilonix commented on 2023-08-07 12:37 (UTC) (edited on 2023-08-07 12:40 (UTC) by phoepsilonix)

diff --git a/PKGBUILD b/PKGBUILD
index acabf33..c5d5ae1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,28 @@
 # This was originally written by Daniel Bermond in blackmagic-decklink-sdk pkgbuild
 # It is sufficient to just replace _downloadid to correspond new release version
 # It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
-_downloadid='6449dc76e0b845bcb7399964b00a3ec4'
+
+pkgname=davinci-resolve
+pkgver=18.5
+pkgrel=1
+if [[ "$pkgname" == "davinci-resolve" ]];then
+    _downloadid='6d977a8a9f384a3a9b3f28f6ca1efedd'
+    _product="DaVinci Resolve"
+    # Variables for FREE edition
+    pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
+    _archive_name=DaVinci_Resolve_${pkgver}_Linux
+    sha256sums=('4fe0c5dd57cc3a41a1d798bc8be66d946b182ec1c90af03d2eb6d8259314e5b0')
+    conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
+elif [[ "$pkgname" == "davinci-resolve-studio" ]];then
+    _downloadid='16aad9a497e24871bf3c740fd1ccc1c5'
+    _product="DaVinci Resolve Studio"
+    # Variables for STUDIO edition
+    pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
+    _archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
+    sha256sums=('f5c91684b7e78d46870ec8a58d5e2959d65bba4411160de97f486152118723ea')
+    conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
+fi
+
 _referid='3d7a9703a5614d16834816641a447f7f'
 _siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadid}"

@@ -22,9 +43,10 @@ _reqjson="{ \
     \"email\": \"someone@archlinux.org\", \
     \"phone\": \"202-555-0194\", \
     \"country\": \"us\", \
+    \"street\": \"Bowery 146\", \
     \"state\": \"New York\", \
     \"city\": \"AUR\", \
-    \"product\": \"DaVinci Resolve\" \
+    \"product\": \"$_product\" \
 }"

 _reqjson="$(  printf '%s' "$_reqjson"   | sed 's/[[:space:]]\+/ /g')"
@@ -49,7 +71,7 @@ _srcurl="$(curl \

 DLAGENTS=("https::/usr/bin/curl \
             -gqb '' -C - --retry 3 --retry-delay 3 \
-            -H Host:\ sw.blackmagicdesign.com \
+       -H Host:\ sw.cloud.blackmagicdesign.com \
             -H Upgrade-Insecure-Requests:\ 1 \
             -H ${_useragent_escaped} \
             -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
@@ -58,34 +80,17 @@ DLAGENTS=("https::/usr/bin/curl \
             --compressed \
             %u")

-pkgname=davinci-resolve
 _pkgname=resolve
 resolve_app_name=com.blackmagicdesign.resolve
-pkgver=18.1.4
-pkgrel=1
 arch=('x86_64')
 url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
 license=('Commercial')
-depends=('glu' 'gtk2' 'libpng12' 'fuse2' 'opencl-driver' 'qt5-x11extras' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets'
+depends=('glu' 'gtk2' 'libpng12' 'fuse2' 'opencl-driver' 'qt5-x11extras' 'qt5-svg' 'qt5-webengine' 'qt5-websockets'
 'qt5-quickcontrols2' 'qt5-multimedia' 'libxcrypt-compat' 'xmlsec' 'java-runtime' 'ffmpeg4.4' 'gst-plugins-bad-libs' 'python-numpy' 
 'tbb' 'apr-util' 'luajit')
 makedepends=('libarchive' 'xdg-user-dirs' 'patchelf')
 options=('!strip')

-if [ ${pkgname} == "davinci-resolve-studio" ]; then
-# Variables for STUDIO edition
-   pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
-   _archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
-   sha256sums=('af3a698b4f7c28286fd9678f95ab73a1a73f3025996e76d9ca5ba3eec0d97481')
-   conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
-else
-# Variables for FREE edition
-   pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
-   _archive_name=DaVinci_Resolve_${pkgver}_Linux
-   sha256sums=('6d7c3ba49c73c7d4d4da26482eb2f7248c956ea035fcc0bd62b600a2f579e522')
-   conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
-fi
-
 _archive=${_archive_name}.zip
 _installer_binary=${_archive_name}.run
 source=("${_archive}"::"$_srcurl")
@@ -198,4 +203,4 @@ package()
    popd
 }

-# vim: fileencoding=utf-8 sts=4 sw=4 noet
\ No newline at end of file
+# vim: fileencoding=utf-8 sts=4 sw=4 noet

icedream commented on 2023-08-06 10:28 (UTC) (edited on 2023-08-06 10:33 (UTC) by icedream)

The source download will not work with the current curl parameters as the overridden Host header is different from what CloudFlare in front of the download server expects. I did the following changes to PKGBUILD to remove unnecessary parameters and add the street field and it works.

diff --git a/PKGBUILD b/PKGBUILD
index acabf33..1532a1b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,6 +22,7 @@ _reqjson="{ \
     \"email\": \"someone@archlinux.org\", \
     \"phone\": \"202-555-0194\", \
     \"country\": \"us\", \
+    \"street\": \"Bowery 146\", \
     \"state\": \"New York\", \
     \"city\": \"AUR\", \
     \"product\": \"DaVinci Resolve\" \
@@ -29,11 +30,9 @@ _reqjson="{ \

 _reqjson="$(  printf '%s' "$_reqjson"   | sed 's/[[:space:]]\+/ /g')"
 _useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
-_useragent_escaped="${_useragent// /\\ }"

 _srcurl="$(curl \
             -s \
-            -H 'Host: www.blackmagicdesign.com' \
             -H 'Accept: application/json, text/plain, */*' \
             -H 'Origin: https://www.blackmagicdesign.com' \
             -H "$_useragent" \
@@ -49,9 +48,7 @@ _srcurl="$(curl \

 DLAGENTS=("https::/usr/bin/curl \
             -gqb '' -C - --retry 3 --retry-delay 3 \
-            -H Host:\ sw.blackmagicdesign.com \
             -H Upgrade-Insecure-Requests:\ 1 \
-            -H ${_useragent_escaped} \
             -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
             -H Accept-Language:\ en-US,en;q=0.9 \
             -o %o \

phoepsilonix commented on 2023-07-27 14:15 (UTC) (edited on 2023-07-27 14:16 (UTC) by phoepsilonix)

_downloadid='6d977a8a9f384a3a9b3f28f6ca1efedd'
pkgver=18.5
sha256sums=('4fe0c5dd57cc3a41a1d798bc8be66d946b182ec1c90af03d2eb6d8259314e5b0')

ralo commented on 2023-07-17 13:08 (UTC) (edited on 2023-07-17 14:08 (UTC) by ralo)

Hello The url to the DaVinci_Resolve_18.1.4_Linux.zip is expired. thx

ups, read before write sorry

Redstonerayy commented on 2023-07-11 09:09 (UTC)

using the helpful comment from @jshcmpbli the PKGBUILD could be altered (as provided here) to allow installation. installation worked fine on my arch-derivative.

_reqjson="{ \
    \"firstname\": \"Arch\", \
    \"lastname\": \"Linux\", \
    \"email\": \"someone@archlinux.org\", \
    \"phone\": \"202-555-0194\", \
    \"country\": \"us\", \
    \"street\": \"Bowery 146\", \
    \"state\": \"New York\", \
    \"city\": \"AUR\", \
    \"product\": \"DaVinci Resolve\" \
}"

jshcmpbll commented on 2023-07-11 02:30 (UTC)

Looks like Blackmagic added a street field to the existing payload request.

Here is the update in Nix - https://github.com/NixOS/nixpkgs/pull/242751