Skip to content

Commit

Permalink
v9.3 (#7008)
Browse files Browse the repository at this point in the history
- DietPi-Software | SABnzbd: Skip obsolete dependencies on ARMv6/7 Bookworm systems, since piwheels does now support Bookworm/Python 3.11
  • Loading branch information
MichaIng authored Apr 8, 2024
1 parent ce4fd3c commit f58e71b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6998,7 +6998,7 @@ _EOF_
(( $G_HW_ARCH == 10 )) && arch='amd64'

# Grab latest package URL
local fallback_url="https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1711624004_$arch.deb"
local fallback_url="https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1712473975_$arch.deb"
Download_Install "$(curl -sSf 'https://raw.githubusercontent.com/LMS-Community/lms-server-repository/master/stable.xml' | grep -om1 "https://[^\"]*_$arch.deb")"
G_EXEC systemctl stop logitechmediaserver
Remove_SysV logitechmediaserver
Expand Down Expand Up @@ -9172,20 +9172,15 @@ _EOF_
then
# APT deps
aDEPS=('par2' 'p7zip-full')
# - ARMv6/7 on Bookworm + RISC-V: gcc and libffi-dev for cffi; pkg-config, libssl-dev and Rust for cryptography, g++ for sabctools and ujson
if (( $G_DISTRO > 6 && $G_HW_ARCH < 3 || $G_HW_ARCH == 11 ))
# - RISC-V: gcc and libffi-dev for cffi; pkg-config, libssl-dev and Rust for cryptography, g++ for sabctools and ujson
if (( $G_HW_ARCH == 11 ))
then
aDEPS+=('g++' 'libffi-dev' 'libssl-dev' 'pkg-config')
G_EXEC curl -sSf 'https://sh.rustup.rs/' -o rustup-init.sh
G_EXEC chmod +x rustup-init.sh
G_EXEC_OUTPUT=1 G_EXEC ./rustup-init.sh -y --profile minimal
G_EXEC rm rustup-init.sh
export PATH="/root/.cargo/bin:$PATH"

# - ARMv6/7 temporary workaround: https://github.com/piwheels/packages/issues/358
elif (( $G_HW_ARCH < 3 ))
then
aDEPS+=('g++')
fi

Download_Install 'https://github.com/sabnzbd/sabnzbd/archive/master.tar.gz'
Expand Down

0 comments on commit f58e71b

Please sign in to comment.