Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sibelius 8 pkginfos
#!/bin/sh -eu
#
# Instructions:
#
# First run the Sibelius 7.5 sounds installer manually, which will unpack sample data as well as some metadata,
# all into a 'Sibelius Sounds' directory. SOUNDS_SRC in this script points to this directory by default, but
# alternatively one could back up the Sibelius Sounds directory to a server and then change SOUNDS_SRC to
# that location.
#
# Note that 'Sibelius Sounds' is the top-level directory, and it contains another directory within with
# the same name (alongside 'Libraries').
#
# No additional configuration of Sibelius 8 seems to be necessary to make it aware of this sounds package.
VERSION=7.5
NAME=SibeliusSounds75
REV_DOMAIN=org.my
SOUNDS_SRC='/Library/Application Support/Avid/Sibelius Sounds'
# Alternatively point to a location where we've already extracted the installed sounds
# SOUNDS_SRC='/Volumes/david$/Installers/Mac/CDA_Applications/Avid/Sibelius/Sibelius 7.5 sounds/Installed/Sibelius Sounds'
rm -rf pkgroot && mkdir -p "pkgroot/Library/Application Support/Avid"
cp -Rv "$SOUNDS_SRC" "pkgroot/Library/Application Support/Avid"
chmod -R 755 "pkgroot/Library/Application Support/Avid/Sibelius Sounds"
pkgbuild \
--root pkgroot \
--version $VERSION \
--identifier "$REV_DOMAIN.$NAME" \
"$NAME-$VERSION.pkg"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>testing</string>
<string>production</string>
</array>
<key>category</key>
<string>Music &amp; Audio</string>
<key>description</key>
<string></string>
<key>developer</key>
<string>Avid</string>
<key>display_name</key>
<string></string>
<key>installed_size</key>
<integer>1287606</integer>
<key>installer_choices_xml</key>
<array>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.avid.tmp.AppMan.pkg</string>
</dict>
</array>
<key>installer_item_hash</key>
<string>10e53dd85807ffe482cd8cdf69dc05e00db6c64a334cca1064c132eed906b19a</string>
<key>installer_item_location</key>
<string>apps/Avid/Sibelius/8/Sibelius_8_6_Mac_97510_-8.6.0.dmg</string>
<key>installer_item_size</key>
<integer>969679</integer>
<key>installs</key>
<array>
<dict>
<key>CFBundleIdentifier</key>
<string>com.avid.sibelius</string>
<key>CFBundleName</key>
<string>Sibelius</string>
<key>CFBundleShortVersionString</key>
<string>8.6.0</string>
<key>minosversion</key>
<string>10.6.0</string>
<key>path</key>
<string>/Applications/Sibelius.app</string>
<key>type</key>
<string>application</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</array>
<key>minimum_os_version</key>
<string>10.9.0</string>
<key>name</key>
<string>Sibelius8</string>
<key>receipts</key>
<array>
<dict>
<key>installed_size</key>
<integer>9990</integer>
<key>packageid</key>
<string>com.avid.pkg.sibelius.englishscores</string>
<key>version</key>
<string>2.5.0</string>
</dict>
<dict>
<key>installed_size</key>
<integer>1698</integer>
<key>packageid</key>
<string>com.avid.pkg.sibelius.fonts</string>
<key>version</key>
<string>2.5.0</string>
</dict>
<dict>
<key>installed_size</key>
<integer>1194</integer>
<key>packageid</key>
<string>com.avid.pkg.sibelius.rewire</string>
<key>version</key>
<string>2.6.3</string>
</dict>
<dict>
<key>installed_size</key>
<integer>932342</integer>
<key>packageid</key>
<string>com.avid.pkg.sibelius.app</string>
<key>version</key>
<string>8.0.0</string>
</dict>
</array>
<key>unattended_install</key>
<false/>
<key>unattended_uninstall</key>
<false/>
<key>uninstall_method</key>
<string>removepackages</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>8.6.0</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment