2022-08-12 15:06:05 +02:00
|
|
|
--- makeresolvedeb_1.6.0_multi.sh 2022-04-19 14:20:47.000000000 +0200
|
|
|
|
+++ makeresolvedeb.sh 2022-08-12 14:12:15.163328371 +0200
|
2022-02-23 21:02:48 +01:00
|
|
|
@@ -151,8 +151,8 @@
|
|
|
|
copy_object ${UNPACK_DIR}/libs/libBlackmagicRawAPI.so ${RESOLVE_BASE_DIR}/bin/
|
|
|
|
|
|
|
|
# Install panel API library
|
|
|
|
- create_directory ${DEB_DIR}/usr/lib/
|
|
|
|
- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib/ libDaVinciPanelAPI.so
|
|
|
|
+ create_directory ${DEB_DIR}/usr/#LIBDIR#/
|
|
|
|
+ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
|
|
|
|
|
2022-08-12 15:06:05 +02:00
|
|
|
# Add postinst commands
|
|
|
|
cat >> ${DEB_DIR}/DEBIAN/postinst <<EOF
|
|
|
|
@@ -208,8 +208,8 @@
|
2022-02-23 21:02:48 +01:00
|
|
|
copy_object ${UNPACK_DIR}/share/default_cm_config.bin ${RESOLVE_BASE_DIR}/share/
|
|
|
|
|
|
|
|
# Extract panel API library
|
|
|
|
- create_directory ${DEB_DIR}/usr/lib
|
|
|
|
- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libDaVinciPanelAPI.so
|
|
|
|
+ create_directory ${DEB_DIR}/usr/#LIBDIR#/
|
|
|
|
+ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
|
|
|
|
|
|
|
|
# BlackmagicRawAPI fixes
|
|
|
|
create_directory ${RESOLVE_BASE_DIR}/bin/BlackmagicRawAPI/
|
2022-08-12 15:06:05 +02:00
|
|
|
@@ -271,9 +271,9 @@
|
2022-02-23 21:02:48 +01:00
|
|
|
copy_object ${UNPACK_DIR}/share/default_cm_config.bin ${RESOLVE_BASE_DIR}/share/
|
|
|
|
|
|
|
|
# Extract panel API library
|
|
|
|
- create_directory ${DEB_DIR}/usr/lib
|
|
|
|
- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libDaVinciPanelAPI.so
|
|
|
|
- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libFairlightPanelAPI.so
|
|
|
|
+ create_directory ${DEB_DIR}/usr/#LIBDIR#/
|
|
|
|
+ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
|
|
|
|
+ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libFairlightPanelAPI.so
|
|
|
|
|
|
|
|
# BlackmagicRawAPI fixes for 17.0 & 17.1
|
|
|
|
if [[ "$RESOLVE_VERSION" == 17.0* ]] || [[ "$RESOLVE_VERSION" == 17.1* ]];
|
2022-08-12 15:06:05 +02:00
|
|
|
@@ -333,9 +333,9 @@
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Extract panel API library
|
|
|
|
- create_directory ${DEB_DIR}/usr/lib
|
|
|
|
- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libDaVinciPanelAPI.so
|
|
|
|
- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libFairlightPanelAPI.so
|
|
|
|
+ create_directory ${DEB_DIR}/usr/#LIBDIR#/
|
|
|
|
+ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
|
|
|
|
+ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libFairlightPanelAPI.so
|
|
|
|
|
|
|
|
# Create common data dir
|
|
|
|
create_directory ${DEB_DIR}/var/BlackmagicDesign/DaVinci\ Resolve
|
|
|
|
@@ -511,7 +511,7 @@
|
2022-02-23 21:02:48 +01:00
|
|
|
echo "[ERROR] DaVinci Resolve installer archive is not executable"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
- NUMEXTRACT=$(./${INSTALLER_ARCHIVE} -i -y -n -C ${UNPACK_DIR} | grep "^Copied " -c)
|
|
|
|
+ NUMEXTRACT=$(./${INSTALLER_ARCHIVE} -i -y -n -a -C ${UNPACK_DIR} | grep "^Copied " -c)
|
|
|
|
echo "Found ${NUMEXTRACT} objects"
|
|
|
|
if [[ -z "$(ls -A ${UNPACK_DIR})" ]];
|
|
|
|
then
|
2022-08-12 15:06:05 +02:00
|
|
|
@@ -620,8 +620,8 @@
|
2022-02-23 21:02:48 +01:00
|
|
|
|
|
|
|
# Verify that we have the commands we need
|
|
|
|
check_command tar
|
|
|
|
-check_command fakeroot
|
|
|
|
-check_command dpkg-deb
|
|
|
|
+#check_command fakeroot
|
|
|
|
+#check_command dpkg-deb
|
|
|
|
echo
|
|
|
|
|
|
|
|
# Create destination directories
|