Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
7cef9b77
Commit
7cef9b77
authored
Apr 06, 2024
by
Иван Мажукин
Committed by
Vitaly Lipatov
Apr 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack, repack: add Davinci-resolve
parent
695fba55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
davinci-resolve.sh
pack.d/davinci-resolve.sh
+8
-6
davinci-resolve.sh
repack.d/davinci-resolve.sh
+16
-0
No files found.
pack.d/davinci-resolve.sh
View file @
7cef9b77
...
...
@@ -8,19 +8,15 @@ PRODUCT=davinci-resolve
# DaVinci_Resolve_18.6.5_Linux.run
BASENAME
=
$(
basename
$1
.run
)
VERSION
=
$(
echo
$BASENAME
|
sed
-e
's|DaVinci_Resolve_||'
|
sed
-e
's|_Linux||'
)
VERSION
=
$(
echo
$BASENAME
|
sed
-e
's|DaVinci_Resolve_||'
-e
's|_Linux||'
)
mkdir
-p
opt/davinci-resolve
$1
--appimage-extract
&> /dev/null
mv
-v
squashfs-root/
*
opt/davinci-resolve/
# fix for libpango.so error
# mv opt/davinci-resolve/libs/libc++.so.1 opt/davinci-resolve/libs/libc++.so.1.orig
# mv opt/davinci-resolve/libs/libglib-2.0.so.0 opt/davinci-resolve/libs/libglib-2.0.so.0.orig
install
-Dm0644
opt/davinci-resolve/share/default-config.dat
-t
opt/
$PRODUCT
/configs
install
-Dm0644
opt/davinci-resolve/share/log-conf.xml
-t
opt/
$PRODUCT
}
/configs
install
-Dm0644
opt/davinci-resolve/share/log-conf.xml
-t
opt/
$PRODUCT
/configs
install
-Dm0644
opt/davinci-resolve/share/default_cm_config.bin
-t
opt/
$PRODUCT
/DolbyVision
install
-Dm0644
opt/davinci-resolve/share/
*
.desktop
-t
usr/share/applications
...
...
@@ -34,7 +30,13 @@ install -Dm0644 opt/davinci-resolve/share/etc/udev/rules.d/99-BlackmagicDevices.
install
-Dm0644
opt/davinci-resolve/share/etc/udev/rules.d/99-ResolveKeyboardHID.rules
-t
usr/lib/udev/rules.d
# install -Dm0644 opt/davinci-resolve/share/etc/udev/rules.d/99-DavinciPanel.rules -t usr/lib/udev/rules.d
echo
"StartupWMClass=resolve"
>>
usr/share/DaVinciResolve.desktop
subst
"s|RESOLVE_INSTALL_LOCATION|/opt/davinci-resolve|"
usr/share/applications/
*
.desktop
subst
"s|RESOLVE_INSTALL_LOCATION|/opt/davinci-resolve|"
usr/share/desktop-directories/
*
# fix for libpango.so error too
rm
-v
opt/davinci-resolve/libs/libglib-2.0.so.0
# ln -s /usr/lib/libglib-2.0.so.0 opt/davinci-resolve/libs/libglib-2.0.so.0
PKGNAME
=
$PRODUCT
-
$VERSION
...
...
repack.d/davinci-resolve.sh
0 → 100755
View file @
7cef9b77
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
ignore_lib_requires libstdc++-libc6.2-2.so.3 libstdc++.so.5
add_libs_requires
add_bin_exec_command davinci-resolve
"
$PRODUCTDIR
/bin/resolve"
add_bin_exec_command blackmagicrawplayer
"
$PRODUCTDIR
/BlackmagicRAWPlayer/BlackmagicRAWPlayer"
add_bin_exec_command blackmagicrawspeedtest
"
$PRODUCTDIR
/BlackmagicRAWSpeedTest/BlackmagicRAWSpeedTest"
add_bin_exec_command davinci_control_panels_setup
"
$PRODUCTDIR
/DaVinci Control Panels Setup/DaVinci Control Panels Setup"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment