I've tried updating the package but Cloudflare is giving me a 403 on the download endpoint. Very annoying.
Search Criteria
Package Details: davinci-resolve-studio 19.1.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/davinci-resolve-studio.git (read-only, click to copy) |
---|---|
Package Base: | davinci-resolve-studio |
Description: | Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle. |
Upstream URL: | https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion |
Keywords: | blackmagic davinci editor resolve studio video |
Licenses: | LicenseRef-Commercial |
Conflicts: | davinci-resolve, davinci-resolve-beta, davinci-resolve-studio-beta |
Submitter: | codibit |
Maintainer: | Muflone |
Last Packager: | Muflone |
Votes: | 45 |
Popularity: | 2.33 |
First Submitted: | 2018-01-21 18:37 (UTC) |
Last Updated: | 2025-03-22 16:28 (UTC) |
Dependencies (25)
- apr-util
- ffmpeg4.4
- fuse2
- glu (glu-gitAUR)
- gst-plugins-bad-libs (gst-plugins-bad-libs-gitAUR)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, jre11AUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jre17AUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk8-temurinAUR, zulu-21-binAUR, jre8AUR, jdk8AUR, zulu-17-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, jre-ltsAUR, jdk-ltsAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, zulu-17-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, java-openjdk-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jreAUR, jdkAUR, jdk-temurinAUR, liberica-jdk-full-binAUR, zulu-24-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-8-binAUR, zing-21-binAUR, zing-23-binAUR, java-openjdk-ea-binAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, liberica-jdk-21-binAUR, jre-jetbrainsAUR, jdk21-jetbrains-binAUR, jdk17-jetbrains-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- libc++ (libc++-msanAUR, libc++-with-libunwindAUR)
- libc++abi (libc++abi-msanAUR, libc++-with-libunwindAUR)
- libpng12
- libxcrypt-compat
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR)
- opencl-driver (opencl-nvidia-410xxAUR, amdapp-sdkAUR, opencl-nvidia-440xxAUR, vc4cl-gitAUR, opencl-nvidia-430xxAUR, beignetAUR, beignet-gitAUR, intel-openclAUR, clvk-gitAUR, mesa-wsl2-gitAUR, intel-compute-runtime-legacy-binAUR, opencl-nvidia-340xxAUR, intel-compute-runtime-gitAUR, intel-compute-runtime-legacyAUR, opencl-nvidia-550xxAUR, opencl-legacy-amdgpu-proAUR, mesa-gitAUR, opencl-amdAUR, opencl-nvidia-525xxAUR, opencl-510xx-nvidiaAUR, opencl-nvidia-535xxAUR, opencl-nvidia-teslaAUR, opencl-nvidia-betaAUR, intel-compute-runtime-binAUR, opencl-nvidia-vulkanAUR, amdonly-gaming-opencl-rusticl-mesa-gitAUR, opencl-nvidia-390xxAUR, opencl-rusticl-mesa-minimal-gitAUR, opencl-nvidia-470xxAUR, intel-compute-runtime, intel-oneapi-compiler-shared-runtime, opencl-clover-mesa, opencl-nvidia, opencl-rusticl-mesa, rocm-opencl-runtime)
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- qt5-multimedia
- qt5-quickcontrols2 (qt5-quickcontrols2-gitAUR)
- qt5-svg (qt5-svg-gitAUR)
- qt5-webengine
- qt5-websockets (qt5-websockets-gitAUR)
- qt5-x11extras
- tbb (onetbb-gitAUR, onetbb)
- xmlsec
- libarchive (libarchive-gitAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- xdg-user-dirs (make)
Required by (1)
- davinci-ffmpeg-encoder-plugin (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 26 Next › Last »
PaoloBarbolini commented on 2023-08-29 20:10 (UTC)
jwan commented on 2023-08-26 01:06 (UTC) (edited on 2023-08-26 01:06 (UTC) by jwan)
I get the following when I try and install with paru
:
~ ❯ paru -S davinci-resolve-studio 00:30:35
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: marked out of date: davinci-resolve-studio
Aur (1) davinci-resolve-studio-18.1.4-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: davinci-resolve-studio 18.1.4-1 (Sat 26 Aug 2023 00:31:33 BST)
==> Retrieving sources...
-> Found DaVinci_Resolve_Studio_18.1.4_Linux.zip
==> Validating source files with sha256sums...
DaVinci_Resolve_Studio_18.1.4_Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'davinci-resolve-studio-18.1.4-1':
error: packages failed to build: davinci-resolve-studio-18.1.4-1
phoepsilonix commented on 2023-08-18 12:30 (UTC) (edited on 2023-08-18 12:37 (UTC) by phoepsilonix)
@shivamjoker
FULL PKGBUILD
We can know downloadId at
https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux
and
https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve-studio/linux
# Maintainer: Alex S. <shantanna_at_hotmail_dot_com>
# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
# Hardware support is limited. Nvidia cards should work fine.
# If you're running a hybrid setup, try with primusrun/optirun.
# 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
pkgname=davinci-resolve-studio
pkgver=18.5.1
pkgrel=1
if [[ "$pkgname" == "davinci-resolve" ]];then
# Variables for FREE edition
_product="DaVinci Resolve"
_referid='3d7a9703a5614d16834816641a447f7f'
_siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux"
sha256sums=('3c5da589f987d437a0f1c51f3ef16e33147ba6bd947a5bf549acfa57a6fb41aa')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
_archive_name=DaVinci_Resolve_${pkgver}_Linux
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
elif [[ "$pkgname" == "davinci-resolve-studio" ]];then
# Variables for STUDIO edition
_product="DaVinci Resolve Studio"
_referid='69a3995a376441d0ae23711c44370662'
_siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve-studio/linux"
sha256sums=('764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3')
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
conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi
_useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
AppleWebKit/537.36 (KHTML, like Gecko) \
Chrome/77.0.3865.75 \
Safari/537.36"
_releaseinfo=$(curl -s "$_siteurl")
_downloadId=$(printf "%s" $_releaseinfo | jq -r ".linux.downloadId")
_pkgver=$(printf "%s" $_releaseinfo | jq -r '[ .linux.major, .linux.minor, .linux.releaseNum ] | join(".")')
if [[ $pkgver != $_pkgver ]];then
echo "Version mismatch"
exit
fi
_reqjson="{ \
\"firstname\": \"Arch\", \
\"lastname\": \"Linux\", \
\"email\": \"someone@archlinux.org\", \
\"phone\": \"202-555-0194\", \
\"country\": \"us\", \
\"street\": \"Bowery 146\", \
\"state\": \"New York\", \
\"city\": \"AUR\", \
\"product\": \"$_product\" \
}"
_reqjson="$( printf '%s' "$_reqjson" | sed 's/[[:space:]]\+/ /g')"
_useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
_useragent_escaped="${_useragent// /\\ }"
_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadId}"
_srcurl="$(curl \
-s \
-H 'Host: www.blackmagicdesign.com' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Origin: https://www.blackmagicdesign.com' \
-H "$_useragent" \
-H 'Content-Type: application/json;charset=UTF-8' \
-H "Referer: https://www.blackmagicdesign.com/support/download/${_referid}/Linux" \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Accept-Language: en-US,en;q=0.9' \
-H 'Authority: www.blackmagicdesign.com' \
-H 'Cookie: _ga=GA1.2.1849503966.1518103294; _gid=GA1.2.953840595.1518103294' \
--data-ascii "$_reqjson" \
--compressed \
"$_siteurl")"
DLAGENTS=("https::/usr/bin/curl \
-gqb '' -C - --retry 3 --retry-delay 3 \
-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 \
--compressed \
%u")
_pkgname=resolve
resolve_app_name=com.blackmagicdesign.resolve
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-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' 'jq')
options=('!strip')
_archive=${_archive_name}.zip
_installer_binary=${_archive_name}.run
source=("${_archive}"::"$_srcurl")
prepare()
{
pushd "${srcdir}"
chmod u+x "${srcdir}/${_installer_binary}"
"${srcdir}/${_installer_binary}" --appimage-extract
popd
# Fix permission to all files and dirs
chmod -R u+rwX,go+rX,go-w "${srcdir}/squashfs-root"
pushd "${srcdir}/squashfs-root/share/panels"
tar -zxvf dvpanel-framework-linux-x86_64.tgz
chmod -R u+rwX,go+rX,go-w "${srcdir}/squashfs-root/share/panels/lib"
mv *.so "${srcdir}/squashfs-root/libs"
mv lib/* "${srcdir}/squashfs-root/libs"
popd
rm -rf "${srcdir}"/squashfs-root/installer "${srcdir}"/squashfs-root/installer* "${srcdir}"/squashfs-root/AppRun "${srcdir}"/squashfs-root/AppRun*
while IFS= read -r -d '' i; do
chmod 0755 "${i}"
done < <(find "${srcdir}/squashfs-root" -type d -print0)
while IFS= read -r -d '' i; do
[[ -f "${i}" && $(od -t x1 -N 4 "${i}") == *"7f 45 4c 46"* ]] || continue
chmod 0755 "${i}"
done < <(find "${srcdir}/squashfs-root" -type f -print0)
while IFS= read -r -d '' i; do
[[ -f "${i}" && $(od -t x1 -N 4 "${i}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath \
'/opt/'"${_pkgname}"'/libs:'\
'/opt/'"${_pkgname}"'/libs/plugins/sqldrivers:'\
'/opt/'"${_pkgname}"'/libs/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/libs/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/libs/plugins/platforms:'\
'/opt/'"${_pkgname}"'/libs/Fusion:'\
'/opt/'"${_pkgname}"'/plugins:'\
'/opt/'"${_pkgname}"'/bin:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/BlackmagicRawAPI:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/platforms:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/mediaservice:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/audio:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/bearer:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/BlackmagicRawAPI:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/mediaservice:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/audio:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/platforms:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/bearer:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/qtwebengine:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/platforms:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/plugins/platforms:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/plugins/bearer:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/AdminUtility/PlugIns/DaVinciKeyboards:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/AdminUtility/PlugIns/DaVinciPanels:'\
'$ORIGIN' "${i}"
done < <(find "${srcdir}/squashfs-root" -type f -size -32M -print0)
while IFS= read -r -d '' i; do
sed -i "s|RESOLVE_INSTALL_LOCATION|/opt/${_pkgname}|g" "${i}"
done < <(find . -type f '(' -name "*.desktop" -o -name "*.directory" -o -name "*.directory" -o -name "*.menu" ')' -print0)
ln -s "${srcdir}/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"
echo "StartupWMClass=resolve" >> "${srcdir}/squashfs-root/share/DaVinciResolve.desktop"
echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"' > "${srcdir}/squashfs-root/share/etc/udev/rules.d/99-DavinciPanel.rules"
}
package()
{
mkdir -p -m 0755 "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT}
# Install the squashfs-root
cp -rf "${srcdir}"/squashfs-root/* "${pkgdir}/opt/${_pkgname}"
# Distribute files into other directories
pushd "${pkgdir}/opt/${_pkgname}/"
install -Dm0644 share/default-config.dat -t "${pkgdir}/opt/${_pkgname}/configs"
install -Dm0644 share/log-conf.xml -t "${pkgdir}/opt/${_pkgname}/configs"
install -Dm0644 share/default_cm_config.bin -t "${pkgdir}/opt/${_pkgname}/DolbyVision"
install -Dm0644 share/DaVinciResolve.desktop -t "${pkgdir}/usr/share/applications"
install -Dm0644 share/DaVinciControlPanelsSetup.desktop -t "${pkgdir}/usr/share/applications"
install -Dm0644 share/DaVinciResolveInstaller.desktop -t "${pkgdir}/usr/share/applications"
install -Dm0644 share/DaVinciResolveCaptureLogs.desktop -t "${pkgdir}/usr/share/applications"
install -Dm0644 share/blackmagicraw-player.desktop -t "${pkgdir}/usr/share/applications"
install -Dm0644 share/blackmagicraw-speedtest.desktop -t "${pkgdir}/usr/share/applications"
install -Dm0644 share/DaVinciResolve.directory -t "${pkgdir}/usr/share/desktop-directories"
install -Dm0644 share/DaVinciResolve.menu -t "${pkgdir}/etc/xdg/menus"
install -Dm0644 graphics/DV_Resolve.png -t "${pkgdir}/usr/share/icons/hicolor/64x64/apps"
install -Dm0644 graphics/DV_ResolveProj.png -t "${pkgdir}/usr/share/icons/hicolor/64x64/apps"
install -Dm0644 share/resolve.xml -t "${pkgdir}/usr/share/mime/packages"
install -Dm0644 share/etc/udev/rules.d/99-BlackmagicDevices.rules -t "${pkgdir}/usr/lib/udev/rules.d"
install -Dm0644 share/etc/udev/rules.d/99-ResolveKeyboardHID.rules -t "${pkgdir}/usr/lib/udev/rules.d"
install -Dm0644 share/etc/udev/rules.d/99-DavinciPanel.rules -t "${pkgdir}/usr/lib/udev/rules.d"
popd
}
# vim: fileencoding=utf-8 sts=4 sw=4 noet
FraYoshi commented on 2023-08-16 06:37 (UTC) (edited on 2023-08-16 06:52 (UTC) by FraYoshi)
To install the new 18.5.1
package version, modify these variables on the PKGBUILD:
_downloadid='eab0e394e81b48bdb66e30ffd0be9e72'
pkgver=18.5.1
sha256sums=('764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3')
in the same directory of the PKGBUILD, run makepkg
and then install the built package with:
pacman -U davinci-resolve-studio-18.5.1-1-x86_64.pkg.tar.zst
refer to the wiki for doubts.
Seeed commented on 2023-08-15 06:37 (UTC)
Release of DaVinci Resolve 18.5.1
https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=186482
shivamjoker commented on 2023-08-07 15:30 (UTC)
@phoepsilonix could you please share the full pkgbuild file? I am still not able to download it properly.
phoepsilonix commented on 2023-08-07 12:41 (UTC)
diff --git a/PKGBUILD b/PKGBUILD
index 0e0ab4f..1c65bed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,29 @@
# 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='bb935a0d0e814961b7a75a2ded811b01'
-_referid='69a3995a376441d0ae23711c44370662'
+
+pkgname=davinci-resolve-studio
+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}"
_useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
@@ -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-studio
_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
jettscythe commented on 2023-07-29 13:07 (UTC)
The new _downloadid=16aad9a497e24871bf3c740fd1ccc1c5
, same sha256sum as in @FraYoshi's comment though.
FraYoshi commented on 2023-07-27 19:04 (UTC)
_downloadid='9576186159cb49dfa8543673859d312d'
pkgver=18.5
sha256sums=('bfc415cd77f02eac72b695880fe41fd6d4aa0840a132298706a4a0480e35f2cc')
adamis commented on 2023-07-06 06:23 (UTC)
Per my previous comment two days ago... If you are having issues with color correction crashing in DR with an all AMD system and you installed the rocm-opencl-runtime package that brings in ROCM 5.4.3, you can try installing this package instead:
https://aur.archlinux.org/packages/opencl-amd
This will install ROCr OpenCL stack 5.6.0 (reboot your system after you remove the rocm-opencl-runtime and install the opencl-amd package to be safe). You may have to move your /opt/rocm folder to /opt/rocm-old before installing the package as it might complain it already exists. Move it instead of deleting in case you elect to delete the newer package and revert back to the old one. This fixed the crashing I was having while trying to do any sort of color correction in the color tab.
I am still getting crashes when clicking on the fusion tab but that appears to be a different bug than the color correction bug I guess.
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.