Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 718070 | Differences between
and this patch

Collapse All | Expand All

(-)makeresolvedeb_1.6.0_multi.sh (-13 / +13 lines)
Lines 151-158 Link Here
151
    copy_object ${UNPACK_DIR}/libs/libBlackmagicRawAPI.so ${RESOLVE_BASE_DIR}/bin/
151
    copy_object ${UNPACK_DIR}/libs/libBlackmagicRawAPI.so ${RESOLVE_BASE_DIR}/bin/
152
152
153
    # Install panel API library
153
    # Install panel API library
154
    create_directory ${DEB_DIR}/usr/lib/
154
    create_directory ${DEB_DIR}/usr/#LIBDIR#/
155
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib/ libDaVinciPanelAPI.so
155
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
156
156
157
    # Add postinst commands
157
    # Add postinst commands
158
    cat >> ${DEB_DIR}/DEBIAN/postinst <<EOF
158
    cat >> ${DEB_DIR}/DEBIAN/postinst <<EOF
Lines 208-215 Link Here
208
    copy_object ${UNPACK_DIR}/share/default_cm_config.bin ${RESOLVE_BASE_DIR}/share/
208
    copy_object ${UNPACK_DIR}/share/default_cm_config.bin ${RESOLVE_BASE_DIR}/share/
209
209
210
    # Extract panel API library
210
    # Extract panel API library
211
    create_directory ${DEB_DIR}/usr/lib
211
    create_directory ${DEB_DIR}/usr/#LIBDIR#/
212
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libDaVinciPanelAPI.so
212
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
213
213
214
    # BlackmagicRawAPI fixes
214
    # BlackmagicRawAPI fixes
215
    create_directory ${RESOLVE_BASE_DIR}/bin/BlackmagicRawAPI/
215
    create_directory ${RESOLVE_BASE_DIR}/bin/BlackmagicRawAPI/
Lines 271-279 Link Here
271
    copy_object ${UNPACK_DIR}/share/default_cm_config.bin ${RESOLVE_BASE_DIR}/share/
271
    copy_object ${UNPACK_DIR}/share/default_cm_config.bin ${RESOLVE_BASE_DIR}/share/
272
272
273
    # Extract panel API library
273
    # Extract panel API library
274
    create_directory ${DEB_DIR}/usr/lib
274
    create_directory ${DEB_DIR}/usr/#LIBDIR#/
275
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libDaVinciPanelAPI.so
275
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
276
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libFairlightPanelAPI.so
276
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libFairlightPanelAPI.so
277
277
278
    # BlackmagicRawAPI fixes for 17.0 & 17.1
278
    # BlackmagicRawAPI fixes for 17.0 & 17.1
279
    if [[ "$RESOLVE_VERSION" == 17.0* ]] || [[ "$RESOLVE_VERSION" == 17.1* ]];
279
    if [[ "$RESOLVE_VERSION" == 17.0* ]] || [[ "$RESOLVE_VERSION" == 17.1* ]];
Lines 333-341 Link Here
333
    fi
333
    fi
334
    
334
    
335
    # Extract panel API library
335
    # Extract panel API library
336
    create_directory ${DEB_DIR}/usr/lib
336
    create_directory ${DEB_DIR}/usr/#LIBDIR#/
337
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libDaVinciPanelAPI.so
337
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
338
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib libFairlightPanelAPI.so
338
    extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libFairlightPanelAPI.so
339
339
340
    # Create common data dir
340
    # Create common data dir
341
    create_directory ${DEB_DIR}/var/BlackmagicDesign/DaVinci\ Resolve
341
    create_directory ${DEB_DIR}/var/BlackmagicDesign/DaVinci\ Resolve
Lines 511-517 Link Here
511
	echo "[ERROR] DaVinci Resolve installer archive is not executable"
511
	echo "[ERROR] DaVinci Resolve installer archive is not executable"
512
	exit 1
512
	exit 1
513
    fi
513
    fi
514
    NUMEXTRACT=$(./${INSTALLER_ARCHIVE} -i -y -n -C ${UNPACK_DIR} | grep "^Copied " -c)
514
    NUMEXTRACT=$(./${INSTALLER_ARCHIVE} -i -y -n -a -C ${UNPACK_DIR} | grep "^Copied " -c)
515
    echo "Found ${NUMEXTRACT} objects"
515
    echo "Found ${NUMEXTRACT} objects"
516
    if [[ -z "$(ls -A ${UNPACK_DIR})" ]];
516
    if [[ -z "$(ls -A ${UNPACK_DIR})" ]];
517
    then
517
    then
Lines 620-627 Link Here
620
620
621
# Verify that we have the commands we need
621
# Verify that we have the commands we need
622
check_command tar
622
check_command tar
623
check_command fakeroot
623
#check_command fakeroot
624
check_command dpkg-deb
624
#check_command dpkg-deb
625
echo
625
echo
626
626
627
# Create destination directories
627
# Create destination directories

Return to bug 718070