Skip to content

Commit

Permalink
v2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
userdocs committed May 14, 2024
1 parent f5bc1b2 commit bd48481
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### v2.0.9 - 14/05/2024

Change default c++ standard used for newer build combinations from 23 to 20.

### v2.0.8 - 12-04-2024

Fixed a regression with `-o` where part the code was left in and duplicated after introducing a check for cross compilation, causing the positional parameters to be shifted twice, breaking things.
Expand Down
8 changes: 5 additions & 3 deletions qbittorrent-nox-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#################################################################################################################################################
# Script version = Major minor patch
#################################################################################################################################################
script_version="2.0.8"
script_version="2.0.9"
#################################################################################################################################################
# Set some script features - https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
#################################################################################################################################################
Expand Down Expand Up @@ -470,7 +470,7 @@ _qbittorrent_std_cons() {
}

_set_cxx_standard() {
[[ $(_qt_std_cons) == "yes" && $(_libtorrent_std_cons) == "yes" && $(_qbittorrent_std_cons) == "yes" ]] && qbt_standard="23" qbt_cxx_standard="c++${qbt_standard}"
[[ $(_qt_std_cons) == "yes" && $(_libtorrent_std_cons) == "yes" && $(_qbittorrent_std_cons) == "yes" ]] && qbt_standard="20" qbt_cxx_standard="c++${qbt_standard}"
}

#######################################################################################################################################################
Expand Down Expand Up @@ -802,8 +802,10 @@ _set_module_urls() {
github_tag[cmake_ninja]="$(_git_git ls-remote -q -t --refs "${github_url[cmake_ninja]}" | awk '{sub("refs/tags/", ""); print $2 }' | awk '!/^$/' | sort -rV | head -n 1)"
if [[ "${os_version_codename}" =~ ^(bullseye|focal)$ ]]; then
github_tag[glibc]="glibc-2.31"
else # "$(_git_git ls-remote -q -t --refs https://sourceware.org/git/glibc.git | awk '/\/tags\/glibc-[0-9]\.[0-9]{2}$/{sub("refs/tags/", "");sub("(.*)(-[^0-9].*)(.*)", ""); print $2 }' | awk '!/^$/' | sort -rV | head -n 1)"
elif [[ "${os_version_codename}" =~ ^(bookworm|jammy)$ ]]; then
github_tag[glibc]="glibc-2.38"
else # "$(_git_git ls-remote -q -t --refs https://sourceware.org/git/glibc.git | awk '/\/tags\/glibc-[0-9]\.[0-9]{2}$/{sub("refs/tags/", "");sub("(.*)(-[^0-9].*)(.*)", ""); print $2 }' | awk '!/^$/' | sort -rV | head -n 1)"
github_tag[glibc]="glibc-2.39"
fi
else
github_tag[ninja]="$(_git_git ls-remote -q -t --refs "${github_url[ninja]}" | awk '/v/{sub("refs/tags/", "");sub("(.*)(-[^0-9].*)(.*)", ""); print $2 }' | awk '!/^$/' | sort -rV | head -n 1)"
Expand Down

0 comments on commit bd48481

Please sign in to comment.