summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex2021-05-22 01:50:01 +0200
committerAlex2021-05-22 01:50:01 +0200
commit90de30126596753f583175c8a46084fb8eaf77ae (patch)
tree4c3b06c449fec23b22b1aabc98574fdab8ff7f71
parent0b18ee5897e4a5115118104464f8d572301e982d (diff)
downloadaur-90de30126596753f583175c8a46084fb8eaf77ae.tar.gz
fix issues
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD79
2 files changed, 43 insertions, 42 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 44f7c7a1d4b8..a92049b82f20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = davinci-resolve-studio
pkgdesc = Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.
pkgver = 17.2
- pkgrel = 2
+ pkgrel = 3
url = https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
install = davinci-resolve.install
arch = any
@@ -27,8 +27,8 @@ pkgbase = davinci-resolve-studio
conflicts = davinci-resolve
conflicts = davinci-resolve-studio-beta
options = !strip
- source = DaVinci_Resolve_Studio_17.2_Linux.zip::https://sw.blackmagicdesign.com/DaVinciResolve/v17.2/DaVinci_Resolve_Studio_17.2_Linux.zip?Key-Pair-Id=APKAJTKA3ZJMJRQITVEA&Signature=kcy8PpzOhdhsQQ8GFPawrOaOB/Vg42La5hWEqKyEXj10UyKAF4jQN77ZgdswOfBZs5Whxn9YddQIsEgNFpb4PzZf/eWsSNeq5jqcPEBYLZ7F/9wzlLaXM4b0hQDsG10uctWuhUnxYSvQdAWfcs8u8UbEUX//K9zQOiHm4PD2r3vaqokzXCQt14+IedkWrKKnivfaz2xT1H7E6XIhn9ITViLkR61zkSA8jFfgX8LVPUFZvQQ+DsF85pN4xJIlLwvpI0RQORqlF29irOR/dOSS5iWEyMkZCszma4Fxtpm5lklm2PU4cIk7HOntr/RFh2CAGSEcALXz2RAWcuGCbywYEA==&Expires=1621455912
- sha256sums = 5a2a447c6c4cea957d5166d565b683f516492cd4c571a0f143cbb9ab827da9ba
+ source = DaVinci_Resolve_Studio_17.2_Linux.zip::https://sw.blackmagicdesign.com/DaVinciResolve/v17.2/DaVinci_Resolve_Studio_17.2_Linux.zip?Key-Pair-Id=APKAJTKA3ZJMJRQITVEA&Signature=Utkc7qING1atMYqhYQ+RgfGFOc8FW7s5tTK8Mnh3aCLym0X6WWRCXl/l2tJoSot0xeDaeYBxp2V/564uzjp+CoRhFWtYf726qh+1a53MAWQWdGSw3tD0bx6/KtcTJEafnYAgsvrGZayCfqtm8OKNsO4BKwYtXSM/euD+VXqqSOGrDUVgnjbUFPWqSQmAJHM8g8d68zDgQNtC3ucLUWUunwbfLVDjH9CkFWFArHQqvv8eNDNehBa5XcHlmszo337ZMAfmTlr8oJsXH0GNi42avNkxYihOEj5L3tm/Sd4HYS64uMhhyzU6TYhcbJjM314U0FIIoR5mWUBaxz7hsPhsqw==&Expires=1621651759
+ sha256sums = 816ee9b66ef546c7cf41233c7e9ee3ffedfa5d867466225c1680a0ee45131f0c
pkgname = davinci-resolve-studio
diff --git a/PKGBUILD b/PKGBUILD
index 8f2c21f07c62..f17dae84ccd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,19 +12,19 @@ _referid='2e107aba152744e0aa77ad3fb9d25986'
_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadid}"
_useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
- AppleWebKit/537.36 (KHTML, like Gecko) \
- Chrome/77.0.3865.75 \
- Safari/537.36"
+ AppleWebKit/537.36 (KHTML, like Gecko) \
+ Chrome/77.0.3865.75 \
+ Safari/537.36"
_reqjson="{ \
- \"firstname\": \"Arch\", \
- \"lastname\": \"Linux\", \
- \"email\": \"someone@archlinux.org\", \
- \"phone\": \"202-555-0194\", \
- \"country\": \"us\", \
- \"state\": \"New York\", \
- \"city\": \"AUR\", \
- \"product\": \"DaVinci Resolve Studio\" \
+ \"firstname\": \"Arch\", \
+ \"lastname\": \"Linux\", \
+ \"email\": \"someone@archlinux.org\", \
+ \"phone\": \"202-555-0194\", \
+ \"country\": \"us\", \
+ \"state\": \"New York\", \
+ \"city\": \"AUR\", \
+ \"product\": \"DaVinci Resolve\" \
}"
_reqjson="$( printf '%s' "$_reqjson" | sed 's/[[:space:]]\+/ /g')"
@@ -32,43 +32,43 @@ _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" \
- -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")"
+ -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 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 \
- --compressed \
- %u")
+ -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 \
+ --compressed \
+ %u")
pkgname=davinci-resolve-studio
_pkgname=resolve
resolve_app_name=com.blackmagicdesign.resolve
pkgver=17.2
-pkgrel=2
+pkgrel=3
arch=('any')
url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
license=('Commercial')
depends=('glu' 'gtk2' 'gstreamer' 'libpng12' 'lib32-libpng12' 'ocl-icd' 'openssl-1.0' 'fuse2'
- 'opencl-driver' 'qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets')
+ 'opencl-driver' 'qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets')
makedepends=('libarchive' 'xdg-user-dirs')
options=('!strip')
provides=('davinci-resolve')
@@ -78,13 +78,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=('5a2a447c6c4cea957d5166d565b683f516492cd4c571a0f143cbb9ab827da9ba')
+ sha256sums=('816ee9b66ef546c7cf41233c7e9ee3ffedfa5d867466225c1680a0ee45131f0c')
conflicts=('davinci-resolve-beta' 'davinci-resolve' '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=('b7b56292b6f5b73b94d343b4775a891409206d5efa4b34de916df75551d5d5ef')
+ sha256sums=('87365cdd33de1ea92c4972acad50254efc9bc5461e0500dbd76ca1c12198eccb')
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi
@@ -97,7 +97,8 @@ prepare()
{
# Remove udev rules (The official installer does not remove these files. This leads to the conflict "exists in the file system".)
confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules 2> /dev/null | awk -F/ '{print $NF}'
- find /opt/resolve/configs -name log-conf.xml -o -name config.dat 2> /dev/null | awk -F/ '{print $NF}')
+ find /opt/resolve/configs -name log-conf.xml -o -name config.dat 2> /dev/null | awk -F/ '{print $NF}'
+ )
if [ "${confiles}" ]; then
echo -e "\033[1m==> The file(s) $(echo ${confiles} | xargs | sed 's/ /, /g') already exist in your filesystem.\033[0m"
echo -e "\033[1m==> This can lead to a conflict and the installation will fail.\033[0m"