Kaynağa Gözat

Add new sdbus package support

bryan 2 hafta önce
ebeveyn
işleme
8b70653b63
3 değiştirilmiş dosya ile 22 ekleme ve 8 silme
  1. 11 1
      README.bbcode
  2. 7 5
      README.md
  3. 4 2
      installJRMC

+ 11 - 1
README.bbcode

@@ -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]

+ 7 - 5
README.md

@@ -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.)
@@ -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)
+
+Find `installJRMC` useful? [Buy me a coffee with Paypal!](https://paypal.me/bryanroessler)
+
+[↓ ↓ ↓ Bitcoin ↓ ↓ ↓](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)
 
-Did you find a bug? [Let me know on Interact!](https://yabb.jriver.com/interact/index.php/topic,141168.0.html)
+[![Bitcoin](https://repos.bryanroessler.com/files/bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a.png)](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)

+ 4 - 2
installJRMC

@@ -21,7 +21,7 @@
 # shellcheck disable=SC2317
 shopt -s extglob
 
-declare -g SCRIPT_VERSION="1.34.1"
+declare -g SCRIPT_VERSION="1.34.2-dev"
 declare -g MC_VERSION="34.0.31" # do find all replace
 declare -g MC_REPO="bookworm" # should match the MC_VERSION
 declare -g BOARD_ID="89.0" # MC34
@@ -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-c++}")
       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'