Updated davinci resolve studio
This commit is contained in:
parent
6778c6f934
commit
4cb3d50bfd
@ -1,2 +1,4 @@
|
|||||||
DIST DaVinci_Resolve_Studio_18.6.6_Linux.zip 5574094056 BLAKE2B e279c1df83c2b8dd2562183c731c6da0f72a975e86048ed5283ce9478cfb274297fc4649618a32e2506cf8c7b58cf0a9563fa838fe2faecf0d6725cfb6a155b3 SHA512 ad1251c6df84f0260e8fa0530f1d4c9f5abc4c123388163de7a7a0ce564d1d2e7fefcd02bdd5af0309a70c79604da618667613f9331a119c6ce63f1283de53df
|
AUX defaults.list 288 BLAKE2B 01ec450413f2d24994433639b9309c111a8979f9370c9e2703ac7fab5ae6c1fdfacf7a74d2a486334769e146e0f9984bb464a50561f018214cb5f07db7471dc3 SHA512 4c8075f1c4b7a57d59cd009b1e42b7be48f16576c9a51e145ee4ad8af8785bedb9997539a08b53b5b03804f147c1751df02bdc62ebd70bfb88827137c235791a
|
||||||
DIST DaVinci_Resolve_Studio_19.0b2_Linux.zip 6099699131 BLAKE2B 9dadc4122785e7a5328484d1e6c8a444a3fe424b256b3330801ba97b236576ac3c3dcaa74c20c63df93153ff3279bfc09fef6fbeab1895afa5a21c44332bf212 SHA512 f7d3e3147a04e95241bac73a3bff1663d2064067ecb0a06d50e22b80b759819282881e71ccaeea68efdc787d3a277a28886530089a17f92e2d20d8cf64a5dbe4
|
DIST DaVinci_Resolve_Studio_19.0b5_Linux.zip 6361894707 BLAKE2B b111bc05f6c45b4fce8157b5091b4ae3855d02272c0f8536abd024c00a8aa9c305019a1bd6282f2ea45b3a7defaa9a45ef83aa4f056704bf3ed8a0bf5e9278c4 SHA512 fab1256779beef244a9c870242bc40c0dd831aa56c514cc83f1ee73ff21c09d0bd2e487f0226b1d1fb8427492e76fda9a7b2ae11cf39d9e335ea8fcef0d02201
|
||||||
|
EBUILD davinci-resolve-studio-19.0_beta5.ebuild 7887 BLAKE2B 5cc19eb7de44ffa172eafeeeebd4a869229a490342bd5ab6cc224ebf13ae7f047bbc49275ea48f7c7888a4929ce63e70d8c482eee7632ad2eb20aaccf2c6f122 SHA512 554223923c4659571e6264c25957aaf445c57fc19d12110d3d07221df76dde262991acab4651d85c51c21785ea6635f0b49740e9dd907d3d56c9e8dd9ac431aa
|
||||||
|
MISC metadata.xml 548 BLAKE2B e520415d5bebe217cc7a99e3139e7f3bf145708e8d1cca46d6392cd3bd72b84fe06e4ff542fc4e066c868cb8a215da7c524f2f8b8bb6013ff469c9c2490a4691 SHA512 389523580c9851526f7f2943a9e4c55fc34b45aadff397b48c208108cb408041f494c59fe2f4ab06f33ba447858cc53bc3a3eaf6d923c8e7923382c04d83efbd
|
||||||
|
@ -1,305 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# Panel Daemon is don't installed
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
inherit check-reqs desktop udev xdg
|
|
||||||
|
|
||||||
PKG_NAME="DaVinci_Resolve_Studio_${PV}_Linux"
|
|
||||||
PKG_HOME="/opt/resolve"
|
|
||||||
PKG_MOUNT="squashfs-root"
|
|
||||||
|
|
||||||
LIBS_SYM="
|
|
||||||
DaVinci Control Panels Setup/libxcb.so.1
|
|
||||||
DaVinci Control Panels Setup/libavahi-common.so.3
|
|
||||||
DaVinci Control Panels Setup/libavahi-client.so.3
|
|
||||||
DaVinci Control Panels Setup/libdns_sd.so.1
|
|
||||||
libs/libapr-1.so
|
|
||||||
libs/libapr-1.so.0
|
|
||||||
libs/libapr-1.so.0.7.0
|
|
||||||
libs/libaprutil-1.so
|
|
||||||
libs/libaprutil-1.so.0
|
|
||||||
libs/libaprutil-1.so.0.6.1
|
|
||||||
libs/libcdt.so
|
|
||||||
libs/libcdt.so.5
|
|
||||||
libs/libcdt.so.5.0.0
|
|
||||||
libs/libcgraph.so
|
|
||||||
libs/libcgraph.so.6
|
|
||||||
libs/libcgraph.so.6.0.0
|
|
||||||
libs/libcrypto.so.1.1
|
|
||||||
libs/libcurl.so
|
|
||||||
libs/libgvc.so
|
|
||||||
libs/libgvc.so.6
|
|
||||||
libs/libgvc.so.6.0.0
|
|
||||||
libs/libgvpr.so
|
|
||||||
libs/libgvpr.so.2
|
|
||||||
libs/libgvpr.so.2.0.0
|
|
||||||
libs/liborc-0.4.so
|
|
||||||
libs/liborc-0.4.so.0
|
|
||||||
libs/liborc-0.4.so.0.32.0
|
|
||||||
libs/libpathplan.so
|
|
||||||
libs/libpathplan.so.4
|
|
||||||
libs/libpathplan.so.4.0.0
|
|
||||||
libs/libpq.so.5
|
|
||||||
libs/libsoxr.so
|
|
||||||
libs/libsoxr.so.0
|
|
||||||
libs/libsoxr.so.0.1.3
|
|
||||||
libs/libsrtp2.so
|
|
||||||
libs/libsrtp2.so.2.4.0
|
|
||||||
libs/libssl.so.1.1
|
|
||||||
libs/libtbb.so.2
|
|
||||||
libs/libtbb_debug.so.2
|
|
||||||
libs/libtbbmalloc.so.2
|
|
||||||
libs/libtbbmalloc_proxy.so.2
|
|
||||||
libs/libxdot.so
|
|
||||||
libs/libxdot.so.4
|
|
||||||
libs/libxdot.so.4.0.0
|
|
||||||
libs/libxmlsec1-openssl.so
|
|
||||||
libs/libxmlsec1.so
|
|
||||||
Fairlight Studio Utility/libxcb.so.1
|
|
||||||
Fairlight Studio Utility/libavahi-common.so.3
|
|
||||||
Fairlight Studio Utility/libavahi-client.so.3
|
|
||||||
Fairlight Studio Utility/libdns_sd.so.1
|
|
||||||
"
|
|
||||||
|
|
||||||
DESCRIPTION="Professional A/V post-production software suite from Blackmagic Design"
|
|
||||||
HOMEPAGE="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
|
|
||||||
SRC_URI="${PKG_NAME}.zip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
LICENSE="Blackmagic"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="bundled-libs developer video_cards_amdgpu video_cards_nvidia"
|
|
||||||
RESTRICT="mirror strip test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
app-arch/brotli
|
|
||||||
app-arch/lz4
|
|
||||||
app-crypt/argon2
|
|
||||||
dev-libs/fribidi
|
|
||||||
dev-libs/glib
|
|
||||||
dev-libs/icu
|
|
||||||
dev-libs/json-c
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
dev-libs/libltdl
|
|
||||||
dev-libs/libunistring
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
dev-qt/qt3d:5[gamepad,qml]
|
|
||||||
dev-qt/qtvirtualkeyboard:5
|
|
||||||
gnome-base/librsvg
|
|
||||||
media-gfx/graphite2
|
|
||||||
media-libs/flac
|
|
||||||
media-libs/harfbuzz
|
|
||||||
media-libs/libogg
|
|
||||||
media-libs/libpng-compat:1.2
|
|
||||||
media-libs/libpulse
|
|
||||||
media-libs/libsndfile
|
|
||||||
media-libs/libvorbis
|
|
||||||
media-libs/opus
|
|
||||||
net-dns/libidn2
|
|
||||||
net-libs/libasyncns
|
|
||||||
net-libs/nghttp2
|
|
||||||
sys-apps/dbus
|
|
||||||
virtual/libcrypt
|
|
||||||
virtual/opencl
|
|
||||||
virtual/opengl
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXrender
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-libs/libxcb
|
|
||||||
!bundled-libs? (
|
|
||||||
<dev-libs/openssl-3.0
|
|
||||||
dev-cpp/tbb
|
|
||||||
dev-lang/orc
|
|
||||||
dev-libs/apr
|
|
||||||
dev-libs/xmlsec
|
|
||||||
media-gfx/graphviz
|
|
||||||
media-libs/freeglut
|
|
||||||
media-libs/soxr
|
|
||||||
net-dns/avahi[mdnsresponder-compat]
|
|
||||||
net-libs/libsrtp
|
|
||||||
net-misc/curl
|
|
||||||
dev-db/postgresql
|
|
||||||
gnome-base/gnome-shell
|
|
||||||
)
|
|
||||||
video_cards_amdgpu? ( >=dev-libs/rocm-opencl-runtime-5.5.1 )
|
|
||||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
BDEPEND="app-arch/unzip"
|
|
||||||
|
|
||||||
QA_PREBUILT="*"
|
|
||||||
|
|
||||||
include_dir() {
|
|
||||||
local _dir
|
|
||||||
local exe
|
|
||||||
|
|
||||||
_dir="$1"
|
|
||||||
|
|
||||||
doins -r "${_dir}"
|
|
||||||
|
|
||||||
# Reset permissions for executables
|
|
||||||
find "${_dir}" -type f | while read exe; do
|
|
||||||
fperms -x "${PKG_HOME}"/"${exe}"
|
|
||||||
done
|
|
||||||
# Set permissions for executables and libraries
|
|
||||||
find "${_dir}" -type f -name "*.so*" | while read exe; do
|
|
||||||
fperms +x "${PKG_HOME}"/"${exe}"
|
|
||||||
done
|
|
||||||
find "${_dir}" -type f -executable | while read exe; do
|
|
||||||
fperms +x "${PKG_HOME}"/"${exe}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
CHECKREQS_DISK_BUILD="20G"
|
|
||||||
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
pkg_setup() {
|
|
||||||
CHECKREQS_DISK_BUILD="20G"
|
|
||||||
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Extract the archive from squashfs
|
|
||||||
./${PKG_NAME}.run --appimage-extract
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
cd ${PKG_MOUNT}
|
|
||||||
|
|
||||||
# Set installation directory
|
|
||||||
sed -i -e "s|RESOLVE_INSTALL_LOCATION|${PKG_HOME}|g" share/*.desktop share/*.directory
|
|
||||||
|
|
||||||
# Fix categories
|
|
||||||
sed -i -e "s|=Video|=AudioVideo|g" share/*.desktop
|
|
||||||
|
|
||||||
# Remove 32bits apps
|
|
||||||
rm LUT/GenOutputLut LUT/GenLut || die
|
|
||||||
|
|
||||||
# Remove glib-2.0 compiled with old pango
|
|
||||||
# And fix Davinci Resolve: libpango undefined symbol: g_string_free_and_steal
|
|
||||||
# https://www.reddit.com/r/Fedora/comments/12z32r1/davinci_resolve_libpango_undefined_symbol_g/
|
|
||||||
rm libs/{libgio*,libglib*,libgmodule*,libgobject*} || die
|
|
||||||
|
|
||||||
rm -rf libs/pkgconfig || die
|
|
||||||
|
|
||||||
# Remove bundled libraries
|
|
||||||
if use !bundled-libs; then
|
|
||||||
local remove
|
|
||||||
echo "${LIBS_SYM}" | while read remove; do
|
|
||||||
if [ "${remove}" ]; then
|
|
||||||
rm "${remove}" || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove some libraries
|
|
||||||
rm -rf libs/graphviz || die
|
|
||||||
find -name "libgcc_s.so.1" -delete || die
|
|
||||||
find -name "libusb*" -delete || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove license files
|
|
||||||
rm "BlackmagicRAWSpeedTest/Third Party Licenses.rtf" || die
|
|
||||||
rm "BlackmagicRAWPlayer/Third Party Licenses.rtf" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cd ${PKG_MOUNT}
|
|
||||||
|
|
||||||
insinto "${PKG_HOME}"
|
|
||||||
local _dir
|
|
||||||
for _dir in bin BlackmagicRAWPlayer BlackmagicRAWSpeedTest Certificates Control "DaVinci Control Panels Setup" \
|
|
||||||
"Fairlight Studio Utility" Fusion graphics libs LUT plugins UI_Resource; do
|
|
||||||
include_dir "${_dir}"
|
|
||||||
done
|
|
||||||
|
|
||||||
if use developer; then
|
|
||||||
include_dir Developer
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto "${PKG_HOME}"/share
|
|
||||||
doins share/{default-config.dat,default_cm_config.bin,log-conf.xml}
|
|
||||||
|
|
||||||
dodoc docs/{DaVinci_Resolve_Manual.pdf,ReadMe.html,Welcome.txt}
|
|
||||||
dodoc "Technical Documentation"/{"DaVinci Remote Panel.txt","User Configuration folders and customization.txt"}
|
|
||||||
|
|
||||||
insinto "$(get_udevdir)"/rules.d
|
|
||||||
doins share/etc/udev/rules.d/*.rules
|
|
||||||
|
|
||||||
insinto /usr/share/desktop-directories
|
|
||||||
doins share/*.directory
|
|
||||||
|
|
||||||
insinto /etc/xdg/menus
|
|
||||||
doins share/*.menu
|
|
||||||
|
|
||||||
insinto /usr/share/mime/packages/
|
|
||||||
doins share/{blackmagicraw.xml,resolve.xml}
|
|
||||||
|
|
||||||
diropts -m 0777
|
|
||||||
keepdir "${PKG_HOME}/"{configs,DolbyVision,easyDCP,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT}
|
|
||||||
|
|
||||||
keepdir "/var/BlackmagicDesign/DaVinci Resolve"
|
|
||||||
|
|
||||||
# Install desktop shortcut
|
|
||||||
newmenu share/DaVinciControlPanelsSetup.desktop com.blackmagicdesign.resolve-Panels.desktop
|
|
||||||
newmenu share/DaVinciResolve.desktop com.blackmagicdesign.resolve.desktop
|
|
||||||
newmenu share/DaVinciResolveCaptureLogs.desktop com.blackmagicdesign.resolve-CaptureLogs.desktop
|
|
||||||
newmenu share/blackmagicraw-player.desktop com.blackmagicdesign.rawplayer.desktop
|
|
||||||
newmenu share/blackmagicraw-speedtest.desktop com.blackmagicdesign.rawspeedtest.desktop
|
|
||||||
|
|
||||||
newmenu "${FILESDIR}"/defaults.list com.blackmagicdesign.list
|
|
||||||
|
|
||||||
# Installing Application icons
|
|
||||||
local res
|
|
||||||
for res in 64 128; do
|
|
||||||
newicon -s ${res} graphics/DV_Resolve.png DaVinci-Resolve.png
|
|
||||||
newicon -s ${res} graphics/DV_ResolveProj.png DaVinci-ResolveProj.png
|
|
||||||
newicon -s ${res} graphics/DV_ServerAccess.png DaVinci-ResolveDbKey.png
|
|
||||||
done
|
|
||||||
|
|
||||||
for res in 48 256; do
|
|
||||||
newicon -s ${res} graphics/blackmagicraw-speedtest_${res}x${res}_apps.png blackmagicraw-speedtest.png
|
|
||||||
newicon -s ${res} graphics/blackmagicraw-player_${res}x${res}_apps.png blackmagicraw-player.png
|
|
||||||
newicon -s ${res} -c mimetypes graphics/application-x-braw-clip_${res}x${res}_mimetypes.png application-x-braw-clip
|
|
||||||
done
|
|
||||||
|
|
||||||
for res in 64 128; do
|
|
||||||
newicon -s ${res} -c mimetypes graphics/DV_ResolveBin.png application-x-resolvebin
|
|
||||||
newicon -s ${res} -c mimetypes graphics/DV_ResolveProj.png application-x-resolveproj
|
|
||||||
newicon -s ${res} -c mimetypes graphics/DV_ResolveTimeline.png application-x-resolvetimeline
|
|
||||||
newicon -s ${res} -c mimetypes graphics/DV_ServerAccess.png application-x-resolvedbkey
|
|
||||||
newicon -s ${res} -c mimetypes graphics/DV_TemplateBundle.png application-x-resolvetemplatebundle
|
|
||||||
done
|
|
||||||
|
|
||||||
# create configuration for revdep-rebuild
|
|
||||||
echo "SEARCH_DIRS=\"${PKG_HOME}\"" > "${T}/80${PN}" || die
|
|
||||||
echo "LD_LIBRARY_MASK=\"libsonyxavcenc.so\"" >> "${T}/80${PN}" || die
|
|
||||||
insinto "/etc/revdep-rebuild"
|
|
||||||
doins "${T}/80${PN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
xdg_pkg_preinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
udev_reload
|
|
||||||
xdg_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
udev_reload
|
|
||||||
xdg_pkg_postrm
|
|
||||||
}
|
|
@ -7,7 +7,7 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
inherit check-reqs desktop udev xdg
|
inherit check-reqs desktop udev xdg
|
||||||
|
|
||||||
PKG_NAME="DaVinci_Resolve_Studio_19.0b2_Linux"
|
PKG_NAME="DaVinci_Resolve_Studio_19.0b5_Linux"
|
||||||
PKG_HOME="/opt/resolve"
|
PKG_HOME="/opt/resolve"
|
||||||
PKG_MOUNT="squashfs-root"
|
PKG_MOUNT="squashfs-root"
|
||||||
|
|
||||||
@ -82,12 +82,8 @@ DEPEND="
|
|||||||
dev-qt/qtvirtualkeyboard:5
|
dev-qt/qtvirtualkeyboard:5
|
||||||
gnome-base/librsvg
|
gnome-base/librsvg
|
||||||
media-gfx/graphite2
|
media-gfx/graphite2
|
||||||
media-libs/flac
|
|
||||||
media-libs/harfbuzz
|
media-libs/harfbuzz
|
||||||
media-libs/libpng-compat:1.2
|
media-libs/libpng-compat:1.2
|
||||||
media-libs/libpulse
|
|
||||||
media-libs/libvorbis
|
|
||||||
media-libs/opus
|
|
||||||
net-dns/libidn2
|
net-dns/libidn2
|
||||||
net-libs/nghttp2
|
net-libs/nghttp2
|
||||||
sys-apps/dbus
|
sys-apps/dbus
|
||||||
@ -148,12 +144,12 @@ include_dir() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_pretend() {
|
pkg_pretend() {
|
||||||
CHECKREQS_DISK_BUILD="20G"
|
CHECKREQS_DISK_BUILD="24G"
|
||||||
|
|
||||||
check-reqs_pkg_pretend
|
check-reqs_pkg_pretend
|
||||||
}
|
}
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
CHECKREQS_DISK_BUILD="20G"
|
CHECKREQS_DISK_BUILD="24G"
|
||||||
|
|
||||||
check-reqs_pkg_pretend
|
check-reqs_pkg_pretend
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user