Update for MC32
This commit is contained in:
@@ -23,7 +23,7 @@ $ installJRMC --help
|
|||||||
--compat
|
--compat
|
||||||
Build/install MC without minimum dependency version requirements
|
Build/install MC without minimum dependency version requirements
|
||||||
--mcversion VERSION
|
--mcversion VERSION
|
||||||
Build or install a specific MC version, ex. "31.0.43" (default: latest version)
|
Build or install a specific MC version, ex. "32.0.6" (default: latest version)
|
||||||
--arch ARCH
|
--arch ARCH
|
||||||
Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture)
|
Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture)
|
||||||
--outputdir PATH
|
--outputdir PATH
|
||||||
@@ -112,9 +112,9 @@ Multiple services (but not `--service-types`) can be installed at one time using
|
|||||||
|
|
||||||
Install MC from the repository and start/enable `jriver-mediacenter.service` as a user service.
|
Install MC from the repository and start/enable `jriver-mediacenter.service` as a user service.
|
||||||
|
|
||||||
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 31.0.43`
|
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 32.0.6`
|
||||||
|
|
||||||
Build and install an MC 31.0.43 comptability RPM locally and activate it using the `/path/to/license.mjr`
|
Build and install an MC 32.0.6 comptability RPM locally and activate it using the `/path/to/license.mjr`
|
||||||
|
|
||||||
* `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`
|
* `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`
|
||||||
|
|
||||||
|
|||||||
@@ -16,10 +16,10 @@
|
|||||||
|
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
declare -g SCRIPTVERSION="1.0-dev"
|
declare -g SCRIPTVERSION="1.0"
|
||||||
declare -g BOARDURL="https://yabb.jriver.com/interact/index.php/board,80.0.html" # MC31
|
declare -g BOARDURL="https://yabb.jriver.com/interact/index.php/board,83.0.html" # MC32
|
||||||
declare -g DEBIANBASE="bullseye"
|
declare -g DEBIANBASE="bullseye"
|
||||||
declare -g MC_VERSION_HARDCODE="31.0.43" # Do find all replace
|
declare -g MC_VERSION_HARDCODE="32.0.6" # Do find all replace
|
||||||
|
|
||||||
printHelp() {
|
printHelp() {
|
||||||
debug "Running: ${FUNCNAME[0]}"
|
debug "Running: ${FUNCNAME[0]}"
|
||||||
@@ -753,6 +753,7 @@ buildRPM() {
|
|||||||
requires=("${requires[@]/libvulkan1/vulkan-loader}")
|
requires=("${requires[@]/libvulkan1/vulkan-loader}")
|
||||||
requires=("${requires[@]/libepoxy0/libepoxy}")
|
requires=("${requires[@]/libepoxy0/libepoxy}")
|
||||||
requires=("${requires[@]/python/python3}")
|
requires=("${requires[@]/python/python3}")
|
||||||
|
requires=("${requires[@]/libwebkit2gtk/webkit2gtk4.0}")
|
||||||
recommends+=(mesa-va-drivers-freeworld)
|
recommends+=(mesa-va-drivers-freeworld)
|
||||||
;;
|
;;
|
||||||
suse)
|
suse)
|
||||||
@@ -915,7 +916,7 @@ installMCGENERIC() {
|
|||||||
|
|
||||||
declare -a raw_files
|
declare -a raw_files
|
||||||
|
|
||||||
echo "Using raw installation method!"
|
echo "Using generic installation method!"
|
||||||
|
|
||||||
declare extract_dir && extract_dir="$(mktemp -d)"
|
declare extract_dir && extract_dir="$(mktemp -d)"
|
||||||
pushd "$extract_dir" &>/dev/null || return
|
pushd "$extract_dir" &>/dev/null || return
|
||||||
|
|||||||
Reference in New Issue
Block a user