3 Commits

Author SHA1 Message Date
a2785cec43 1.34.2 release 2025-06-16 22:52:06 -04:00
a6499ee5b8 Fix sdbus package name 2025-06-16 22:41:24 -04:00
8b70653b63 Add new sdbus package support 2025-06-16 22:27:08 -04:00
3 changed files with 30 additions and 16 deletions

View File

@@ -31,7 +31,7 @@ $ installJRMC --help
--compat
Build/install MC without minimum dependency version requirements
--mcversion VERSION
Specify the MC version, ex. "33", "34.0.31", or "34.0.31-1" (default: latest)
Specify the MC version, ex. "33", "34.0.36", or "34.0.36-1" (default: latest)
--arch ARCH
Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host architecture)
--mcrepo REPO
@@ -66,7 +66,7 @@ $ installJRMC --help
--help, -h
Print help dialog and exit
--uninstall, -u
Uninstall JRiver MC, service files, and firewall rules (does not remove library or media files)
Uninstall JRiver MC, service files, firewall rules, etc.
[/code]
[size=18pt]Services[/size]
@@ -108,6 +108,16 @@ Multiple services (but not [tt]--service-types[/tt]) can be installed at one tim
installJRMC automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using firewall-cmd or ufw.
[size=18pt]Other Nicities[/size]
[list]
[*]Automatically updates [tt]installJRMC[/tt] to the latest release
[*]Activates external third-party repositories for improved media playback (hardware decoding, etc.)
[*]Adds temporary legacy repositories to provide deprecated libraries
[*]Links non-standard SSL certs
[*]Disables BTRFS CoW for MC database directories
[*]Activates MC if a valid license file is found in common locations
[/list]
[size=18pt]Examples[/size]
[code]installJRMC[/code]
@@ -118,8 +128,8 @@ Install the latest version of MC33 from the best available repository with debug
Install a more widely-compatible version of the latest MC version.
[code]installJRMC --install repo --service jriver-mediacenter --service-type user[/code]
Install MC from the repository and start/enable jriver-mediacenter.service as a user service.
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 34.0.31[/code]
Build and install an MC 34.0.31 comptability RPM locally and activate it using the /path/to/license.mjr
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 34.0.36[/code]
Build and install an MC 34.0.36 comptability RPM locally and activate it using the /path/to/license.mjr
[code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user.
[code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]

View File

@@ -28,7 +28,7 @@ $ installJRMC --help
--compat
Build/install MC without minimum dependency version requirements
--mcversion VERSION
Build or install a specific MC version, ex. "34.0.31" or "33" (default: latest)
Build or install a specific MC version, ex. "34.0.36" or "33" (default: latest)
--mcrepo REPO
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official)
--arch ARCH
@@ -106,9 +106,7 @@ Multiple services (but not `--service-types`) can be installed at one time using
**Note:** `ufw` is not installed by default on Debian but will be installed by `installJRMC`. To prevent SSH lock-out, Debian users that have not already enabled `ufw` will need to `sudo ufw enable` after running `installJRMC` and inspecting their configuration.
## Nicities
Depending on the distribution, `installJRMC` also performs the following tasks during MC installation:
## Other Nicities
* Automatically updates `installJRMC` to the latest release
* Activates external third-party repositories for improved media playback (hardware decoding, etc.)
@@ -135,9 +133,9 @@ Depending on the distribution, `installJRMC` also performs the following tasks d
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 34.0.31`
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 34.0.36`
Build and install an MC 34.0.31 compatibility RPM locally and activate it using the `/path/to/license.mjr`
Build and install an MC 34.0.36 compatibility RPM locally and activate it using the `/path/to/license.mjr`
* `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`
@@ -161,6 +159,10 @@ Depending on the distribution, `installJRMC` also performs the following tasks d
## Additional Info
Did you find `installJRMC` useful? [Buy me a coffee!](https://paypal.me/bryanroessler)
Find a bug? [Let me know on Interact!](https://yabb.jriver.com/interact/index.php/topic,141168.0.html)
Did you find a bug? [Let me know on Interact!](https://yabb.jriver.com/interact/index.php/topic,141168.0.html)
Find `installJRMC` useful? [Buy me a coffee with Paypal!](https://paypal.me/bryanroessler)
[↓ ↓ ↓ Bitcoin ↓ ↓ ↓](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)
[![Bitcoin](https://repos.bryanroessler.com/files/bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a.png)](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)

View File

@@ -21,10 +21,10 @@
# shellcheck disable=SC2317
shopt -s extglob
declare -g SCRIPT_VERSION="1.34.1"
declare -g MC_VERSION="34.0.31" # do find all replace
declare -g SCRIPT_VERSION="1.34.2"
declare -g MC_VERSION="34.0.36" # do find all replace
declare -g MC_REPO="bookworm" # should match the MC_VERSION
declare -g BOARD_ID="89.0" # MC34
declare -g BOARD_ID="89.0" # MC34 board ID
declare -gi UPDATE_SWITCH=1 # set to 0 to disable automatic self-update
declare -g SCRIPT_URL="https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC"
# declare -g SCRIPT_URL="https://raw.githubusercontent.com/cryobry/installJRMC/refs/heads/master/installJRMC"
@@ -823,6 +823,7 @@ build_rpm() {
requires=("${requires[@]/python/python3}")
requires=("${requires[@]/libwebkit2gtk-4.0*/webkit2gtk4.0}")
requires=("${requires[@]/libwebkit2gtk-4.1*/webkit2gtk4.1}")
requires=("${requires[@]/libsdbus-c++1/sdbus-cpp}")
recommends+=("mesa-va-drivers-freeworld|mesa-va-drivers")
recommends+=("mesa-vulkan-drivers-freeworld|mesa-vulkan-drivers")
recommends+=("mesa-vdpau-driver-freeworld|mesa-vdpau-driver")
@@ -849,6 +850,7 @@ build_rpm() {
requires=("${requires[@]/libwebkit2gtk-4.1*/libwebkit2gtk-4_1-0}")
for i in "${!requires[@]}"; do
[[ ${requires[$i]} == "mesa-vulkan-drivers" ]] && unset -v 'requires[i]'
[[ ${requires[$i]} == "libsdbus-c++1" ]] && unset -v 'requires[i]'
done
recommends+=(libvulkan_intel)
recommends+=(libvulkan_radeon)
@@ -1059,7 +1061,7 @@ install_mc_arch() {
arch=("$ARCH")
url="https://www.jriver.com/"
license=('custom')
depends=('alsa-lib' 'ca-certificates' 'gtk3' 'gcc-libs' 'libx11' 'libxext' 'libxcb' 'libxau' 'libxdmcp' 'util-linux' 'mesa-libgl' 'webkit2gtk')
depends=('alsa-lib' 'ca-certificates' 'gtk3' 'gcc-libs' 'libx11' 'libxext' 'libxcb' 'libxau' 'libxdmcp' 'util-linux' 'mesa-libgl' 'webkit2gtk' 'sdbus-cpp1')
optdepends=(
'mesa-libgl: nouveau video support'
'nvidia-libgl: nvidia video support'